replaced function to draw graphic animation (MM engine)
[rocksndiamonds.git] / src / game_mm / mm_main.h
index b553a1f8756550e3a33807fb8c472ea6d0dc4de6..c156592278b40759e6d83f3a5697376cfa26a9e9 100644 (file)
@@ -254,6 +254,7 @@ extern int          num_element_info;
 #define EY                     (DY + 178)
 #define TILEX                  TILESIZE
 #define TILEY                  TILESIZE
+#define MINI_TILESIZE          (TILESIZE / 2)
 #define MINI_TILEX             (TILEX / 2)
 #define MINI_TILEY             (TILEY / 2)
 #define MICRO_TILEX            (TILEX / 4)
@@ -317,6 +318,8 @@ extern int          num_element_info;
 */
 /* "real" level elements */
 #define EL_MM_START            0
+#define EL_MM_START_1          EL_MM_START
+
 #define EL_EMPTY               0
 #define EL_MIRROR_START                1
 #define EL_MIRROR_00           (EL_MIRROR_START + 0)
@@ -451,6 +454,8 @@ extern int          num_element_info;
 #define EL_GRID_WOOD_END       EL_GRID_WOOD_03
 #define EL_FUEL_EMPTY          155
 
+#define EL_MM_END_1            155
+
 #define EL_CHAR_START          160
 #define EL_CHAR_ASCII0         (EL_CHAR_START-32)
 #define EL_CHAR_AUSRUF         (EL_CHAR_ASCII0+33)
@@ -490,8 +495,10 @@ extern int         num_element_info;
                                 (x) == CHAR_BYTE_UMLAUT_U ? EL_CHAR_UE : \
                                 EL_CHAR_A + (x) - 'A')
 
+#define EL_MM_START_2          240
+
 /* elements for "Deflektor" style levels */
-#define EL_DF_START            240
+#define EL_DF_START            EL_MM_START_2
 
 #define EL_DF_MIRROR_START     EL_DF_START
 #define EL_DF_MIRROR_00                (EL_DF_MIRROR_START + 0)
@@ -639,7 +646,8 @@ extern int          num_element_info;
 #define EL_DF_STEEL_WALL       429
 #define EL_DF_WOODEN_WALL      430
 
-#define EL_MM_END              430
+#define EL_MM_END_2            430
+#define EL_MM_END              EL_MM_END_2
 
 /* "real" (and therefore drawable) runtime elements */
 #define EL_EXIT_OPENING                500