Hex/src/affichage_plateau.h

21 lines
413 B
C

#ifndef _AFFICHAGE_PLATEAU_H_
#define _AFFICHAGE_PLATEAU_H_
#include <SDL/SDL.h>
#include "globals.h"
#define COLOR 32
void putPixel(SDL_Surface * surface, Uint16 x, Uint16 y, Uint32 color);
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_ */