rnd-20060420-1-src
[rocksndiamonds.git] / src / main.h
index 31740d333801224fea2464fbbcb7b57c4c8b874e..48f6561a4d52d2b15389cf297a833b72cfadba2d 100644 (file)
 #define GFX_ELEMENT(e)         (element_info[e].use_gfx_element ?      \
                                 element_info[e].gfx_element : e)
 
+/* !!! CHECK THIS !!! */
 #if 1
 #define TILE_GFX_ELEMENT(x, y)                                         \
                   (GfxElement[x][y] != EL_UNDEFINED &&                 \
 #define FONT_VALUE_1                   26
 #define FONT_VALUE_2                   27
 #define FONT_VALUE_OLD                 28
-#define FONT_LEVEL_NUMBER              29
-#define FONT_TAPE_RECORDER             30
-#define FONT_GAME_INFO                 31
+#define FONT_LEVEL_NUMBER_ACTIVE       29
+#define FONT_LEVEL_NUMBER              30
+#define FONT_TAPE_RECORDER             31
+#define FONT_GAME_INFO                 32
 
-#define NUM_FONTS                      32
+#define NUM_FONTS                      33
 #define NUM_INITIAL_FONTS              4
 
 /* values for game_status (must match special image configuration suffixes) */
@@ -2154,7 +2156,8 @@ struct GraphicInfo
   int step_offset;             /* optional step offset of toon animations */
   int step_delay;              /* optional step delay of toon animations */
 
-  int draw_x, draw_y;          /* optional offset for drawing fonts chars */
+  int draw_xoffset;            /* optional offset for drawing font chars */
+  int draw_yoffset;            /* optional offset for drawing font chars */
 
   int draw_masked;             /* optional setting for drawing envelope gfx */