diff options
Diffstat (limited to 'src/include/graphic.h')
-rw-r--r-- | src/include/graphic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/graphic.h b/src/include/graphic.h index 7d7761e..5b59600 100644 --- a/src/include/graphic.h +++ b/src/include/graphic.h @@ -21,9 +21,9 @@ SDL_Surface * loadGif(char *filePath); int init(char *winCaption, gameConfig_t *conf, gameGraphics_t *gGraph); int paintTerrain(gameIni_t *gIni, gameRess_t *gRess, gameGraphics_t *gGraph); -int repaint(gameObjectsState_t *objStates, gameGraphSurfaces_t *srcSurfs, SDL_Rect *srcRect, SDL_Surface *dstSurf, SDL_Rect dstRect); +int repaint(gameObjectsState_t *objStates, gameGraphSurfaces_t *srcSurfs, SDL_Rect *srcRect, SDL_Surface *dstSurf); int findAndZSortObjects(gameObjectsState_t *objectsStat, SDL_Rect *offsetRect, gameObjectsState_t *objectsFound); -int paintObject(struct gameObjectState *obj, SDL_Rect *srcRect, SDL_Surface *dstSurf, SDL_Rect *dstRect); +int paintObject(struct gameObjectState *obj, SDL_Surface *dstSurf, SDL_Rect dstRect); int refresh(SDL_Surface *tmpSurf, SDL_Rect *srcRect, SDL_Surface *screen, SDL_Rect dstRect); #endif /*GRAPHIC_H*/ |