(d) == MV_DOWN ? "MV_DOWN" : "(various)")
#define ELEMENT_ACTIVE(e) (ActiveElement[e])
-
+#define BUTTON_ACTIVE(b) (ActiveButton[b])
#define FONT_ACTIVE(f) (ActiveFont[f])
#define EL_BD_DEFAULT (EL_FIRST_DUMMY + 22)
#define EL_SP_DEFAULT (EL_FIRST_DUMMY + 23)
#define EL_SB_DEFAULT (EL_FIRST_DUMMY + 24)
+#define EL_GRAPHIC_1 (EL_FIRST_DUMMY + 25)
+#define EL_GRAPHIC_2 (EL_FIRST_DUMMY + 26)
+#define EL_GRAPHIC_3 (EL_FIRST_DUMMY + 27)
+#define EL_GRAPHIC_4 (EL_FIRST_DUMMY + 28)
+#define EL_GRAPHIC_5 (EL_FIRST_DUMMY + 29)
+#define EL_GRAPHIC_6 (EL_FIRST_DUMMY + 30)
+#define EL_GRAPHIC_7 (EL_FIRST_DUMMY + 31)
+#define EL_GRAPHIC_8 (EL_FIRST_DUMMY + 32)
/* internal elements (only used for internal purposes like copying) */
-#define EL_FIRST_INTERNAL (EL_FIRST_DUMMY + 25)
+#define EL_FIRST_INTERNAL (EL_FIRST_DUMMY + 33)
#define EL_INTERNAL_CLIPBOARD_CUSTOM (EL_FIRST_INTERNAL + 0)
#define EL_INTERNAL_CLIPBOARD_CHANGE (EL_FIRST_INTERNAL + 1)
#define PROGRAM_VERSION_MAJOR 3
#define PROGRAM_VERSION_MINOR 2
#define PROGRAM_VERSION_PATCH 4
-#define PROGRAM_VERSION_BUILD 1
+#define PROGRAM_VERSION_BUILD 2
#define PROGRAM_TITLE_STRING "Rocks'n'Diamonds"
#define PROGRAM_AUTHOR_STRING "Holger Schemel"
struct BorderInfo
{
boolean draw_masked[NUM_SPECIAL_GFX_ARGS];
+ boolean draw_masked_when_fading;
};
struct MenuMainButtonInfo
float frames_per_second;
boolean fps_slowdown;
int fps_slowdown_factor;
+
+ /* global values for fading screens and masking borders */
+ int border_status;
+#if 0
+ int fading_status;
+ int fading_type;
+#endif
};
struct ElementChangeInfo
extern int GfxDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
extern int ActiveElement[MAX_NUM_ELEMENTS];
+extern int ActiveButton[NUM_IMAGE_FILES];
extern int ActiveFont[NUM_FONTS];
extern int lev_fieldx, lev_fieldy;