diff options
Diffstat (limited to 'src/include/graphic.h')
-rw-r--r-- | src/include/graphic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/graphic.h b/src/include/graphic.h index e8ce669..2e40301 100644 --- a/src/include/graphic.h +++ b/src/include/graphic.h @@ -4,6 +4,7 @@ #include "SDL/SDL.h" #include "data_ini.h" #include "data_ress.h" +#include "data_localgame.h" Uint32 getPixel(SDL_Surface *s, int x, int y); Uint32 getPixel8BitPalette(SDL_Surface *s, int x, int y); @@ -12,6 +13,6 @@ 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 * loadGif(char *filePath); -int paintTerrain(gameIni_t *gIni, gameRess_t *gRess, SDL_Surface **terrain, SDL_Surface **stencil); +int paintTerrain(gameIni_t *gIni, gameRess_t *gRess, gameGraphics_t *gGraph); #endif /*GRAPHIC_H*/ |