2016-04-06 14:29:07 +02:00
|
|
|
#ifndef _AFFICHAGE_PLATEAU_H_
|
|
|
|
#define _AFFICHAGE_PLATEAU_H_
|
|
|
|
|
|
|
|
#include <SDL/SDL.h>
|
|
|
|
|
2016-04-20 13:12:13 +02:00
|
|
|
#include "globals.h"
|
|
|
|
|
2016-04-06 14:29:07 +02:00
|
|
|
#define COLOR 32
|
|
|
|
|
2016-04-20 13:12:13 +02:00
|
|
|
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_ */
|