Hex/src/affichage_plateau.h

21 lines
413 B
C
Raw Normal View History

2016-04-06 14:29:07 +02:00
#ifndef _AFFICHAGE_PLATEAU_H_
#define _AFFICHAGE_PLATEAU_H_
#include <SDL/SDL.h>
#include "globals.h"
2016-04-06 14:29:07 +02:00
#define COLOR 32
void putPixel(SDL_Surface * surface, Uint16 x, Uint16 y, Uint32 color);
2016-04-06 14:29:07 +02:00
void Affiche_hexagon (plateau_t p, int x, int y, int state);
plateau_t init_plateau (SDL_Surface* window);
plateau_t actu_plateau (plateau_t p);
void free_plateau (plateau_t p);
#endif /* _AFFICHAGE_PLATEAU_H_ */