X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=290f0cb7827af8e501be7cf2c38e2114f96a1c7c;hp=cf49d86f8a935ef24ab42728517e29206bbc57b3;hb=8e4eb47925648cd84d134dfe05ca7fb30727dc24;hpb=c38790fcee093efb156366bb4a02dbde55085ca4 diff --git a/src/libgame/system.h b/src/libgame/system.h index cf49d86f..290f0cb7 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -352,6 +352,16 @@ #define STYLE_DEFAULT STYLE_NONE +// values for special global animation delay types +#define ANIM_DELAY_UNDEFINED -1 +#define ANIM_DELAY_NONE 0 +#define ANIM_DELAY_INIT 1 +#define ANIM_DELAY_ANIM 2 +#define ANIM_DELAY_POST 3 + +// values for special global animation delay actions +#define ANIM_DELAY_ACTION_NONE -1 + // values for special global animation events #define ANIM_EVENT_UNDEFINED -1 #define ANIM_EVENT_NONE 0 @@ -459,6 +469,7 @@ y >= gfx.ey && y < gfx.ey + gfx.eysize) // values for mouse cursor +#define CURSOR_UNDEFINED -1 #define CURSOR_DEFAULT 0 #define CURSOR_NONE 1 #define CURSOR_PLAYFIELD 2 @@ -1111,6 +1122,8 @@ struct GfxInfo void (*draw_tile_cursor_function)(int); int cursor_mode; + int cursor_mode_override; + int cursor_mode_final; int mouse_x, mouse_y; }; @@ -1844,6 +1857,7 @@ void OpenAudio(void); void CloseAudio(void); void SetAudioMode(boolean); +void InitEventFilter(EventFilter); boolean PendingEvent(void); void WaitEvent(Event *event); void PeekEvent(Event *event);