X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=11e28ad6f93e28c250d4d32e42e55d5bc1a16106;hb=cacc5129ff29981490cb53d43aeca8264b7f176c;hp=97acf9340534e210dc596a1f3ac760c2b7637e19;hpb=2b783a2b7321f4a8d0b576a5e9a530c6ef320540;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 97acf934..11e28ad6 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -169,6 +169,12 @@ #define DRAW_GLOBAL_ANIM_STAGE_1 1 #define DRAW_GLOBAL_ANIM_STAGE_2 2 +/* values for drawing target for global border */ +#define DRAW_BORDER_TO_BACKBUFFER 0 +#define DRAW_BORDER_TO_SCREEN 1 +#define DRAW_BORDER_TO_FADE_SOURCE 2 +#define DRAW_BORDER_TO_FADE_TARGET 3 + /* values for move directions and special "button" key bitmasks */ #define MV_NONE 0 #define MV_LEFT (1 << MV_BIT_LEFT) @@ -703,7 +709,6 @@ struct ProgramInfo struct OptionInfo { - char *display_name; char *server_host; int server_port; @@ -811,6 +816,14 @@ struct GfxInfo Bitmap *background_bitmap; int background_bitmap_mask; + Bitmap *fade_bitmap_source; + Bitmap *fade_bitmap_target; + Bitmap *fade_bitmap_black; + + int fade_border_source_status; + int fade_border_target_status; + Bitmap *masked_border_bitmap_ptr; + #if USE_FINAL_SCREEN_BITMAP Bitmap *final_screen_bitmap; #endif