X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=39fd1dfc46670d109fe2c8f87b7b6e5aead853d9;hb=5f79070adb29e80f70763d4e37034c7e749a6817;hp=e429d2336a6c8406cb7ef38c0eab3cea22bafd93;hpb=a761d121263d681381a61087f110a9320626a8d0;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index e429d233..39fd1dfc 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -289,6 +289,7 @@ #define DRAW_GLOBAL_ANIM_STAGE_1 1 #define DRAW_GLOBAL_ANIM_STAGE_2 2 #define DRAW_GLOBAL_ANIM_STAGE_3 3 +#define DRAW_GLOBAL_ANIM_STAGE_RESTART 4 // values for drawing target (various functions) #define DRAW_TO_BACKBUFFER 0 @@ -437,6 +438,7 @@ #define STYLE_BLOCK (1 << 4) #define STYLE_PASSTHROUGH (1 << 5) #define STYLE_MULTIPLE_ACTIONS (1 << 6) +#define STYLE_CONSUME_CE_EVENT (1 << 7) #define STYLE_DEFAULT STYLE_NONE @@ -478,7 +480,8 @@ #define POS_LOWER 5 #define POS_BOTTOM 6 #define POS_ANY 7 -#define POS_LAST 8 +#define POS_CE 8 +#define POS_LAST 9 // values for text alignment #define ALIGN_LEFT (1 << 0) @@ -1241,6 +1244,7 @@ struct GfxInfo void (*draw_global_anim_function)(int, int); void (*draw_global_border_function)(int); void (*draw_tile_cursor_function)(int); + void (*draw_envelope_request_function)(int); int cursor_mode; int cursor_mode_override; @@ -1975,6 +1979,7 @@ void InitGfxDrawBusyAnimFunction(void (*draw_busy_anim_function)(boolean)); void InitGfxDrawGlobalAnimFunction(void (*draw_global_anim_function)(int, int)); void InitGfxDrawGlobalBorderFunction(void (*draw_global_border_function)(int)); void InitGfxDrawTileCursorFunction(void (*draw_tile_cursor_function)(int)); +void InitGfxDrawEnvelopeRequestFunction(void (*draw_envelope_request_function)(int)); void InitGfxCustomArtworkInfo(void); void InitGfxOtherSettings(void); void InitTileCursorInfo(void);