/* values for 'Elementeigenschaften2' */
#define EP_BIT_BELT (1 << 0)
-#define EP_BIT_BELT_SWITCH (1 << 1)
-#define EP_BIT_TUBE (1 << 2)
-#define EP_BIT_EM_SLIPPERY_WALL (1 << 3)
+#define EP_BIT_BELT_ACTIVE (1 << 1)
+#define EP_BIT_BELT_SWITCH (1 << 2)
+#define EP_BIT_TUBE (1 << 3)
+#define EP_BIT_EM_SLIPPERY_WALL (1 << 4)
#define IS_AMOEBALIVE(e) (Elementeigenschaften1[e] & EP_BIT_AMOEBALIVE)
#define IS_AMOEBOID(e) (Elementeigenschaften1[e] & EP_BIT_AMOEBOID)
#define IS_QUICK_GATE(e) (Elementeigenschaften1[e] & EP_BIT_QUICK_GATE)
#define IS_OVER_PLAYER(e) (Elementeigenschaften1[e] & EP_BIT_OVER_PLAYER)
#define IS_ACTIVE_BOMB(e) (Elementeigenschaften1[e] & EP_BIT_ACTIVE_BOMB)
+
#define IS_BELT(e) (Elementeigenschaften2[e] & EP_BIT_BELT)
+#define IS_BELT_ACTIVE(e) (Elementeigenschaften2[e] & EP_BIT_BELT_ACTIVE)
#define IS_BELT_SWITCH(e) (Elementeigenschaften2[e] & EP_BIT_BELT_SWITCH)
#define IS_TUBE(e) (Elementeigenschaften2[e] & EP_BIT_TUBE)
#define IS_EM_SLIPPERY_WALL(e) (Elementeigenschaften2[e] & EP_BIT_EM_SLIPPERY_WALL)
#define PIX_SP 5
#define PIX_DC 6
#define PIX_MORE 7
-#define PIX_FONT_BIG 8
+#define PIX_FONT_BIG 8
#define PIX_FONT_SMALL 9
#define PIX_FONT_MEDIUM 10
#define PIX_FONT_EM 11
/* "real" level elements */
#define EL_EMPTY_SPACE 0
#define EL_EMPTY EL_EMPTY_SPACE
-#define EL_SAND 1
-#define EL_WALL 2
-#define EL_WALL_CRUMBLED 3
-#define EL_ROCK 4
-#define EL_KEY 5
-#define EL_EMERALD 6
-#define EL_EXIT_CLOSED 7
-#define EL_PLAYER 8
+#define EL_SAND 1
+#define EL_WALL 2
+#define EL_WALL_CRUMBLED 3
+#define EL_ROCK 4
+#define EL_KEY_OBSOLETE 5 /* obsolete; mapped to EL_KEY1 */
+#define EL_EMERALD 6
+#define EL_EXIT_CLOSED 7
+#define EL_PLAYER_OBSOLETE 8 /* obsolete; mapped to EL_PLAYER1 */
#define EL_BUG 9
#define EL_SPACESHIP 10
#define EL_YAMYAM 11
#define EL_WALL_BD_DIAMOND 58
#define EL_WALL_EMERALD_YELLOW 59
#define EL_DARK_YAMYAM 60
-#define EL_MAGIC_WALL_BD_OFF 61
+#define EL_BD_MAGIC_WALL 61
#define EL_INVISIBLE_STEELWALL 62
#define EL_UNUSED_63 63
#define EL_DYNABOMB_NR 64
#define EL_DYNABOMB_SZ 65
#define EL_DYNABOMB_XL 66
-#define EL_SOKOBAN_OBJEKT 67
-#define EL_SOKOBAN_FELD_LEER 68
-#define EL_SOKOBAN_FELD_VOLL 69
-#define EL_BUTTERFLY_RIGHT 70
-#define EL_BUTTERFLY_UP 71
-#define EL_BUTTERFLY_LEFT 72
-#define EL_BUTTERFLY_DOWN 73
-#define EL_FIREFLY_RIGHT 74
-#define EL_FIREFLY_UP 75
-#define EL_FIREFLY_LEFT 76
-#define EL_FIREFLY_DOWN 77
-#define EL_BUTTERFLY_1 EL_BUTTERFLY_DOWN
-#define EL_BUTTERFLY_2 EL_BUTTERFLY_LEFT
-#define EL_BUTTERFLY_3 EL_BUTTERFLY_UP
-#define EL_BUTTERFLY_4 EL_BUTTERFLY_RIGHT
-#define EL_FIREFLY_1 EL_FIREFLY_LEFT
-#define EL_FIREFLY_2 EL_FIREFLY_DOWN
-#define EL_FIREFLY_3 EL_FIREFLY_RIGHT
-#define EL_FIREFLY_4 EL_FIREFLY_UP
-#define EL_BUTTERFLY 78
-#define EL_FIREFLY 79
+#define EL_SOKOBAN_OBJECT 67
+#define EL_SOKOBAN_FIELD_EMPTY 68
+#define EL_SOKOBAN_FIELD_FULL 69
+#define EL_BD_BUTTERFLY_RIGHT 70
+#define EL_BD_BUTTERFLY_UP 71
+#define EL_BD_BUTTERFLY_LEFT 72
+#define EL_BD_BUTTERFLY_DOWN 73
+#define EL_BD_FIREFLY_RIGHT 74
+#define EL_BD_FIREFLY_UP 75
+#define EL_BD_FIREFLY_LEFT 76
+#define EL_BD_FIREFLY_DOWN 77
+#define EL_BD_BUTTERFLY_1 EL_BD_BUTTERFLY_DOWN
+#define EL_BD_BUTTERFLY_2 EL_BD_BUTTERFLY_LEFT
+#define EL_BD_BUTTERFLY_3 EL_BD_BUTTERFLY_UP
+#define EL_BD_BUTTERFLY_4 EL_BD_BUTTERFLY_RIGHT
+#define EL_BD_FIREFLY_1 EL_BD_FIREFLY_LEFT
+#define EL_BD_FIREFLY_2 EL_BD_FIREFLY_DOWN
+#define EL_BD_FIREFLY_3 EL_BD_FIREFLY_RIGHT
+#define EL_BD_FIREFLY_4 EL_BD_FIREFLY_UP
+#define EL_BD_BUTTERFLY 78
+#define EL_BD_FIREFLY 79
#define EL_PLAYER1 80
#define EL_PLAYER2 81
#define EL_PLAYER3 82
#define EL_MOLE 110
#define EL_PENGUIN 111
#define EL_SATELLITE 112
-#define EL_ARROW_LEFT 113
-#define EL_ARROW_RIGHT 114
-#define EL_ARROW_UP 115
-#define EL_ARROW_DOWN 116
+#define EL_ARROW_BLUE_LEFT 113
+#define EL_ARROW_BLUE_RIGHT 114
+#define EL_ARROW_BLUE_UP 115
+#define EL_ARROW_BLUE_DOWN 116
#define EL_PIG 117
#define EL_DRAGON 118
#define EL_SP_PORT_X (EL_SP_START + 22)
#define EL_SP_PORT_XY (EL_SP_START + 23)
#define EL_SP_ELECTRON (EL_SP_START + 24)
-#define EL_SP_BUG (EL_SP_START + 25)
+#define EL_SP_BUGGY_BASE (EL_SP_START + 25)
#define EL_SP_CHIP_LEFT (EL_SP_START + 26)
#define EL_SP_CHIP_RIGHT (EL_SP_START + 27)
#define EL_SP_HARD_BASE1 (EL_SP_START + 28)
#define EL_MOLE_UP 313
#define EL_MOLE_DOWN 314
#define EL_STEELWALL_SLANTED 315
-#define EL_SAND_INVISIBLE 316
+#define EL_INVISIBLE_SAND 316
#define EL_DX_UNKNOWN_15 317
#define EL_DX_UNKNOWN_42 318
#define EL_UNUSED_319 319
#define EL_UNUSED_320 320
-#define EL_SHIELD_ACTIVE 321
+#define EL_SHIELD_DEADLY 321
#define EL_TIMEGATE_OPEN 322
#define EL_TIMEGATE_CLOSED 323
-#define EL_TIMEGATE_SWITCH_ON 324
-#define EL_TIMEGATE_SWITCH_OFF 325
+#define EL_TIMEGATE_SWITCH_ACTIVE 324
+#define EL_TIMEGATE_SWITCH 325
#define EL_BALLOON 326
#define EL_BALLOON_SEND_LEFT 327
#define EL_BALLOON_SEND_RIGHT 328
#define EL_BALLOON_SEND_UP 329
#define EL_BALLOON_SEND_DOWN 330
-#define EL_BALLOON_SEND_ANY 331
+#define EL_BALLOON_SEND_ANY_DIRECTION 331
#define EL_EMC_STEELWALL1 332
#define EL_EMC_STEELWALL2 333
#define EL_EMC_WALL7 342
#define EL_EMC_WALL8 343
-#define EL_TUBE_CROSS 344
+#define EL_TUBE_ALL 344
#define EL_TUBE_VERTICAL 345
#define EL_TUBE_HORIZONTAL 346
-#define EL_TUBE_VERT_LEFT 347
-#define EL_TUBE_VERT_RIGHT 348
-#define EL_TUBE_HORIZ_UP 349
-#define EL_TUBE_HORIZ_DOWN 350
+#define EL_TUBE_VERTICAL_LEFT 347
+#define EL_TUBE_VERTICAL_RIGHT 348
+#define EL_TUBE_HORIZONTAL_UP 349
+#define EL_TUBE_HORIZONTAL_DOWN 350
#define EL_TUBE_LEFT_UP 351
#define EL_TUBE_LEFT_DOWN 352
#define EL_TUBE_RIGHT_UP 353
#define EL_TUBE_RIGHT_DOWN 354
#define EL_SPRING 355
-#define EL_TRAP_INACTIVE 356
+#define EL_TRAP 356
#define EL_DX_SUPABOMB 357
#define NUM_FILE_ELEMENTS 358
/* "real" (and therefore drawable) runtime elements */
-#define EL_FIRST_RUNTIME NUM_FILE_ELEMENTS
-
-#define EL_MAGIC_WALL_EMPTY (EL_FIRST_RUNTIME + 0)
-#define EL_MAGIC_WALL_BD_EMPTY (EL_FIRST_RUNTIME + 1)
-#define EL_MAGIC_WALL_FULL (EL_FIRST_RUNTIME + 2)
-#define EL_MAGIC_WALL_BD_FULL (EL_FIRST_RUNTIME + 3)
-#define EL_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME + 4)
-#define EL_MAGIC_WALL_BD_DEAD (EL_FIRST_RUNTIME + 5)
-#define EL_AUSGANG_ACT (EL_FIRST_RUNTIME + 6)
-#define EL_SP_TERMINAL_ACTIVE (EL_FIRST_RUNTIME + 7)
-#define EL_SP_BUG_ACTIVE (EL_FIRST_RUNTIME + 8)
-#define EL_EM_KEY1 (EL_FIRST_RUNTIME + 9)
-#define EL_EM_KEY2 (EL_FIRST_RUNTIME + 10)
-#define EL_EM_KEY3 (EL_FIRST_RUNTIME + 11)
-#define EL_EM_KEY4 (EL_FIRST_RUNTIME + 12)
-#define EL_DYNABOMB_ACTIVE_1 (EL_FIRST_RUNTIME + 13)
-#define EL_DYNABOMB_ACTIVE_2 (EL_FIRST_RUNTIME + 14)
-#define EL_DYNABOMB_ACTIVE_3 (EL_FIRST_RUNTIME + 15)
-#define EL_DYNABOMB_ACTIVE_4 (EL_FIRST_RUNTIME + 16)
-#define EL_SWITCHGATE_OPENING (EL_FIRST_RUNTIME + 17)
-#define EL_SWITCHGATE_CLOSING (EL_FIRST_RUNTIME + 18)
-#define EL_TIMEGATE_OPENING (EL_FIRST_RUNTIME + 19)
-#define EL_TIMEGATE_CLOSING (EL_FIRST_RUNTIME + 20)
-#define EL_PEARL_BREAKING (EL_FIRST_RUNTIME + 21)
-#define EL_TRAP_ACTIVE (EL_FIRST_RUNTIME + 22)
-#define EL_SPRING_MOVING (EL_FIRST_RUNTIME + 23)
-#define EL_SP_MURPHY_CLONE (EL_FIRST_RUNTIME + 24)
-#define EL_QUICKSAND_EMPTYING (EL_FIRST_RUNTIME + 25)
-#define EL_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME + 26)
-#define EL_MAGIC_WALL_BD_EMPTYING (EL_FIRST_RUNTIME + 27)
-#define EL_AMOEBA_DRIPPING (EL_FIRST_RUNTIME + 28)
-
-#define NUM_RUNTIME_ELEMENTS (EL_FIRST_RUNTIME + 29)
+#define EL_FIRST_RUNTIME_REAL NUM_FILE_ELEMENTS
+
+#define EL_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 0)
+#define EL_BD_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 1)
+#define EL_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 2)
+#define EL_BD_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 3)
+#define EL_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 4)
+#define EL_BD_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 5)
+#define EL_EXIT_OPENING (EL_FIRST_RUNTIME_REAL + 6)
+#define EL_SP_TERMINAL_ACTIVE (EL_FIRST_RUNTIME_REAL + 7)
+#define EL_SP_BUGGY_BASE_ACTIVE (EL_FIRST_RUNTIME_REAL + 8)
+#define EL_EM_KEY1 (EL_FIRST_RUNTIME_REAL + 9)
+#define EL_EM_KEY2 (EL_FIRST_RUNTIME_REAL + 10)
+#define EL_EM_KEY3 (EL_FIRST_RUNTIME_REAL + 11)
+#define EL_EM_KEY4 (EL_FIRST_RUNTIME_REAL + 12)
+#define EL_DYNABOMB_PLAYER1_ACTIVE (EL_FIRST_RUNTIME_REAL + 13)
+#define EL_DYNABOMB_PLAYER2_ACTIVE (EL_FIRST_RUNTIME_REAL + 14)
+#define EL_DYNABOMB_PLAYER3_ACTIVE (EL_FIRST_RUNTIME_REAL + 15)
+#define EL_DYNABOMB_PLAYER4_ACTIVE (EL_FIRST_RUNTIME_REAL + 16)
+#define EL_SWITCHGATE_OPENING (EL_FIRST_RUNTIME_REAL + 17)
+#define EL_SWITCHGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 18)
+#define EL_TIMEGATE_OPENING (EL_FIRST_RUNTIME_REAL + 19)
+#define EL_TIMEGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 20)
+#define EL_PEARL_BREAKING (EL_FIRST_RUNTIME_REAL + 21)
+#define EL_TRAP_ACTIVE (EL_FIRST_RUNTIME_REAL + 22)
+#define EL_SPRING_MOVING (EL_FIRST_RUNTIME_REAL + 23)
+#define EL_SP_MURPHY_CLONE (EL_FIRST_RUNTIME_REAL + 24)
+#define EL_QUICKSAND_EMPTYING (EL_FIRST_RUNTIME_REAL + 25)
+#define EL_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 26)
+#define EL_BD_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 27)
+#define EL_AMOEBA_DRIPPING (EL_FIRST_RUNTIME_REAL + 28)
+#define EL_SP_EXIT_OPEN (EL_FIRST_RUNTIME_REAL + 29)
+#define EL_INVISIBLE_STEELWALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 30)
+#define EL_INVISIBLE_SAND_ACTIVE (EL_FIRST_RUNTIME_REAL + 31)
+#define EL_INVISIBLE_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 32)
+#define EL_CONVEYOR_BELT1_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 33)
+#define EL_CONVEYOR_BELT1_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 34)
+#define EL_CONVEYOR_BELT1_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 35)
+#define EL_CONVEYOR_BELT2_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 36)
+#define EL_CONVEYOR_BELT2_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 37)
+#define EL_CONVEYOR_BELT2_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 38)
+#define EL_CONVEYOR_BELT3_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 39)
+#define EL_CONVEYOR_BELT3_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 40)
+#define EL_CONVEYOR_BELT3_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 41)
+#define EL_CONVEYOR_BELT4_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 42)
+#define EL_CONVEYOR_BELT4_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 43)
+#define EL_CONVEYOR_BELT4_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 44)
/* "unreal" (and therefore not drawable) runtime elements */
-#define EL_FIRST_RUNTIME_UNREAL NUM_RUNTIME_ELEMENTS
+#define EL_FIRST_RUNTIME_UNREAL (EL_FIRST_RUNTIME_REAL + 45)
#define EL_BLOCKED (EL_FIRST_RUNTIME_UNREAL + 0)
-#define EL_EXPLODING (EL_FIRST_RUNTIME_UNREAL + 1)
+#define EL_EXPLOSION (EL_FIRST_RUNTIME_UNREAL + 1)
#define EL_CRACKINGNUT (EL_FIRST_RUNTIME_UNREAL + 2)
-#define EL_BLURB_LEFT (EL_FIRST_RUNTIME_UNREAL + 3)
-#define EL_BLURB_RIGHT (EL_FIRST_RUNTIME_UNREAL + 4)
-#define EL_AMOEBING (EL_FIRST_RUNTIME_UNREAL + 5)
-#define EL_DEAMOEBING (EL_FIRST_RUNTIME_UNREAL + 6)
-#define EL_MAUERND (EL_FIRST_RUNTIME_UNREAL + 7)
-#define EL_BURNING (EL_FIRST_RUNTIME_UNREAL + 8)
+#define EL_ACID_SPLASHING_LEFT (EL_FIRST_RUNTIME_UNREAL + 3)
+#define EL_ACID_SPLASHING_RIGHT (EL_FIRST_RUNTIME_UNREAL + 4)
+#define EL_AMOEBA_CREATING (EL_FIRST_RUNTIME_UNREAL + 5)
+#define EL_AMOEBA_SHRINKING (EL_FIRST_RUNTIME_UNREAL + 6)
+#define EL_WALL_GROWING_ACTIVE (EL_FIRST_RUNTIME_UNREAL + 7)
+#define EL_FLAMES (EL_FIRST_RUNTIME_UNREAL + 8)
#define EL_PLAYER_IS_LEAVING (EL_FIRST_RUNTIME_UNREAL + 9)
#define EL_QUICKSAND_FILLING (EL_FIRST_RUNTIME_UNREAL + 10)
#define EL_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 11)
-#define EL_MAGIC_WALL_BD_FILLING (EL_FIRST_RUNTIME_UNREAL + 12)
-
-#define MAX_NUM_ELEMENTS (EL_FIRST_RUNTIME_UNREAL + 13)
+#define EL_BD_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 12)
+
+/* dummy (not drawable) runtime elements (internal use only) */
+#define EL_FIRST_DUMMY (EL_FIRST_RUNTIME_UNREAL + 13)
+
+#define EL_STEELWALL_TOPLEFT (EL_FIRST_DUMMY + 0)
+#define EL_STEELWALL_TOPRIGHT (EL_FIRST_DUMMY + 1)
+#define EL_STEELWALL_BOTTOMLEFT (EL_FIRST_DUMMY + 2)
+#define EL_STEELWALL_BOTTOMRIGHT (EL_FIRST_DUMMY + 3)
+#define EL_STEELWALL_HORIZONTAL (EL_FIRST_DUMMY + 4)
+#define EL_STEELWALL_VERTICAL (EL_FIRST_DUMMY + 5)
+#define EL_INVISIBLE_STEELWALL_TOPLEFT (EL_FIRST_DUMMY + 6)
+#define EL_INVISIBLE_STEELWALL_TOPRIGHT (EL_FIRST_DUMMY + 7)
+#define EL_INVISIBLE_STEELWALL_BOTTOMLEFT (EL_FIRST_DUMMY + 8)
+#define EL_INVISIBLE_STEELWALL_BOTTOMRIGHT (EL_FIRST_DUMMY + 9)
+#define EL_INVISIBLE_STEELWALL_HORIZONTAL (EL_FIRST_DUMMY + 10)
+#define EL_INVISIBLE_STEELWALL_VERTICAL (EL_FIRST_DUMMY + 11)
+#define EL_SAND_CRUMBLED (EL_FIRST_DUMMY + 12)
+#define EL_BD_AMOEBA_PART1 (EL_FIRST_DUMMY + 13)
+#define EL_BD_AMOEBA_PART2 (EL_FIRST_DUMMY + 14)
+#define EL_BD_AMOEBA_PART3 (EL_FIRST_DUMMY + 15)
+#define EL_BD_AMOEBA_PART4 (EL_FIRST_DUMMY + 16)
+#define EL_AMOEBA_PART1 (EL_FIRST_DUMMY + 17)
+#define EL_AMOEBA_PART2 (EL_FIRST_DUMMY + 18)
+#define EL_AMOEBA_PART3 (EL_FIRST_DUMMY + 19)
+#define EL_AMOEBA_PART4 (EL_FIRST_DUMMY + 20)
+#define EL_AMOEBA_DEAD_PART1 (EL_FIRST_DUMMY + 21)
+#define EL_AMOEBA_DEAD_PART2 (EL_FIRST_DUMMY + 22)
+#define EL_AMOEBA_DEAD_PART3 (EL_FIRST_DUMMY + 23)
+#define EL_AMOEBA_DEAD_PART4 (EL_FIRST_DUMMY + 24)
+#define EL_DYNABOMB_ACTIVE (EL_FIRST_DUMMY + 25)
+#define EL_SHIELD_NORMAL_ACTIVE (EL_FIRST_DUMMY + 26)
+#define EL_SHIELD_DEADLY_ACTIVE (EL_FIRST_DUMMY + 27)
+#define EL_ARROW_RED_LEFT (EL_FIRST_DUMMY + 28)
+#define EL_ARROW_RED_RIGHT (EL_FIRST_DUMMY + 29)
+#define EL_ARROW_RED_UP (EL_FIRST_DUMMY + 30)
+#define EL_ARROW_RED_DOWN (EL_FIRST_DUMMY + 31)
+
+#define MAX_NUM_ELEMENTS (EL_FIRST_DUMMY + 32)
/* game graphics:
/* graphics from "RocksScreen" */
/* Zeile 0 (0) */
#define GFX_LEERRAUM (-1)
-#define GFX_ERDREICH 0
+#define GFX_ERDREICH 0
#define GFX_ERDENRAND 1
#define GFX_MORAST_LEER 2
#define GFX_MORAST_VOLL 3
#define GFX_BETON 4
-#define GFX_MAUERWERK 5
-#define GFX_FELSBODEN 6
-#define GFX_EDELSTEIN 8
+#define GFX_MAUERWERK 5
+#define GFX_FELSBODEN 6
+#define GFX_EDELSTEIN 8
#define GFX_DIAMANT 10
-#define GFX_FELSBROCKEN 12
+#define GFX_FELSBROCKEN 12
/* Zeile 1 (16) */
#define GFX_BADEWANNE1 16
#define GFX_SALZSAEURE 17
#define GFX_BADEWANNE3 32
#define GFX_BADEWANNE4 33
#define GFX_BADEWANNE5 34
-#define GFX_SMILEY 35
+#define GFX_SMILEY 35
#define GFX_PFORTE1 36
#define GFX_PFORTE2 37
#define GFX_PFORTE3 38
#define GFX_MAGIC_WALL_BD_FULL GFX_MAGIC_WALL_BD_OFF
#define GFX_MAGIC_WALL_BD_DEAD GFX_MAGIC_WALL_BD_OFF
/* Zeile 11 (176) */
-#define GFX_AUSGANG_ZU 176
-#define GFX_AUSGANG_ACT 177
-#define GFX_AUSGANG_AUF 180
+#define GFX_AUSGANG_ZU 176
+#define GFX_AUSGANG_ACT 177
+#define GFX_AUSGANG_AUF 180
#define GFX_MAMPFER2 184
#define GFX_DYNABOMB 188
#define GFX_DYNABOMB_NR 188
#define GFX_ACTION_FALLING 3
#define GFX_ACTION_MOVING 4
#define GFX_ACTION_DIGGING 5
-#define GFX_ACTION_COLLECTING 6
-#define GFX_ACTION_PUSHING 7
-#define GFX_ACTION_PASSING 8
-#define GFX_ACTION_IMPACT 9
-#define GFX_ACTION_CRACKING 10
-#define GFX_ACTION_ACTIVATING 11
-#define GFX_ACTION_ACTIVE 12
-#define GFX_ACTION_OTHER 13
-
-#define NUM_GFX_ACTIONS 14
-#define NUM_GFX_ACTIONS_MAPPED 7
+#define GFX_ACTION_SNAPPING 6
+#define GFX_ACTION_COLLECTING 7
+#define GFX_ACTION_PUSHING 8
+#define GFX_ACTION_PASSING 9
+#define GFX_ACTION_IMPACT 10
+#define GFX_ACTION_CRACKING 11
+#define GFX_ACTION_ACTIVATING 12
+#define GFX_ACTION_EATING 13
+#define GFX_ACTION_ATTACKING 14
+#define GFX_ACTION_GROWING 15
+#define GFX_ACTION_OTHER 16
+
+#define NUM_GFX_ACTIONS 17
+#define NUM_GFX_ACTIONS_MAPPED 8
/* values for image configuration suffixes */
#define GFX_ARG_VERTICAL 8
/* values for image configuration */
-#define IMG_EMPTY_SPACE 0
-#define IMG_SAND 1
-#define IMG_SAND_CRUMBLED 2
-#define IMG_QUICKSAND_EMPTY 3
-#define IMG_QUICKSAND_FULL 4
-#define IMG_QUICKSAND_SLIPPING 5
-#define IMG_STEELWALL 6
-#define IMG_WALL 7
-#define IMG_WALL_CRUMBLED 8
-#define IMG_EMERALD 9
-#define IMG_EMERALD_FALLING 10
-#define IMG_DIAMOND 11
-#define IMG_DIAMOND_FALLING 12
-#define IMG_ROCK 13
-#define IMG_ROCK_FALLING 14
-#define IMG_ROCK_PUSHING 15
-#define IMG_ACIDPOOL_TOPLEFT 16
-#define IMG_ACIDPOOL_TOPRIGHT 17
-#define IMG_ACIDPOOL_BOTTOMLEFT 18
-#define IMG_ACIDPOOL_BOTTOM 19
-#define IMG_ACIDPOOL_BOTTOMRIGHT 20
-#define IMG_ACID 21
-#define IMG_KEY1 22
-#define IMG_KEY2 23
-#define IMG_KEY3 24
-#define IMG_KEY4 25
-#define IMG_GAMEOFLIFE 26
-#define IMG_BIOMAZE 27
-#define IMG_BOMB 28
-#define IMG_NUT 29
-#define IMG_NUT_CRACKING 30
-#define IMG_GATE1 31
-#define IMG_GATE2 32
-#define IMG_GATE3 33
-#define IMG_GATE4 34
-#define IMG_GATE1_GRAY 35
-#define IMG_GATE2_GRAY 36
-#define IMG_GATE3_GRAY 37
-#define IMG_GATE4_GRAY 38
-#define IMG_DYNAMITE 39
-#define IMG_DYNAMITE_ACTICE 40
-#define IMG_SPACESHIP_RIGHT 41
-#define IMG_SPACESHIP_UP 42
-#define IMG_SPACESHIP_LEFT 43
-#define IMG_SPACESHIP_DOWN 44
-#define IMG_BUG_RIGHT 45
-#define IMG_BUG_UP 46
-#define IMG_BUG_LEFT 47
-#define IMG_BUG_DOWN 48
-#define IMG_PACMAN_RIGHT 49
-#define IMG_PACMAN_UP 50
-#define IMG_PACMAN_LEFT 51
-#define IMG_PACMAN_DOWN 52
-#define IMG_EXPLOSION 53
-#define IMG_YAMYAM 54
-#define IMG_YAMYAM_MOVING 55
-#define IMG_ROBOT 56
-#define IMG_ROBOT_WHEEL 57
-#define IMG_ROBOT_WHEEL_ACTIVE 58
-#define IMG_AMOEBA_DROP 59
-#define IMG_AMOEBA_CREATING 60
-#define IMG_AMOEBA1 61
-#define IMG_AMOEBA2 62
-#define IMG_AMOEBA3 63
-#define IMG_AMOEBA4 64
-#define IMG_AMOEBA_DEAD1 65
-#define IMG_AMOEBA_DEAD2 66
-#define IMG_AMOEBA_DEAD3 67
-#define IMG_AMOEBA_DEAD4 68
-#define IMG_LAMP 69
-#define IMG_LAMP_ACTIVE 70
-#define IMG_TIME_ORB_FULL 71
-#define IMG_TIME_ORB_EMPTY 72
-#define IMG_BD_AMOEBA 73
-#define IMG_SOKOBAN_OBJECT 74
-#define IMG_SOKOBAN_FIELD_EMPTY 75
-#define IMG_SOKOBAN_FIELD_FULL 76
-#define IMG_MAGIC_WALL 77
-#define IMG_MAGIC_WALL_ACTIVE 78
-#define IMG_BD_MAGIC_WALL 79
-#define IMG_BD_MAGIC_WALL_ACTIVE 80
-#define IMG_WALL_EMERALD 81
-#define IMG_WALL_DIAMOND 82
-#define IMG_WALL_EMERALD_RED 83
-#define IMG_WALL_EMERALD_PURPLE 84
-#define IMG_WALL_EMERALD_YELLOW 85
-#define IMG_WALL_BD_DIAMOND 86
-#define IMG_EMERALD_RED 87
-#define IMG_EMERALD_RED_FALLING 88
-#define IMG_EMERALD_PURPLE 89
-#define IMG_EMERALD_PURPLE_FALLING 90
-#define IMG_EMERALD_YELLOW 91
-#define IMG_EMERALD_YELLOW_FALLING 92
-#define IMG_WALL_GROWING_XY 93
-#define IMG_WALL_GROWING_X 94
-#define IMG_WALL_GROWING_Y 95
-#define IMG_DYNABOMB_XL 96
-#define IMG_BLACK_ORB 97
-#define IMG_SPEED_PILL 98
-#define IMG_BD_DIAMOND 99
-#define IMG_BD_DIAMOND_FALLING 100
-#define IMG_WALL_GROWING_RIGHT 101
-#define IMG_WALL_GROWING_LEFT 102
-#define IMG_EXIT_CLOSED 103
-#define IMG_EXIT_OPENING 104
-#define IMG_EXIT_OPEN 105
-#define IMG_DARK_YAMYAM 106
-#define IMG_DYNABOMB_ACTICE 107
-#define IMG_DYNABOMB_NR 108
-#define IMG_DYNABOMB_SZ 109
-#define IMG_ARROW_LEFT 110
-#define IMG_ARROW_RIGHT 111
-#define IMG_ARROW_UP 112
-#define IMG_ARROW_DOWN 113
-#define IMG_BD_BUTTERFLY 114
-#define IMG_BD_BUTTERFLY_MOVING 115
-#define IMG_BD_BUTTERFLY_RIGHT 116
-#define IMG_BD_BUTTERFLY_UP 117
-#define IMG_BD_BUTTERFLY_LEFT 118
-#define IMG_BD_BUTTERFLY_DOWN 119
-#define IMG_BD_FIREFLY 120
-#define IMG_BD_FIREFLY_MOVING 121
-#define IMG_BD_FIREFLY_RIGHT 122
-#define IMG_BD_FIREFLY_UP 123
-#define IMG_BD_FIREFLY_LEFT 124
-#define IMG_BD_FIREFLY_DOWN 125
-#define IMG_STEELWALL_TOPLEFT 126
-#define IMG_STEELWALL_TOPRIGHT 127
-#define IMG_STEELWALL_BOTTOMLEFT 128
-#define IMG_STEELWALL_BOTTOMRIGHT 129
-#define IMG_STEELWALL_HORIZONTAL 130
-#define IMG_INVISIBLE_STEELWALL_TOPLEFT 131
-#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 132
-#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 133
-#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 134
-#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 135
-#define IMG_PLAYER1_DOWN 136
-#define IMG_PLAYER1_DOWN_MOVING 137
-#define IMG_PLAYER1_DOWN_DIGGING 138
-#define IMG_PLAYER1_UP 139
-#define IMG_PLAYER1_UP_MOVING 140
-#define IMG_PLAYER1_UP_DIGGING 141
-#define IMG_PLAYER1_LEFT 142
-#define IMG_PLAYER1_LEFT_MOVING 143
-#define IMG_PLAYER1_LEFT_DIGGING 144
-#define IMG_PLAYER1_LEFT_PUSHING 145
-#define IMG_PLAYER1_RIGHT 146
-#define IMG_PLAYER1_RIGHT_MOVING 147
-#define IMG_PLAYER1_RIGHT_DIGGING 148
-#define IMG_PLAYER1_RIGHT_PUSHING 149
-#define IMG_PLAYER2_DOWN 150
-#define IMG_PLAYER2_DOWN_MOVING 151
-#define IMG_PLAYER2_DOWN_DIGGING 152
-#define IMG_PLAYER2_UP 153
-#define IMG_PLAYER2_UP_MOVING 154
-#define IMG_PLAYER2_UP_DIGGING 155
-#define IMG_PLAYER2_LEFT 156
-#define IMG_PLAYER2_LEFT_MOVING 157
-#define IMG_PLAYER2_LEFT_DIGGING 158
-#define IMG_PLAYER2_LEFT_PUSHING 159
-#define IMG_PLAYER2_RIGHT 160
-#define IMG_PLAYER2_RIGHT_MOVING 161
-#define IMG_PLAYER2_RIGHT_DIGGING 162
-#define IMG_PLAYER2_RIGHT_PUSHING 163
-#define IMG_PLAYER3_DOWN 164
-#define IMG_PLAYER3_DOWN_MOVING 165
-#define IMG_PLAYER3_DOWN_DIGGING 166
-#define IMG_PLAYER3_UP 167
-#define IMG_PLAYER3_UP_MOVING 168
-#define IMG_PLAYER3_UP_DIGGING 169
-#define IMG_PLAYER3_LEFT 170
-#define IMG_PLAYER3_LEFT_MOVING 171
-#define IMG_PLAYER3_LEFT_DIGGING 172
-#define IMG_PLAYER3_LEFT_PUSHING 173
-#define IMG_PLAYER3_RIGHT 174
-#define IMG_PLAYER3_RIGHT_MOVING 175
-#define IMG_PLAYER3_RIGHT_DIGGING 176
-#define IMG_PLAYER3_RIGHT_PUSHING 177
-#define IMG_PLAYER4_DOWN 178
-#define IMG_PLAYER4_DOWN_MOVING 179
-#define IMG_PLAYER4_DOWN_DIGGING 180
-#define IMG_PLAYER4_UP 181
-#define IMG_PLAYER4_UP_MOVING 182
-#define IMG_PLAYER4_UP_DIGGING 183
-#define IMG_PLAYER4_LEFT 184
-#define IMG_PLAYER4_LEFT_MOVING 185
-#define IMG_PLAYER4_LEFT_DIGGING 186
-#define IMG_PLAYER4_LEFT_PUSHING 187
-#define IMG_PLAYER4_RIGHT 188
-#define IMG_PLAYER4_RIGHT_MOVING 189
-#define IMG_PLAYER4_RIGHT_DIGGING 190
-#define IMG_PLAYER4_RIGHT_PUSHING 191
-#define IMG_WALL_GROWING_DOWN 192
-#define IMG_WALL_GROWING_UP 193
-#define IMG_SHIELD_NORMAL_ACTIVE 194
-#define IMG_SHIELD_DEADLY_ACTIVE 195
-#define IMG_PIG_DOWN 196
-#define IMG_PIG_DOWN_MOVING 197
-#define IMG_PIG_DOWN_EATING 198
-#define IMG_PIG_UP 199
-#define IMG_PIG_UP_MOVING 200
-#define IMG_PIG_UP_EATING 201
-#define IMG_PIG_LEFT 202
-#define IMG_PIG_LEFT_MOVING 203
-#define IMG_PIG_LEFT_EATING 204
-#define IMG_PIG_RIGHT 205
-#define IMG_PIG_RIGHT_MOVING 206
-#define IMG_PIG_RIGHT_EATING 207
-#define IMG_DRAGON_DOWN 208
-#define IMG_DRAGON_DOWN_MOVING 209
-#define IMG_DRAGON_DOWN_ATTACKING 210
-#define IMG_DRAGON_UP 211
-#define IMG_DRAGON_UP_MOVING 212
-#define IMG_DRAGON_UP_ATTACKING 213
-#define IMG_DRAGON_LEFT 214
-#define IMG_DRAGON_LEFT_MOVING 215
-#define IMG_DRAGON_LEFT_ATTACKING 216
-#define IMG_DRAGON_RIGHT 217
-#define IMG_DRAGON_RIGHT_MOVING 218
-#define IMG_DRAGON_RIGHT_ATTACKING 219
-#define IMG_MOLE_DOWN 220
-#define IMG_MOLE_DOWN_MOVING 221
-#define IMG_MOLE_DOWN_DIGGING 222
-#define IMG_MOLE_UP 223
-#define IMG_MOLE_UP_MOVING 224
-#define IMG_MOLE_UP_DIGGING 225
-#define IMG_MOLE_LEFT 226
-#define IMG_MOLE_LEFT_MOVING 227
-#define IMG_MOLE_LEFT_DIGGING 228
-#define IMG_MOLE_RIGHT 229
-#define IMG_MOLE_RIGHT_MOVING 230
-#define IMG_MOLE_RIGHT_DIGGING 231
-#define IMG_PENGUIN_DOWN 232
-#define IMG_PENGUIN_DOWN_MOVING 233
-#define IMG_PENGUIN_UP 234
-#define IMG_PENGUIN_UP_MOVING 235
-#define IMG_PENGUIN_LEFT 236
-#define IMG_PENGUIN_LEFT_MOVING 237
-#define IMG_PENGUIN_RIGHT 238
-#define IMG_PENGUIN_RIGHT_MOVING 239
-#define IMG_SATELLITE 240
-#define IMG_SATELLITE_MOVING 241
-#define IMG_ACID_SPLASHING_LEFT 242
-#define IMG_ACID_SPLASHING_RIGHT 243
-#define IMG_SPARK_BLUE 244
-#define IMG_SPARK_WHITE 245
-#define IMG_FLAMES_LEFT1 246
-#define IMG_FLAMES_LEFT2 247
-#define IMG_FLAMES_LEFT3 248
-#define IMG_FLAMES_RIGHT1 249
-#define IMG_FLAMES_RIGHT2 250
-#define IMG_FLAMES_RIGHT3 251
-#define IMG_FLAMES_UP1 252
-#define IMG_FLAMES_UP2 253
-#define IMG_FLAMES_UP3 254
-#define IMG_FLAMES_DOWN1 255
-#define IMG_FLAMES_DOWN2 256
-#define IMG_FLAMES_DOWN3 257
-#define IMG_SP_EMPTY_SPACE 258
-#define IMG_SP_ZONK 259
-#define IMG_SP_ZONK_FALLING 260
-#define IMG_SP_ZONK_PUSHING 261
-#define IMG_SP_BASE 262
-#define IMG_SP_MURPHY 263
-#define IMG_SP_MURPHY_LEFT 264
-#define IMG_SP_MURPHY_LEFT_MOVING 265
-#define IMG_SP_MURPHY_LEFT_DIGGING 266
-#define IMG_SP_MURPHY_LEFT_PUSHING 267
-#define IMG_SP_MURPHY_LEFT_SNAPPING 268
-#define IMG_SP_MURPHY_RIGHT 269
-#define IMG_SP_MURPHY_RIGHT_MOVING 270
-#define IMG_SP_MURPHY_RIGHT_DIGGING 271
-#define IMG_SP_MURPHY_RIGHT_PUSHING 272
-#define IMG_SP_MURPHY_RIGHT_SNAPPING 273
-#define IMG_SP_MURPHY_UP 274
-#define IMG_SP_MURPHY_UP_SNAPPING 275
-#define IMG_SP_MURPHY_DOWN 276
-#define IMG_SP_MURPHY_DOWN_SNAPPING 277
-#define IMG_SP_MURPHY_CLONE 278
-#define IMG_SP_INFOTRON 279
-#define IMG_SP_INFOTRON_FALLING 280
-#define IMG_SP_CHIP_SINGLE 281
-#define IMG_SP_CHIP_LEFT 282
-#define IMG_SP_CHIP_RIGHT 283
-#define IMG_SP_CHIP_UPPER 284
-#define IMG_SP_CHIP_LOWER 285
-#define IMG_SP_HARD_GRAY 286
-#define IMG_SP_HARD_GREEN 287
-#define IMG_SP_HARD_BLUE 288
-#define IMG_SP_HARD_RED 289
-#define IMG_SP_HARD_YELLOW 290
-#define IMG_SP_EXIT_CLOSED 291
-#define IMG_SP_EXIT_OPEN 292
-#define IMG_SP_DISK_ORANGE 293
-#define IMG_SP_DISK_ORANGE_FALLING 294
-#define IMG_SP_DISK_ORANGE_PUSHING 295
-#define IMG_SP_DISK_YELLOW 296
-#define IMG_SP_DISK_YELLOW_PUSHING 297
-#define IMG_SP_DISK_RED 298
-#define IMG_SP_DISK_RED_COLLECTING 299
-#define IMG_SP_PORT1_RIGHT 300
-#define IMG_SP_PORT1_DOWN 301
-#define IMG_SP_PORT1_LEFT 302
-#define IMG_SP_PORT1_UP 303
-#define IMG_SP_PORT2_RIGHT 304
-#define IMG_SP_PORT2_DOWN 305
-#define IMG_SP_PORT2_LEFT 306
-#define IMG_SP_PORT2_UP 307
-#define IMG_SP_PORT_X 308
-#define IMG_SP_PORT_Y 309
-#define IMG_SP_PORT_XY 310
-#define IMG_SP_SNIKSNAK 311
-#define IMG_SP_SNIKSNAK_LEFT 312
-#define IMG_SP_SNIKSNAK_RIGHT 313
-#define IMG_SP_SNIKSNAK_UP 314
-#define IMG_SP_SNIKSNAK_DOWN 315
-#define IMG_SP_ELECTRON 316
-#define IMG_SP_TERMINAL 317
-#define IMG_SP_TERMINAL_ACTIVE 318
-#define IMG_SP_BUGGY_BASE 319
-#define IMG_SP_BUGGY_BASE_ACTIVATING 320
-#define IMG_SP_HARD_BASE1 321
-#define IMG_SP_HARD_BASE2 322
-#define IMG_SP_HARD_BASE3 323
-#define IMG_SP_HARD_BASE4 324
-#define IMG_SP_HARD_BASE5 325
-#define IMG_SP_HARD_BASE6 326
-#define IMG_INVISIBLE_STEELWALL 327
-#define IMG_INVISIBLE_STEELWALL_ACTIVE 328
-#define IMG_INVISIBLE_SAND 329
-#define IMG_INVISIBLE_SAND_ACTIVE 330
-#define IMG_INVISIBLE_WALL 331
-#define IMG_INVISIBLE_WALL_ACTIVE 332
-#define IMG_EM_KEY1 333
-#define IMG_EM_KEY2 334
-#define IMG_EM_KEY3 335
-#define IMG_EM_KEY4 336
-#define IMG_EM_GATE1 337
-#define IMG_EM_GATE2 338
-#define IMG_EM_GATE3 339
-#define IMG_EM_GATE4 340
-#define IMG_EM_GATE1_GRAY 341
-#define IMG_EM_GATE2_GRAY 342
-#define IMG_EM_GATE3_GRAY 343
-#define IMG_EM_GATE4_GRAY 344
-#define IMG_SP_EXPLOSION 345
-#define IMG_SP_EXPLOSION_INFOTRON 346
-#define IMG_CONVEYOR_BELT1_MIDDLE 347
-#define IMG_CONVEYOR_BELT1_MIDDLE_ACTIVE 348
-#define IMG_CONVEYOR_BELT1_LEFT 349
-#define IMG_CONVEYOR_BELT1_LEFT_ACTIVE 350
-#define IMG_CONVEYOR_BELT1_RIGHT 351
-#define IMG_CONVEYOR_BELT1_RIGHT_ACTIVE 352
-#define IMG_CONVEYOR_BELT1_SWITCH_LEFT 353
-#define IMG_CONVEYOR_BELT1_SWITCH_MIDDLE 354
-#define IMG_CONVEYOR_BELT1_SWITCH_RIGHT 355
-#define IMG_CONVEYOR_BELT2_MIDDLE 356
-#define IMG_CONVEYOR_BELT2_MIDDLE_ACTIVE 357
-#define IMG_CONVEYOR_BELT2_LEFT 358
-#define IMG_CONVEYOR_BELT2_LEFT_ACTIVE 359
-#define IMG_CONVEYOR_BELT2_RIGHT 360
-#define IMG_CONVEYOR_BELT2_RIGHT_ACTIVE 361
-#define IMG_CONVEYOR_BELT2_SWITCH_LEFT 362
-#define IMG_CONVEYOR_BELT2_SWITCH_MIDDLE 363
-#define IMG_CONVEYOR_BELT2_SWITCH_RIGHT 364
-#define IMG_CONVEYOR_BELT3_MIDDLE 365
-#define IMG_CONVEYOR_BELT3_MIDDLE_ACTIVE 366
-#define IMG_CONVEYOR_BELT3_LEFT 367
-#define IMG_CONVEYOR_BELT3_LEFT_ACTIVE 368
-#define IMG_CONVEYOR_BELT3_RIGHT 369
-#define IMG_CONVEYOR_BELT3_RIGHT_ACTIVE 370
-#define IMG_CONVEYOR_BELT3_SWITCH_LEFT 371
-#define IMG_CONVEYOR_BELT3_SWITCH_MIDDLE 372
-#define IMG_CONVEYOR_BELT3_SWITCH_RIGHT 373
-#define IMG_CONVEYOR_BELT4_MIDDLE 374
-#define IMG_CONVEYOR_BELT4_MIDDLE_ACTIVE 375
-#define IMG_CONVEYOR_BELT4_LEFT 376
-#define IMG_CONVEYOR_BELT4_LEFT_ACTIVE 377
-#define IMG_CONVEYOR_BELT4_RIGHT 378
-#define IMG_CONVEYOR_BELT4_RIGHT_ACTIVE 379
-#define IMG_CONVEYOR_BELT4_SWITCH_LEFT 380
-#define IMG_CONVEYOR_BELT4_SWITCH_MIDDLE 381
-#define IMG_CONVEYOR_BELT4_SWITCH_RIGHT 382
-#define IMG_SWITCHGATE_SWITCH_UP 383
-#define IMG_SWITCHGATE_SWITCH_DOWN 384
-#define IMG_LIGHT_SWITCH 385
-#define IMG_LIGHT_SWITCH_ACTIVE 386
-#define IMG_TIMEGATE_WHEEL 387
-#define IMG_TIMEGATE_WHEEL_ACTIVE 388
-#define IMG_ENVELOPE 389
-#define IMG_SIGN_EXCLAMATION 390
-#define IMG_SIGN_STOP 391
-#define IMG_LANDMINE 392
-#define IMG_STEELWALL_SLANTED 393
-#define IMG_EXTRA_TIME 394
-#define IMG_SHIELD_DEADLY 395
-#define IMG_SHIELD_NORMAL 396
-#define IMG_SWITCHGATE_CLOSED 397
-#define IMG_SWITCHGATE_OPENING 398
-#define IMG_SWITCHGATE_OPEN 399
-#define IMG_SWITCHGATE_CLOSING 400
-#define IMG_TIMEGATE_CLOSED 401
-#define IMG_TIMEGATE_OPENING 402
-#define IMG_TIMEGATE_OPEN 403
-#define IMG_TIMEGATE_CLOSING 404
-#define IMG_BALLOON 405
-#define IMG_BALLOON_MOVING 406
-#define IMG_BALLOON_WINDROSE_LEFT 407
-#define IMG_BALLOON_WINDROSE_RIGHT 408
-#define IMG_BALLOON_WINDROSE_UP 409
-#define IMG_BALLOON_WINDROSE_DOWN 410
-#define IMG_BALLOON_WINDROSE_ALL 411
-#define IMG_EMC_STEELWALL1 412
-#define IMG_EMC_STEELWALL2 413
-#define IMG_EMC_STEELWALL3 414
-#define IMG_EMC_STEELWALL4 415
-#define IMG_EMC_WALL_PILLAR_UPPER 416
-#define IMG_EMC_WALL_PILLAR_MIDDLE 417
-#define IMG_EMC_WALL_PILLAR_LOWER 418
-#define IMG_EMC_WALL4 419
-#define IMG_EMC_WALL5 420
-#define IMG_EMC_WALL6 421
-#define IMG_EMC_WALL7 422
-#define IMG_EMC_WALL8 423
-#define IMG_ARROW_BLUE_LEFT 424
-#define IMG_ARROW_BLUE_RIGHT 425
-#define IMG_ARROW_BLUE_UP 426
-#define IMG_ARROW_BLUE_DOWN 427
-#define IMG_ARROW_RED_LEFT 428
-#define IMG_ARROW_RED_RIGHT 429
-#define IMG_ARROW_RED_UP 430
-#define IMG_ARROW_RED_DOWN 431
-#define IMG_SCROLLBAR_BLUE 432
-#define IMG_SCROLLBAR_RED 433
-#define IMG_SCROLLBAR_GREEN 434
-#define IMG_SCROLLBAR_YELLOW 435
-#define IMG_PEARL 436
-#define IMG_PEARL_BREAKING 437
-#define IMG_CRYSTAL 438
-#define IMG_WALL_PEARL 439
-#define IMG_WALL_CRYSTAL 440
-#define IMG_SPRING 441
-#define IMG_TUBE_RIGHT_DOWN 442
-#define IMG_TUBE_HORIZONTAL_DOWN 443
-#define IMG_TUBE_LEFT_DOWN 444
-#define IMG_TUBE_HORIZONTAL 445
-#define IMG_TUBE_VERTICAL_RIGHT 446
-#define IMG_TUBE_ALL 447
-#define IMG_TUBE_VERTICAL_LEFT 448
-#define IMG_TUBE_VERTICAL 449
-#define IMG_TUBE_RIGHT_UP 450
-#define IMG_TUBE_HORIZONTAL_UP 451
-#define IMG_TUBE_LEFT_UP 452
-#define IMG_TRAP_INACTIVE 453
-#define IMG_TRAP_ACTIVE 454
-#define IMG_TRAP_ACTIVATING 455
-#define IMG_BD_WALL 456
-#define IMG_BD_ROCK 457
-#define IMG_BD_ROCK_FALLING 458
-#define IMG_BD_ROCK_PUSHING 459
-#define IMG_DX_BOMB 460
-
-#define NUM_IMAGE_FILES 461
+#define IMG_BD_WALL 0
+#define IMG_BD_ROCK 1
+#define IMG_BD_ROCK_FALLING 2
+#define IMG_BD_ROCK_PUSHING 3
+#define IMG_BD_DIAMOND 4
+#define IMG_BD_DIAMOND_FALLING 5
+#define IMG_BD_MAGIC_WALL 6
+#define IMG_BD_MAGIC_WALL_ACTIVE 7
+#define IMG_BD_MAGIC_WALL_FILLING 8
+#define IMG_BD_MAGIC_WALL_FULL 9
+#define IMG_BD_MAGIC_WALL_EMPTYING 10
+#define IMG_BD_MAGIC_WALL_DEAD 11
+#define IMG_BD_AMOEBA 12
+#define IMG_BD_AMOEBA_PART1 13
+#define IMG_BD_AMOEBA_PART2 14
+#define IMG_BD_AMOEBA_PART3 15
+#define IMG_BD_AMOEBA_PART4 16
+#define IMG_BD_BUTTERFLY 17
+#define IMG_BD_BUTTERFLY_MOVING 18
+#define IMG_BD_BUTTERFLY_RIGHT 19
+#define IMG_BD_BUTTERFLY_UP 20
+#define IMG_BD_BUTTERFLY_LEFT 21
+#define IMG_BD_BUTTERFLY_DOWN 22
+#define IMG_BD_FIREFLY 23
+#define IMG_BD_FIREFLY_MOVING 24
+#define IMG_BD_FIREFLY_RIGHT 25
+#define IMG_BD_FIREFLY_UP 26
+#define IMG_BD_FIREFLY_LEFT 27
+#define IMG_BD_FIREFLY_DOWN 28
+#define IMG_SP_EMPTY_SPACE 29
+#define IMG_SP_ZONK 30
+#define IMG_SP_ZONK_FALLING 31
+#define IMG_SP_ZONK_PUSHING 32
+#define IMG_SP_BASE 33
+#define IMG_SP_MURPHY 34
+#define IMG_SP_MURPHY_LEFT 35
+#define IMG_SP_MURPHY_LEFT_MOVING 36
+#define IMG_SP_MURPHY_LEFT_DIGGING 37
+#define IMG_SP_MURPHY_LEFT_PUSHING 38
+#define IMG_SP_MURPHY_LEFT_SNAPPING 39
+#define IMG_SP_MURPHY_RIGHT 40
+#define IMG_SP_MURPHY_RIGHT_MOVING 41
+#define IMG_SP_MURPHY_RIGHT_DIGGING 42
+#define IMG_SP_MURPHY_RIGHT_PUSHING 43
+#define IMG_SP_MURPHY_RIGHT_SNAPPING 44
+#define IMG_SP_MURPHY_UP 45
+#define IMG_SP_MURPHY_UP_SNAPPING 46
+#define IMG_SP_MURPHY_DOWN 47
+#define IMG_SP_MURPHY_DOWN_SNAPPING 48
+#define IMG_SP_MURPHY_CLONE 49
+#define IMG_SP_INFOTRON 50
+#define IMG_SP_INFOTRON_FALLING 51
+#define IMG_SP_CHIP_SINGLE 52
+#define IMG_SP_CHIP_LEFT 53
+#define IMG_SP_CHIP_RIGHT 54
+#define IMG_SP_CHIP_UPPER 55
+#define IMG_SP_CHIP_LOWER 56
+#define IMG_SP_HARD_GRAY 57
+#define IMG_SP_HARD_GREEN 58
+#define IMG_SP_HARD_BLUE 59
+#define IMG_SP_HARD_RED 60
+#define IMG_SP_HARD_YELLOW 61
+#define IMG_SP_EXIT_CLOSED 62
+#define IMG_SP_EXIT_OPEN 63
+#define IMG_SP_DISK_ORANGE 64
+#define IMG_SP_DISK_ORANGE_FALLING 65
+#define IMG_SP_DISK_ORANGE_PUSHING 66
+#define IMG_SP_DISK_YELLOW 67
+#define IMG_SP_DISK_YELLOW_PUSHING 68
+#define IMG_SP_DISK_RED 69
+#define IMG_SP_DISK_RED_COLLECTING 70
+#define IMG_SP_PORT1_RIGHT 71
+#define IMG_SP_PORT1_DOWN 72
+#define IMG_SP_PORT1_LEFT 73
+#define IMG_SP_PORT1_UP 74
+#define IMG_SP_PORT2_RIGHT 75
+#define IMG_SP_PORT2_DOWN 76
+#define IMG_SP_PORT2_LEFT 77
+#define IMG_SP_PORT2_UP 78
+#define IMG_SP_PORT_X 79
+#define IMG_SP_PORT_Y 80
+#define IMG_SP_PORT_XY 81
+#define IMG_SP_SNIKSNAK 82
+#define IMG_SP_SNIKSNAK_LEFT 83
+#define IMG_SP_SNIKSNAK_RIGHT 84
+#define IMG_SP_SNIKSNAK_UP 85
+#define IMG_SP_SNIKSNAK_DOWN 86
+#define IMG_SP_ELECTRON 87
+#define IMG_SP_TERMINAL 88
+#define IMG_SP_TERMINAL_ACTIVE 89
+#define IMG_SP_BUGGY_BASE 90
+#define IMG_SP_BUGGY_BASE_ACTIVE 91
+#define IMG_SP_HARD_BASE1 92
+#define IMG_SP_HARD_BASE2 93
+#define IMG_SP_HARD_BASE3 94
+#define IMG_SP_HARD_BASE4 95
+#define IMG_SP_HARD_BASE5 96
+#define IMG_SP_HARD_BASE6 97
+#define IMG_SP_EXPLOSION 98
+#define IMG_SP_EXPLOSION_INFOTRON 99
+#define IMG_SOKOBAN_OBJECT 100
+#define IMG_SOKOBAN_FIELD_EMPTY 101
+#define IMG_SOKOBAN_FIELD_FULL 102
+#define IMG_EMPTY_SPACE 103
+#define IMG_SAND 104
+#define IMG_SAND_CRUMBLED 105
+#define IMG_WALL 106
+#define IMG_WALL_CRUMBLED 107
+#define IMG_STEELWALL 108
+#define IMG_ROCK 109
+#define IMG_ROCK_FALLING 110
+#define IMG_ROCK_PUSHING 111
+#define IMG_EMERALD 112
+#define IMG_EMERALD_FALLING 113
+#define IMG_DIAMOND 114
+#define IMG_DIAMOND_FALLING 115
+#define IMG_BOMB 116
+#define IMG_NUT 117
+#define IMG_NUT_CRACKING 118
+#define IMG_DYNAMITE 119
+#define IMG_DYNAMITE_ACTIVE 120
+#define IMG_WALL_EMERALD 121
+#define IMG_WALL_DIAMOND 122
+#define IMG_BUG_RIGHT 123
+#define IMG_BUG_UP 124
+#define IMG_BUG_LEFT 125
+#define IMG_BUG_DOWN 126
+#define IMG_SPACESHIP_RIGHT 127
+#define IMG_SPACESHIP_UP 128
+#define IMG_SPACESHIP_LEFT 129
+#define IMG_SPACESHIP_DOWN 130
+#define IMG_YAMYAM 131
+#define IMG_YAMYAM_MOVING 132
+#define IMG_ROBOT 133
+#define IMG_ROBOT_WHEEL 134
+#define IMG_ROBOT_WHEEL_ACTIVE 135
+#define IMG_MAGIC_WALL 136
+#define IMG_MAGIC_WALL_ACTIVE 137
+#define IMG_MAGIC_WALL_FILLING 138
+#define IMG_MAGIC_WALL_FULL 139
+#define IMG_MAGIC_WALL_EMPTYING 140
+#define IMG_MAGIC_WALL_DEAD 141
+#define IMG_QUICKSAND_EMPTY 142
+#define IMG_QUICKSAND_FILLING 143
+#define IMG_QUICKSAND_FULL 144
+#define IMG_QUICKSAND_EMPTYING 145
+#define IMG_ACIDPOOL_TOPLEFT 146
+#define IMG_ACIDPOOL_TOPRIGHT 147
+#define IMG_ACIDPOOL_BOTTOMLEFT 148
+#define IMG_ACIDPOOL_BOTTOM 149
+#define IMG_ACIDPOOL_BOTTOMRIGHT 150
+#define IMG_ACID 151
+#define IMG_ACID_SPLASHING_LEFT 152
+#define IMG_ACID_SPLASHING_RIGHT 153
+#define IMG_AMOEBA_DROP 154
+#define IMG_AMOEBA_CREATING 155
+#define IMG_AMOEBA_PART1 156
+#define IMG_AMOEBA_PART2 157
+#define IMG_AMOEBA_PART3 158
+#define IMG_AMOEBA_PART4 159
+#define IMG_AMOEBA_DEAD_PART1 160
+#define IMG_AMOEBA_DEAD_PART2 161
+#define IMG_AMOEBA_DEAD_PART3 162
+#define IMG_AMOEBA_DEAD_PART4 163
+#define IMG_EM_KEY1 164
+#define IMG_EM_KEY2 165
+#define IMG_EM_KEY3 166
+#define IMG_EM_KEY4 167
+#define IMG_EM_GATE1 168
+#define IMG_EM_GATE2 169
+#define IMG_EM_GATE3 170
+#define IMG_EM_GATE4 171
+#define IMG_EM_GATE1_GRAY 172
+#define IMG_EM_GATE2_GRAY 173
+#define IMG_EM_GATE3_GRAY 174
+#define IMG_EM_GATE4_GRAY 175
+#define IMG_EXIT_CLOSED 176
+#define IMG_EXIT_OPENING 177
+#define IMG_EXIT_OPEN 178
+#define IMG_BALLOON 179
+#define IMG_BALLOON_MOVING 180
+#define IMG_BALLOON_SEND_LEFT 181
+#define IMG_BALLOON_SEND_RIGHT 182
+#define IMG_BALLOON_SEND_UP 183
+#define IMG_BALLOON_SEND_DOWN 184
+#define IMG_BALLOON_SEND_ANY_DIRECTION 185
+#define IMG_SPRING 186
+#define IMG_EMC_STEELWALL1 187
+#define IMG_EMC_STEELWALL2 188
+#define IMG_EMC_STEELWALL3 189
+#define IMG_EMC_STEELWALL4 190
+#define IMG_EMC_WALL_PILLAR_UPPER 191
+#define IMG_EMC_WALL_PILLAR_MIDDLE 192
+#define IMG_EMC_WALL_PILLAR_LOWER 193
+#define IMG_EMC_WALL4 194
+#define IMG_EMC_WALL5 195
+#define IMG_EMC_WALL6 196
+#define IMG_EMC_WALL7 197
+#define IMG_EMC_WALL8 198
+#define IMG_INVISIBLE_STEELWALL 199
+#define IMG_INVISIBLE_STEELWALL_ACTIVE 200
+#define IMG_INVISIBLE_WALL 201
+#define IMG_INVISIBLE_WALL_ACTIVE 202
+#define IMG_INVISIBLE_SAND 203
+#define IMG_INVISIBLE_SAND_ACTIVE 204
+#define IMG_CONVEYOR_BELT1_MIDDLE 205
+#define IMG_CONVEYOR_BELT1_MIDDLE_ACTIVE 206
+#define IMG_CONVEYOR_BELT1_LEFT 207
+#define IMG_CONVEYOR_BELT1_LEFT_ACTIVE 208
+#define IMG_CONVEYOR_BELT1_RIGHT 209
+#define IMG_CONVEYOR_BELT1_RIGHT_ACTIVE 210
+#define IMG_CONVEYOR_BELT1_SWITCH_LEFT 211
+#define IMG_CONVEYOR_BELT1_SWITCH_MIDDLE 212
+#define IMG_CONVEYOR_BELT1_SWITCH_RIGHT 213
+#define IMG_CONVEYOR_BELT2_MIDDLE 214
+#define IMG_CONVEYOR_BELT2_MIDDLE_ACTIVE 215
+#define IMG_CONVEYOR_BELT2_LEFT 216
+#define IMG_CONVEYOR_BELT2_LEFT_ACTIVE 217
+#define IMG_CONVEYOR_BELT2_RIGHT 218
+#define IMG_CONVEYOR_BELT2_RIGHT_ACTIVE 219
+#define IMG_CONVEYOR_BELT2_SWITCH_LEFT 220
+#define IMG_CONVEYOR_BELT2_SWITCH_MIDDLE 221
+#define IMG_CONVEYOR_BELT2_SWITCH_RIGHT 222
+#define IMG_CONVEYOR_BELT3_MIDDLE 223
+#define IMG_CONVEYOR_BELT3_MIDDLE_ACTIVE 224
+#define IMG_CONVEYOR_BELT3_LEFT 225
+#define IMG_CONVEYOR_BELT3_LEFT_ACTIVE 226
+#define IMG_CONVEYOR_BELT3_RIGHT 227
+#define IMG_CONVEYOR_BELT3_RIGHT_ACTIVE 228
+#define IMG_CONVEYOR_BELT3_SWITCH_LEFT 229
+#define IMG_CONVEYOR_BELT3_SWITCH_MIDDLE 230
+#define IMG_CONVEYOR_BELT3_SWITCH_RIGHT 231
+#define IMG_CONVEYOR_BELT4_MIDDLE 232
+#define IMG_CONVEYOR_BELT4_MIDDLE_ACTIVE 233
+#define IMG_CONVEYOR_BELT4_LEFT 234
+#define IMG_CONVEYOR_BELT4_LEFT_ACTIVE 235
+#define IMG_CONVEYOR_BELT4_RIGHT 236
+#define IMG_CONVEYOR_BELT4_RIGHT_ACTIVE 237
+#define IMG_CONVEYOR_BELT4_SWITCH_LEFT 238
+#define IMG_CONVEYOR_BELT4_SWITCH_MIDDLE 239
+#define IMG_CONVEYOR_BELT4_SWITCH_RIGHT 240
+#define IMG_SWITCHGATE_SWITCH_UP 241
+#define IMG_SWITCHGATE_SWITCH_DOWN 242
+#define IMG_LIGHT_SWITCH 243
+#define IMG_LIGHT_SWITCH_ACTIVE 244
+#define IMG_TIMEGATE_SWITCH 245
+#define IMG_TIMEGATE_SWITCH_ACTIVE 246
+#define IMG_ENVELOPE 247
+#define IMG_SIGN_EXCLAMATION 248
+#define IMG_SIGN_STOP 249
+#define IMG_LANDMINE 250
+#define IMG_STEELWALL_SLANTED 251
+#define IMG_EXTRA_TIME 252
+#define IMG_SHIELD_DEADLY 253
+#define IMG_SHIELD_NORMAL 254
+#define IMG_SHIELD_NORMAL_ACTIVE 255
+#define IMG_SHIELD_DEADLY_ACTIVE 256
+#define IMG_SWITCHGATE_CLOSED 257
+#define IMG_SWITCHGATE_OPENING 258
+#define IMG_SWITCHGATE_OPEN 259
+#define IMG_SWITCHGATE_CLOSING 260
+#define IMG_TIMEGATE_CLOSED 261
+#define IMG_TIMEGATE_OPENING 262
+#define IMG_TIMEGATE_OPEN 263
+#define IMG_TIMEGATE_CLOSING 264
+#define IMG_PEARL 265
+#define IMG_PEARL_BREAKING 266
+#define IMG_CRYSTAL 267
+#define IMG_WALL_PEARL 268
+#define IMG_WALL_CRYSTAL 269
+#define IMG_TUBE_RIGHT_DOWN 270
+#define IMG_TUBE_HORIZONTAL_DOWN 271
+#define IMG_TUBE_LEFT_DOWN 272
+#define IMG_TUBE_HORIZONTAL 273
+#define IMG_TUBE_VERTICAL_RIGHT 274
+#define IMG_TUBE_ALL 275
+#define IMG_TUBE_VERTICAL_LEFT 276
+#define IMG_TUBE_VERTICAL 277
+#define IMG_TUBE_RIGHT_UP 278
+#define IMG_TUBE_HORIZONTAL_UP 279
+#define IMG_TUBE_LEFT_UP 280
+#define IMG_TRAP 281
+#define IMG_TRAP_ACTIVE 282
+#define IMG_DX_SUPABOMB 283
+#define IMG_KEY1 284
+#define IMG_KEY2 285
+#define IMG_KEY3 286
+#define IMG_KEY4 287
+#define IMG_GATE1 288
+#define IMG_GATE2 289
+#define IMG_GATE3 290
+#define IMG_GATE4 291
+#define IMG_GATE1_GRAY 292
+#define IMG_GATE2_GRAY 293
+#define IMG_GATE3_GRAY 294
+#define IMG_GATE4_GRAY 295
+#define IMG_GAMEOFLIFE 296
+#define IMG_BIOMAZE 297
+#define IMG_PACMAN_RIGHT 298
+#define IMG_PACMAN_UP 299
+#define IMG_PACMAN_LEFT 300
+#define IMG_PACMAN_DOWN 301
+#define IMG_LAMP 302
+#define IMG_LAMP_ACTIVE 303
+#define IMG_TIME_ORB_FULL 304
+#define IMG_TIME_ORB_EMPTY 305
+#define IMG_EMERALD_YELLOW 306
+#define IMG_EMERALD_YELLOW_FALLING 307
+#define IMG_EMERALD_RED 308
+#define IMG_EMERALD_RED_FALLING 309
+#define IMG_EMERALD_PURPLE 310
+#define IMG_EMERALD_PURPLE_FALLING 311
+#define IMG_WALL_EMERALD_YELLOW 312
+#define IMG_WALL_EMERALD_RED 313
+#define IMG_WALL_EMERALD_PURPLE 314
+#define IMG_WALL_BD_DIAMOND 315
+#define IMG_WALL_GROWING_XY 316
+#define IMG_WALL_GROWING_X 317
+#define IMG_WALL_GROWING_Y 318
+#define IMG_WALL_GROWING_ACTIVE_LEFT 319
+#define IMG_WALL_GROWING_ACTIVE_RIGHT 320
+#define IMG_WALL_GROWING_ACTIVE_UP 321
+#define IMG_WALL_GROWING_ACTIVE_DOWN 322
+#define IMG_BLACK_ORB 323
+#define IMG_SPEED_PILL 324
+#define IMG_DARK_YAMYAM 325
+#define IMG_DYNABOMB_ACTIVE 326
+#define IMG_DYNABOMB_PLAYER1_ACTIVE 327
+#define IMG_DYNABOMB_PLAYER2_ACTIVE 328
+#define IMG_DYNABOMB_PLAYER3_ACTIVE 329
+#define IMG_DYNABOMB_PLAYER4_ACTIVE 330
+#define IMG_DYNABOMB_NR 331
+#define IMG_DYNABOMB_SZ 332
+#define IMG_DYNABOMB_XL 333
+#define IMG_PIG_DOWN 334
+#define IMG_PIG_DOWN_MOVING 335
+#define IMG_PIG_DOWN_EATING 336
+#define IMG_PIG_UP 337
+#define IMG_PIG_UP_MOVING 338
+#define IMG_PIG_UP_EATING 339
+#define IMG_PIG_LEFT 340
+#define IMG_PIG_LEFT_MOVING 341
+#define IMG_PIG_LEFT_EATING 342
+#define IMG_PIG_RIGHT 343
+#define IMG_PIG_RIGHT_MOVING 344
+#define IMG_PIG_RIGHT_EATING 345
+#define IMG_DRAGON_DOWN 346
+#define IMG_DRAGON_DOWN_MOVING 347
+#define IMG_DRAGON_DOWN_ATTACKING 348
+#define IMG_DRAGON_UP 349
+#define IMG_DRAGON_UP_MOVING 350
+#define IMG_DRAGON_UP_ATTACKING 351
+#define IMG_DRAGON_LEFT 352
+#define IMG_DRAGON_LEFT_MOVING 353
+#define IMG_DRAGON_LEFT_ATTACKING 354
+#define IMG_DRAGON_RIGHT 355
+#define IMG_DRAGON_RIGHT_MOVING 356
+#define IMG_DRAGON_RIGHT_ATTACKING 357
+#define IMG_MOLE_DOWN 358
+#define IMG_MOLE_DOWN_MOVING 359
+#define IMG_MOLE_DOWN_DIGGING 360
+#define IMG_MOLE_UP 361
+#define IMG_MOLE_UP_MOVING 362
+#define IMG_MOLE_UP_DIGGING 363
+#define IMG_MOLE_LEFT 364
+#define IMG_MOLE_LEFT_MOVING 365
+#define IMG_MOLE_LEFT_DIGGING 366
+#define IMG_MOLE_RIGHT 367
+#define IMG_MOLE_RIGHT_MOVING 368
+#define IMG_MOLE_RIGHT_DIGGING 369
+#define IMG_PENGUIN_DOWN 370
+#define IMG_PENGUIN_DOWN_MOVING 371
+#define IMG_PENGUIN_UP 372
+#define IMG_PENGUIN_UP_MOVING 373
+#define IMG_PENGUIN_LEFT 374
+#define IMG_PENGUIN_LEFT_MOVING 375
+#define IMG_PENGUIN_RIGHT 376
+#define IMG_PENGUIN_RIGHT_MOVING 377
+#define IMG_SATELLITE 378
+#define IMG_SATELLITE_MOVING 379
+#define IMG_FLAMES_LEFT1 380
+#define IMG_FLAMES_LEFT2 381
+#define IMG_FLAMES_LEFT3 382
+#define IMG_FLAMES_RIGHT1 383
+#define IMG_FLAMES_RIGHT2 384
+#define IMG_FLAMES_RIGHT3 385
+#define IMG_FLAMES_UP1 386
+#define IMG_FLAMES_UP2 387
+#define IMG_FLAMES_UP3 388
+#define IMG_FLAMES_DOWN1 389
+#define IMG_FLAMES_DOWN2 390
+#define IMG_FLAMES_DOWN3 391
+#define IMG_STONEBLOCK 392
+#define IMG_PLAYER1 393
+#define IMG_PLAYER1_DOWN 394
+#define IMG_PLAYER1_DOWN_MOVING 395
+#define IMG_PLAYER1_DOWN_DIGGING 396
+#define IMG_PLAYER1_DOWN_PUSHING 397
+#define IMG_PLAYER1_DOWN_SNAPPING 398
+#define IMG_PLAYER1_UP 399
+#define IMG_PLAYER1_UP_MOVING 400
+#define IMG_PLAYER1_UP_DIGGING 401
+#define IMG_PLAYER1_UP_PUSHING 402
+#define IMG_PLAYER1_UP_SNAPPING 403
+#define IMG_PLAYER1_LEFT 404
+#define IMG_PLAYER1_LEFT_MOVING 405
+#define IMG_PLAYER1_LEFT_DIGGING 406
+#define IMG_PLAYER1_LEFT_PUSHING 407
+#define IMG_PLAYER1_LEFT_SNAPPING 408
+#define IMG_PLAYER1_RIGHT 409
+#define IMG_PLAYER1_RIGHT_MOVING 410
+#define IMG_PLAYER1_RIGHT_DIGGING 411
+#define IMG_PLAYER1_RIGHT_PUSHING 412
+#define IMG_PLAYER1_RIGHT_SNAPPING 413
+#define IMG_PLAYER2 414
+#define IMG_PLAYER2_DOWN 415
+#define IMG_PLAYER2_DOWN_MOVING 416
+#define IMG_PLAYER2_DOWN_DIGGING 417
+#define IMG_PLAYER2_DOWN_PUSHING 418
+#define IMG_PLAYER2_DOWN_SNAPPING 419
+#define IMG_PLAYER2_UP 420
+#define IMG_PLAYER2_UP_MOVING 421
+#define IMG_PLAYER2_UP_DIGGING 422
+#define IMG_PLAYER2_UP_PUSHING 423
+#define IMG_PLAYER2_UP_SNAPPING 424
+#define IMG_PLAYER2_LEFT 425
+#define IMG_PLAYER2_LEFT_MOVING 426
+#define IMG_PLAYER2_LEFT_DIGGING 427
+#define IMG_PLAYER2_LEFT_PUSHING 428
+#define IMG_PLAYER2_LEFT_SNAPPING 429
+#define IMG_PLAYER2_RIGHT 430
+#define IMG_PLAYER2_RIGHT_MOVING 431
+#define IMG_PLAYER2_RIGHT_DIGGING 432
+#define IMG_PLAYER2_RIGHT_PUSHING 433
+#define IMG_PLAYER2_RIGHT_SNAPPING 434
+#define IMG_PLAYER3 435
+#define IMG_PLAYER3_DOWN 436
+#define IMG_PLAYER3_DOWN_MOVING 437
+#define IMG_PLAYER3_DOWN_DIGGING 438
+#define IMG_PLAYER3_DOWN_PUSHING 439
+#define IMG_PLAYER3_DOWN_SNAPPING 440
+#define IMG_PLAYER3_UP 441
+#define IMG_PLAYER3_UP_MOVING 442
+#define IMG_PLAYER3_UP_DIGGING 443
+#define IMG_PLAYER3_UP_PUSHING 444
+#define IMG_PLAYER3_UP_SNAPPING 445
+#define IMG_PLAYER3_LEFT 446
+#define IMG_PLAYER3_LEFT_MOVING 447
+#define IMG_PLAYER3_LEFT_DIGGING 448
+#define IMG_PLAYER3_LEFT_PUSHING 449
+#define IMG_PLAYER3_LEFT_SNAPPING 450
+#define IMG_PLAYER3_RIGHT 451
+#define IMG_PLAYER3_RIGHT_MOVING 452
+#define IMG_PLAYER3_RIGHT_DIGGING 453
+#define IMG_PLAYER3_RIGHT_PUSHING 454
+#define IMG_PLAYER3_RIGHT_SNAPPING 455
+#define IMG_PLAYER4 456
+#define IMG_PLAYER4_DOWN 457
+#define IMG_PLAYER4_DOWN_MOVING 458
+#define IMG_PLAYER4_DOWN_DIGGING 459
+#define IMG_PLAYER4_DOWN_PUSHING 460
+#define IMG_PLAYER4_DOWN_SNAPPING 461
+#define IMG_PLAYER4_UP 462
+#define IMG_PLAYER4_UP_MOVING 463
+#define IMG_PLAYER4_UP_DIGGING 464
+#define IMG_PLAYER4_UP_PUSHING 465
+#define IMG_PLAYER4_UP_SNAPPING 466
+#define IMG_PLAYER4_LEFT 467
+#define IMG_PLAYER4_LEFT_MOVING 468
+#define IMG_PLAYER4_LEFT_DIGGING 469
+#define IMG_PLAYER4_LEFT_PUSHING 470
+#define IMG_PLAYER4_LEFT_SNAPPING 471
+#define IMG_PLAYER4_RIGHT 472
+#define IMG_PLAYER4_RIGHT_MOVING 473
+#define IMG_PLAYER4_RIGHT_DIGGING 474
+#define IMG_PLAYER4_RIGHT_PUSHING 475
+#define IMG_PLAYER4_RIGHT_SNAPPING 476
+#define IMG_EXPLOSION 477
+#define IMG_TWINKLE_BLUE 478
+#define IMG_TWINKLE_WHITE 479
+#define IMG_STEELWALL_TOPLEFT 480
+#define IMG_STEELWALL_TOPRIGHT 481
+#define IMG_STEELWALL_BOTTOMLEFT 482
+#define IMG_STEELWALL_BOTTOMRIGHT 483
+#define IMG_STEELWALL_HORIZONTAL 484
+#define IMG_STEELWALL_VERTICAL 485
+#define IMG_INVISIBLE_STEELWALL_TOPLEFT 486
+#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 487
+#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 488
+#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 489
+#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 490
+#define IMG_INVISIBLE_STEELWALL_VERTICAL 491
+#define IMG_ARROW_BLUE_LEFT 492
+#define IMG_ARROW_BLUE_RIGHT 493
+#define IMG_ARROW_BLUE_UP 494
+#define IMG_ARROW_BLUE_DOWN 495
+#define IMG_ARROW_RED_LEFT 496
+#define IMG_ARROW_RED_RIGHT 497
+#define IMG_ARROW_RED_UP 498
+#define IMG_ARROW_RED_DOWN 499
+#define IMG_SCROLLBAR_BLUE 500
+#define IMG_SCROLLBAR_RED 501
+#define IMG_SCROLLBAR_GREEN 502
+#define IMG_SCROLLBAR_YELLOW 503
+
+#define NUM_IMAGE_FILES 504
/* values for sound configuration suffixes */
#define SND_SP_EMPTY_SPACE_DIGGING 18
#define SND_SP_BASE_DIGGING 19
#define SND_SP_BUGGY_BASE_DIGGING 20
-#define SND_SP_BUGGY_BASE_ACTIVATING 21
+#define SND_SP_BUGGY_BASE_ACTIVE 21
#define SND_SP_INFOTRON_COLLECTING 22
#define SND_SP_INFOTRON_IMPACT 23
#define SND_SP_ZONK_PUSHING 24
#define SND_SP_DISK_YELLOW_PUSHING 28
#define SND_SP_PORT_PASSING 29
#define SND_SP_EXIT_PASSING 30
-#define SND_SP_ELEMENT_EXPLODING 31
-#define SND_SP_SNIKSNAK_MOVING 32
-#define SND_SP_SNIKSNAK_WAITING 33
-#define SND_SP_ELECTRON_MOVING 34
-#define SND_SP_ELECTRON_WAITING 35
-#define SND_SP_TERMINAL_ACTIVATING 36
-#define SND_SP_TERMINAL_ACTIVE 37
-#define SND_SOKOBAN_OBJECT_PUSHING 38
-#define SND_SOKOBAN_FIELD_FILLING 39
-#define SND_SOKOBAN_FIELD_EMPTYING 40
-#define SND_SOKOBAN_GAME_SOLVING 41
-#define SND_EMPTY_SPACE_DIGGING 42
-#define SND_SAND_DIGGING 43
-#define SND_EMERALD_COLLECTING 44
-#define SND_EMERALD_IMPACT 45
-#define SND_DIAMOND_COLLECTING 46
-#define SND_DIAMOND_IMPACT 47
-#define SND_DIAMOND_BREAKING 48
-#define SND_ROCK_PUSHING 49
-#define SND_ROCK_IMPACT 50
-#define SND_BOMB_PUSHING 51
-#define SND_NUT_PUSHING 52
-#define SND_NUT_CRACKING 53
-#define SND_NUT_IMPACT 54
-#define SND_DYNAMITE_COLLECTING 55
-#define SND_DYNAMITE_DROPPING 56
-#define SND_DYNAMITE_ACTIVE 57
-#define SND_KEY_COLLECTING 58
-#define SND_GATE_PASSING 59
-#define SND_BUG_MOVING 60
-#define SND_BUG_WAITING 61
-#define SND_SPACESHIP_MOVING 62
-#define SND_SPACESHIP_WAITING 63
-#define SND_YAMYAM_MOVING 64
-#define SND_YAMYAM_WAITING 65
-#define SND_YAMYAM_EATING 66
-#define SND_ROBOT_STEPPING 67
-#define SND_ROBOT_WAITING 68
-#define SND_ROBOT_WHEEL_ACTIVATING 69
-#define SND_ROBOT_WHEEL_ACTIVE 70
-#define SND_MAGIC_WALL_ACTIVATING 71
-#define SND_MAGIC_WALL_ACTIVE 72
-#define SND_MAGIC_WALL_CHANGING 73
-#define SND_AMOEBA_WAITING 74
-#define SND_AMOEBA_CREATING 75
-#define SND_AMOEBA_DROP_CREATING 76
-#define SND_ACID_SPLASHING 77
-#define SND_QUICKSAND_FILLING 78
-#define SND_QUICKSAND_SLIPPING 79
-#define SND_QUICKSAND_EMPTYING 80
-#define SND_EXIT_OPENING 81
-#define SND_EXIT_PASSING 82
-#define SND_BALLOON_MOVING 83
-#define SND_BALLOON_WAITING 84
-#define SND_BALLOON_PUSHING 85
-#define SND_BALLOON_SWITCH_ACTIVATING 86
-#define SND_SPRING_MOVING 87
-#define SND_SPRING_PUSHING 88
-#define SND_SPRING_IMPACT 89
-#define SND_WALL_GROWING 90
-#define SND_PEARL_COLLECTING 91
-#define SND_PEARL_BREAKING 92
-#define SND_PEARL_IMPACT 93
-#define SND_CRYSTAL_COLLECTING 94
-#define SND_CRYSTAL_IMPACT 95
-#define SND_ENVELOPE_COLLECTING 96
-#define SND_SAND_INVISIBLE_DIGGING 97
-#define SND_SHIELD_NORMAL_COLLECTING 98
-#define SND_SHIELD_NORMAL_ACTIVE 99
-#define SND_SHIELD_DEADLY_COLLECTING 100
-#define SND_SHIELD_DEADLY_ACTIVE 101
-#define SND_EXTRA_TIME_COLLECTING 102
-#define SND_MOLE_MOVING 103
-#define SND_MOLE_WAITING 104
-#define SND_MOLE_EATING 105
-#define SND_SWITCHGATE_SWITCH_ACTIVATING 106
-#define SND_SWITCHGATE_OPENING 107
-#define SND_SWITCHGATE_CLOSING 108
-#define SND_SWITCHGATE_PASSING 109
-#define SND_TIMEGATE_WHEEL_ACTIVATING 110
-#define SND_TIMEGATE_WHEEL_ACTIVE 111
-#define SND_TIMEGATE_OPENING 112
-#define SND_TIMEGATE_CLOSING 113
-#define SND_TIMEGATE_PASSING 114
-#define SND_CONVEYOR_BELT_SWITCH_ACTIVATING 115
-#define SND_CONVEYOR_BELT_SWITCH_DEACTIVATING 116
-#define SND_CONVEYOR_BELT_ACTIVE 117
-#define SND_LIGHT_SWITCH_ACTIVATING 118
-#define SND_LIGHT_SWITCH_DEACTIVATING 119
-#define SND_DX_BOMB_PUSHING 120
-#define SND_TRAP_INACTIVE_DIGGING 121
-#define SND_TRAP_ACTIVATING 122
-#define SND_TUBE_PASSING 123
-#define SND_AMOEBA_TURNING_TO_GEM 124
-#define SND_AMOEBA_TURNING_TO_ROCK 125
-#define SND_SPEED_PILL_COLLECTING 126
-#define SND_DYNABOMB_NR_COLLECTING 127
-#define SND_DYNABOMB_SZ_COLLECTING 128
-#define SND_DYNABOMB_XL_COLLECTING 129
-#define SND_DYNABOMB_DROPPING 130
-#define SND_DYNABOMB_ACTIVE 131
-#define SND_SATELLITE_MOVING 132
-#define SND_SATELLITE_WAITING 133
-#define SND_SATELLITE_PUSHING 134
-#define SND_LAMP_ACTIVATING 135
-#define SND_LAMP_DEACTIVATING 136
-#define SND_TIME_ORB_FULL_COLLECTING 137
-#define SND_TIME_ORB_FULL_IMPACT 138
-#define SND_TIME_ORB_EMPTY_PUSHING 139
-#define SND_TIME_ORB_EMPTY_IMPACT 140
-#define SND_GAMEOFLIFE_WAITING 141
-#define SND_GAMEOFLIFE_CREATING 142
-#define SND_BIOMAZE_WAITING 143
-#define SND_BIOMAZE_CREATING 144
-#define SND_PACMAN_MOVING 145
-#define SND_PACMAN_WAITING 146
-#define SND_PACMAN_EATING 147
-#define SND_DARK_YAMYAM_MOVING 148
-#define SND_DARK_YAMYAM_WAITING 149
-#define SND_DARK_YAMYAM_EATING 150
-#define SND_PENGUIN_MOVING 151
-#define SND_PENGUIN_WAITING 152
-#define SND_PENGUIN_PASSING_EXIT 153
-#define SND_PIG_MOVING 154
-#define SND_PIG_WAITING 155
-#define SND_PIG_EATING 156
-#define SND_DRAGON_MOVING 157
-#define SND_DRAGON_WAITING 158
-#define SND_DRAGON_ATTACKING 159
-#define SND_PLAYER_DYING 160
-#define SND_ELEMENT_EXPLODING 161
-#define SND_GAME_STARTING 162
-#define SND_GAME_RUNNING_OUT_OF_TIME 163
-#define SND_GAME_LEVELTIME_BONUS 164
-#define SND_GAME_LOSING 165
-#define SND_GAME_WINNING 166
-#define SND_MENU_DOOR_OPENING 167
-#define SND_MENU_DOOR_CLOSING 168
-#define SND_MENU_HALL_OF_FAME 169
-#define SND_MENU_INFO_SCREEN 170
-
-#define NUM_SOUND_FILES 171
+#define SND_SP_EXIT_OPENING 31
+#define SND_SP_ELEMENT_EXPLODING 32
+#define SND_SP_SNIKSNAK_MOVING 33
+#define SND_SP_SNIKSNAK_WAITING 34
+#define SND_SP_ELECTRON_MOVING 35
+#define SND_SP_ELECTRON_WAITING 36
+#define SND_SP_TERMINAL_ACTIVATING 37
+#define SND_SP_TERMINAL_ACTIVE 38
+#define SND_SOKOBAN_OBJECT_PUSHING 39
+#define SND_SOKOBAN_FIELD_FILLING 40
+#define SND_SOKOBAN_FIELD_EMPTYING 41
+#define SND_SOKOBAN_GAME_SOLVING 42
+#define SND_EMPTY_SPACE_DIGGING 43
+#define SND_SAND_DIGGING 44
+#define SND_EMERALD_COLLECTING 45
+#define SND_EMERALD_IMPACT 46
+#define SND_DIAMOND_COLLECTING 47
+#define SND_DIAMOND_IMPACT 48
+#define SND_DIAMOND_BREAKING 49
+#define SND_ROCK_PUSHING 50
+#define SND_ROCK_IMPACT 51
+#define SND_BOMB_PUSHING 52
+#define SND_NUT_PUSHING 53
+#define SND_NUT_CRACKING 54
+#define SND_NUT_IMPACT 55
+#define SND_DYNAMITE_COLLECTING 56
+#define SND_DYNAMITE_DROPPING 57
+#define SND_DYNAMITE_ACTIVE 58
+#define SND_KEY_COLLECTING 59
+#define SND_GATE_PASSING 60
+#define SND_BUG_MOVING 61
+#define SND_BUG_WAITING 62
+#define SND_SPACESHIP_MOVING 63
+#define SND_SPACESHIP_WAITING 64
+#define SND_YAMYAM_MOVING 65
+#define SND_YAMYAM_WAITING 66
+#define SND_YAMYAM_EATING 67
+#define SND_ROBOT_STEPPING 68
+#define SND_ROBOT_WAITING 69
+#define SND_ROBOT_WHEEL_ACTIVATING 70
+#define SND_ROBOT_WHEEL_ACTIVE 71
+#define SND_MAGIC_WALL_ACTIVATING 72
+#define SND_MAGIC_WALL_ACTIVE 73
+#define SND_MAGIC_WALL_CHANGING 74
+#define SND_AMOEBA_WAITING 75
+#define SND_AMOEBA_CREATING 76
+#define SND_AMOEBA_DROP_CREATING 77
+#define SND_ACID_SPLASHING 78
+#define SND_QUICKSAND_FILLING 79
+#define SND_QUICKSAND_SLIPPING 80
+#define SND_QUICKSAND_EMPTYING 81
+#define SND_EXIT_OPENING 82
+#define SND_EXIT_PASSING 83
+#define SND_BALLOON_MOVING 84
+#define SND_BALLOON_WAITING 85
+#define SND_BALLOON_PUSHING 86
+#define SND_BALLOON_SWITCH_ACTIVATING 87
+#define SND_SPRING_MOVING 88
+#define SND_SPRING_PUSHING 89
+#define SND_SPRING_IMPACT 90
+#define SND_WALL_GROWING 91
+#define SND_PEARL_COLLECTING 92
+#define SND_PEARL_BREAKING 93
+#define SND_PEARL_IMPACT 94
+#define SND_CRYSTAL_COLLECTING 95
+#define SND_CRYSTAL_IMPACT 96
+#define SND_ENVELOPE_COLLECTING 97
+#define SND_SAND_INVISIBLE_DIGGING 98
+#define SND_SHIELD_NORMAL_COLLECTING 99
+#define SND_SHIELD_NORMAL_ACTIVE 100
+#define SND_SHIELD_DEADLY_COLLECTING 101
+#define SND_SHIELD_DEADLY_ACTIVE 102
+#define SND_EXTRA_TIME_COLLECTING 103
+#define SND_MOLE_MOVING 104
+#define SND_MOLE_WAITING 105
+#define SND_MOLE_EATING 106
+#define SND_SWITCHGATE_SWITCH_ACTIVATING 107
+#define SND_SWITCHGATE_OPENING 108
+#define SND_SWITCHGATE_CLOSING 109
+#define SND_SWITCHGATE_PASSING 110
+#define SND_TIMEGATE_SWITCH_ACTIVATING 111
+#define SND_TIMEGATE_SWITCH_ACTIVE 112
+#define SND_TIMEGATE_OPENING 113
+#define SND_TIMEGATE_CLOSING 114
+#define SND_TIMEGATE_PASSING 115
+#define SND_CONVEYOR_BELT_SWITCH_ACTIVATING 116
+#define SND_CONVEYOR_BELT_SWITCH_DEACTIVATING 117
+#define SND_CONVEYOR_BELT_ACTIVE 118
+#define SND_LIGHT_SWITCH_ACTIVATING 119
+#define SND_LIGHT_SWITCH_DEACTIVATING 120
+#define SND_DX_BOMB_PUSHING 121
+#define SND_TRAP_INACTIVE_DIGGING 122
+#define SND_TRAP_ACTIVATING 123
+#define SND_TUBE_PASSING 124
+#define SND_AMOEBA_TURNING_TO_GEM 125
+#define SND_AMOEBA_TURNING_TO_ROCK 126
+#define SND_SPEED_PILL_COLLECTING 127
+#define SND_DYNABOMB_NR_COLLECTING 128
+#define SND_DYNABOMB_SZ_COLLECTING 129
+#define SND_DYNABOMB_XL_COLLECTING 130
+#define SND_DYNABOMB_DROPPING 131
+#define SND_DYNABOMB_ACTIVE 132
+#define SND_SATELLITE_MOVING 133
+#define SND_SATELLITE_WAITING 134
+#define SND_SATELLITE_PUSHING 135
+#define SND_LAMP_ACTIVATING 136
+#define SND_LAMP_DEACTIVATING 137
+#define SND_TIME_ORB_FULL_COLLECTING 138
+#define SND_TIME_ORB_FULL_IMPACT 139
+#define SND_TIME_ORB_EMPTY_PUSHING 140
+#define SND_TIME_ORB_EMPTY_IMPACT 141
+#define SND_GAMEOFLIFE_WAITING 142
+#define SND_GAMEOFLIFE_CREATING 143
+#define SND_BIOMAZE_WAITING 144
+#define SND_BIOMAZE_CREATING 145
+#define SND_PACMAN_MOVING 146
+#define SND_PACMAN_WAITING 147
+#define SND_PACMAN_EATING 148
+#define SND_DARK_YAMYAM_MOVING 149
+#define SND_DARK_YAMYAM_WAITING 150
+#define SND_DARK_YAMYAM_EATING 151
+#define SND_PENGUIN_MOVING 152
+#define SND_PENGUIN_WAITING 153
+#define SND_PENGUIN_PASSING_EXIT 154
+#define SND_PIG_MOVING 155
+#define SND_PIG_WAITING 156
+#define SND_PIG_EATING 157
+#define SND_DRAGON_MOVING 158
+#define SND_DRAGON_WAITING 159
+#define SND_DRAGON_ATTACKING 160
+#define SND_PLAYER_DYING 161
+#define SND_ELEMENT_EXPLODING 162
+#define SND_GAME_STARTING 163
+#define SND_GAME_RUNNING_OUT_OF_TIME 164
+#define SND_GAME_LEVELTIME_BONUS 165
+#define SND_GAME_LOSING 166
+#define SND_GAME_WINNING 167
+#define SND_MENU_DOOR_OPENING 168
+#define SND_MENU_DOOR_CLOSING 169
+#define SND_MENU_HALL_OF_FAME 170
+#define SND_MENU_INFO_SCREEN 171
+
+#define NUM_SOUND_FILES 172
/* values for game_status */