X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.h;h=37fcb08bc6ca75734a5f16832f52554813a55bc7;hb=14089dac2cbe56e563863e1e5adb8847944fd262;hp=75eb0dc8f7860960edc5944ec03185bfe8cd6942;hpb=c12ae4bec59aed267be508426df06b948732daec;p=rocksndiamonds.git diff --git a/src/main.h b/src/main.h index 75eb0dc8..37fcb08b 100644 --- a/src/main.h +++ b/src/main.h @@ -33,7 +33,7 @@ #define IMG_EMPTY IMG_EMPTY_SPACE #define IMG_SP_EMPTY IMG_SP_EMPTY_SPACE #define IMG_CHAR_START IMG_CHAR_SPACE -#define IMG_GENERIC_START IMG_GENERIC_0 +#define IMG_CUSTOM_START IMG_CUSTOM_0 #define WIN_XSIZE 672 #define WIN_YSIZE 560 @@ -677,12 +677,12 @@ #define EL_UNUSED_358 358 #define EL_UNUSED_359 359 -#define EL_GENERIC_START 360 -#define EL_GENERIC_0 (EL_GENERIC_START + 0) -#define EL_GENERIC_31 (EL_GENERIC_START + 31) -#define EL_GENERIC_END (EL_GENERIC_START + 31) +#define EL_CUSTOM_START 360 +#define EL_CUSTOM_0 (EL_CUSTOM_START + 0) +#define EL_CUSTOM_31 (EL_CUSTOM_START + 127) +#define EL_CUSTOM_END (EL_CUSTOM_START + 127) -#define NUM_FILE_ELEMENTS 392 +#define NUM_FILE_ELEMENTS 488 /* "real" (and therefore drawable) runtime elements */ @@ -1427,7 +1427,7 @@ #define PROGRAM_VERSION_MAJOR 2 #define PROGRAM_VERSION_MINOR 2 #define PROGRAM_VERSION_PATCH 0 -#define PROGRAM_VERSION_STRING "2.2.0-rc1" +#define PROGRAM_VERSION_STRING "2.2.0rc2" #define PROGRAM_TITLE_STRING "Rocks'n'Diamonds" #define PROGRAM_AUTHOR_STRING "Holger Schemel" @@ -1654,6 +1654,11 @@ struct NewGraphicInfo int anim_delay; /* important: delay of 1 means "no delay"! */ int anim_mode; boolean anim_global_sync; + +#if defined(TARGET_X11_NATIVE) + Pixmap clip_mask; /* single-graphic-only clip mask for X11 */ + GC clip_gc; /* single-graphic-only clip gc for X11 */ +#endif }; extern GC tile_clip_gc;