diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/data_game.h | 3 | ||||
-rw-r--r-- | src/include/data_ress.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/data_game.h b/src/include/data_game.h index b89986d..c3d4266 100644 --- a/src/include/data_game.h +++ b/src/include/data_game.h @@ -11,6 +11,9 @@ typedef struct { int animate; /* Is currently animating ? */ int x,y; int absolute; /* 0 if level-based coords, 1 if camera-based */ + int onhovercursorid; + void (*onmousebuttonevent_proc)(Uint8 button, Uint8 state, void *userptr); + } renderItem_t; typedef struct { diff --git a/src/include/data_ress.h b/src/include/data_ress.h index 4f0ac6b..6a62003 100644 --- a/src/include/data_ress.h +++ b/src/include/data_ress.h @@ -8,7 +8,7 @@ typedef struct { SDL_Texture *t; SDL_Rect size; - int frames; /* Already in gIni->style->frames, but convenient here also */ + int frames; /* Already in gIni->style->frames or similar, but convenient here also */ } sprite_t; typedef struct { |