diff options
Diffstat (limited to 'src/include/graphic.h')
-rw-r--r-- | src/include/graphic.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/graphic.h b/src/include/graphic.h index 7941210..e8ce669 100644 --- a/src/include/graphic.h +++ b/src/include/graphic.h @@ -6,9 +6,12 @@ #include "data_ress.h" Uint32 getPixel(SDL_Surface *s, int x, int y); +Uint32 getPixel8BitPalette(SDL_Surface *s, int x, int y); +int isTransparent(SDL_Surface *s, int x, int y); + void putPixel(SDL_Surface *s, int x, int y, Uint32 p); SDL_Surface * createSurface(int width, int height); -SDL_Surface * loadGifIn24Bpp(char *filePath); -int makeTerrain(gameIni_t *gIni, gameRess_t *gRess, SDL_Surface **terrain, SDL_Surface **stencil); +SDL_Surface * loadGif(char *filePath); +int paintTerrain(gameIni_t *gIni, gameRess_t *gRess, SDL_Surface **terrain, SDL_Surface **stencil); #endif /*GRAPHIC_H*/ |