rnd-20030306-1-src
authorHolger Schemel <info@artsoft.org>
Wed, 5 Mar 2003 23:47:51 +0000 (00:47 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:40:38 +0000 (10:40 +0200)
src/conf_e2g.c
src/conf_gfx.c
src/conf_gfx.h
src/conftime.h
src/game.c
src/main.c
src/main.h
src/tools.c

index dd31ede8765f40eabb31af9aff77a856f31f8d46..90cd877524c580fabae9bbab1b0fc0756b26380d 100644 (file)
@@ -488,6 +488,22 @@ element_to_graphic[] =
     EL_SAND_CRUMBLED,                          -1, -1,
     IMG_SAND_CRUMBLED
   },
+  {
+    EL_SAND,                                   ACTION_DIGGING, MV_BIT_LEFT,
+    IMG_SAND_DIGGING_LEFT
+  },
+  {
+    EL_SAND,                                   ACTION_DIGGING, MV_BIT_RIGHT,
+    IMG_SAND_DIGGING_RIGHT
+  },
+  {
+    EL_SAND,                                   ACTION_DIGGING, MV_BIT_UP,
+    IMG_SAND_DIGGING_UP
+  },
+  {
+    EL_SAND,                                   ACTION_DIGGING, MV_BIT_DOWN,
+    IMG_SAND_DIGGING_DOWN
+  },
   {
     EL_WALL,                                   -1, -1,
     IMG_WALL
index af832b3328f28c19b34d7e36f291da29eaa3df63..a5ea09401911733e2703d20376b972d6c8132bcd 100644 (file)
@@ -571,6 +571,30 @@ struct ConfigInfo image_config[] =
   { "sand_crumbled.xpos",                      "1"                     },
   { "sand_crumbled.ypos",                      "0"                     },
   { "sand_crumbled.frames",                    "1"                     },
+  { "sand.digging.left",                       "RocksMore.pcx"         },
+  { "sand.digging.left.xpos",                  "6"                     },
+  { "sand.digging.left.ypos",                  "3"                     },
+  { "sand.digging.left.frames",                        "3"                     },
+  { "sand.digging.left.delay",                 "2"                     },
+  { "sand.digging.left.anim_mode",             "linear"                },
+  { "sand.digging.right",                      "RocksMore.pcx"         },
+  { "sand.digging.right.xpos",                 "9"                     },
+  { "sand.digging.right.ypos",                 "3"                     },
+  { "sand.digging.right.frames",               "3"                     },
+  { "sand.digging.right.delay",                        "2"                     },
+  { "sand.digging.right.anim_mode",            "linear"                },
+  { "sand.digging.up",                         "RocksMore.pcx"         },
+  { "sand.digging.up.xpos",                    "0"                     },
+  { "sand.digging.up.ypos",                    "3"                     },
+  { "sand.digging.up.frames",                  "3"                     },
+  { "sand.digging.up.delay",                   "2"                     },
+  { "sand.digging.up.anim_mode",               "linear"                },
+  { "sand.digging.down",                       "RocksMore.pcx"         },
+  { "sand.digging.down.xpos",                  "3"                     },
+  { "sand.digging.down.ypos",                  "3"                     },
+  { "sand.digging.down.frames",                        "3"                     },
+  { "sand.digging.down.delay",                 "2"                     },
+  { "sand.digging.down.anim_mode",             "linear"                },
 
   { "wall",                                    "RocksElements.pcx"     },
   { "wall.xpos",                               "5"                     },
index 91ae02fa181d4622240c6fe2b6f63eb41cdc38f7..87886239919e914dd06e73600137b88c53feff64 100644 (file)
 #define IMG_EMPTY_SPACE                                        106
 #define IMG_SAND                                       107
 #define IMG_SAND_CRUMBLED                              108
-#define IMG_WALL                                       109
-#define IMG_WALL_CRUMBLED                              110
-#define IMG_STEELWALL                                  111
-#define IMG_ROCK                                       112
-#define IMG_ROCK_FALLING                               113
-#define IMG_ROCK_MOVING_LEFT                           114
-#define IMG_ROCK_MOVING_RIGHT                          115
-#define IMG_EMERALD                                    116
-#define IMG_EMERALD_MOVING                             117
-#define IMG_EMERALD_FALLING                            118
-#define IMG_DIAMOND                                    119
-#define IMG_DIAMOND_MOVING                             120
-#define IMG_DIAMOND_FALLING                            121
-#define IMG_BOMB                                       122
-#define IMG_NUT                                                123
-#define IMG_NUT_FALLING                                        124
-#define IMG_NUT_MOVING_LEFT                            125
-#define IMG_NUT_MOVING_RIGHT                           126
-#define IMG_NUT_BREAKING                               127
-#define IMG_DYNAMITE                                   128
-#define IMG_DYNAMITE_EDITOR                            129
-#define IMG_DYNAMITE_ACTIVE                            130
-#define IMG_DYNAMITE_ACTIVE_EDITOR                     131
-#define IMG_WALL_EMERALD                               132
-#define IMG_WALL_DIAMOND                               133
-#define IMG_BUG_RIGHT                                  134
-#define IMG_BUG_UP                                     135
-#define IMG_BUG_LEFT                                   136
-#define IMG_BUG_DOWN                                   137
-#define IMG_SPACESHIP_RIGHT                            138
-#define IMG_SPACESHIP_UP                               139
-#define IMG_SPACESHIP_LEFT                             140
-#define IMG_SPACESHIP_DOWN                             141
-#define IMG_YAMYAM                                     142
-#define IMG_YAMYAM_MOVING                              143
-#define IMG_ROBOT                                      144
-#define IMG_ROBOT_MOVING                               145
-#define IMG_ROBOT_WHEEL                                        146
-#define IMG_ROBOT_WHEEL_ACTIVE                         147
-#define IMG_MAGIC_WALL                                 148
-#define IMG_MAGIC_WALL_ACTIVE                          149
-#define IMG_MAGIC_WALL_FILLING                         150
-#define IMG_MAGIC_WALL_FULL                            151
-#define IMG_MAGIC_WALL_EMPTYING                                152
-#define IMG_MAGIC_WALL_DEAD                            153
-#define IMG_QUICKSAND_EMPTY                            154
-#define IMG_QUICKSAND_FILLING                          155
-#define IMG_QUICKSAND_FULL                             156
-#define IMG_QUICKSAND_FULL_EDITOR                      157
-#define IMG_QUICKSAND_EMPTYING                         158
-#define IMG_ACID_POOL_TOPLEFT                          159
-#define IMG_ACID_POOL_TOPRIGHT                         160
-#define IMG_ACID_POOL_BOTTOMLEFT                       161
-#define IMG_ACID_POOL_BOTTOM                           162
-#define IMG_ACID_POOL_BOTTOMRIGHT                      163
-#define IMG_ACID                                       164
-#define IMG_ACID_SPLASH_LEFT                           165
-#define IMG_ACID_SPLASH_RIGHT                          166
-#define IMG_AMOEBA_DROP                                        167
-#define IMG_AMOEBA_GROWING                             168
-#define IMG_AMOEBA_SHRINKING                           169
-#define IMG_AMOEBA_WET                                 170
-#define IMG_AMOEBA_WET_EDITOR                          171
-#define IMG_AMOEBA_DROPPING                            172
-#define IMG_AMOEBA_DRY                                 173
-#define IMG_AMOEBA_FULL                                        174
-#define IMG_AMOEBA_FULL_EDITOR                         175
-#define IMG_AMOEBA_DEAD                                        176
-#define IMG_AMOEBA_DEAD_EDITOR                         177
-#define IMG_EM_KEY_1                                   178
-#define IMG_EM_KEY_2                                   179
-#define IMG_EM_KEY_3                                   180
-#define IMG_EM_KEY_4                                   181
-#define IMG_EM_GATE_1                                  182
-#define IMG_EM_GATE_2                                  183
-#define IMG_EM_GATE_3                                  184
-#define IMG_EM_GATE_4                                  185
-#define IMG_EM_GATE_1_GRAY                             186
-#define IMG_EM_GATE_1_GRAY_EDITOR                      187
-#define IMG_EM_GATE_2_GRAY                             188
-#define IMG_EM_GATE_2_GRAY_EDITOR                      189
-#define IMG_EM_GATE_3_GRAY                             190
-#define IMG_EM_GATE_3_GRAY_EDITOR                      191
-#define IMG_EM_GATE_4_GRAY                             192
-#define IMG_EM_GATE_4_GRAY_EDITOR                      193
-#define IMG_EXIT_CLOSED                                        194
-#define IMG_EXIT_OPENING                               195
-#define IMG_EXIT_OPEN                                  196
-#define IMG_BALLOON                                    197
-#define IMG_BALLOON_MOVING                             198
-#define IMG_BALLOON_SWITCH_LEFT                                199
-#define IMG_BALLOON_SWITCH_RIGHT                       200
-#define IMG_BALLOON_SWITCH_UP                          201
-#define IMG_BALLOON_SWITCH_DOWN                                202
-#define IMG_BALLOON_SWITCH_ANY                         203
-#define IMG_SPRING                                     204
-#define IMG_SPRING_MOVING                              205
-#define IMG_EMC_STEELWALL_1                            206
-#define IMG_EMC_STEELWALL_2                            207
-#define IMG_EMC_STEELWALL_3                            208
-#define IMG_EMC_STEELWALL_4                            209
-#define IMG_EMC_WALL_1                                 210
-#define IMG_EMC_WALL_2                                 211
-#define IMG_EMC_WALL_3                                 212
-#define IMG_EMC_WALL_4                                 213
-#define IMG_EMC_WALL_5                                 214
-#define IMG_EMC_WALL_6                                 215
-#define IMG_EMC_WALL_7                                 216
-#define IMG_EMC_WALL_8                                 217
-#define IMG_INVISIBLE_STEELWALL                                218
-#define IMG_INVISIBLE_STEELWALL_EDITOR                 219
-#define IMG_INVISIBLE_STEELWALL_ACTIVE                 220
-#define IMG_INVISIBLE_WALL                             221
-#define IMG_INVISIBLE_WALL_EDITOR                      222
-#define IMG_INVISIBLE_WALL_ACTIVE                      223
-#define IMG_INVISIBLE_SAND                             224
-#define IMG_INVISIBLE_SAND_EDITOR                      225
-#define IMG_INVISIBLE_SAND_ACTIVE                      226
-#define IMG_CONVEYOR_BELT_1_MIDDLE                     227
-#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE              228
-#define IMG_CONVEYOR_BELT_1_LEFT                       229
-#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE                        230
-#define IMG_CONVEYOR_BELT_1_RIGHT                      231
-#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE               232
-#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT                        233
-#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE              234
-#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT               235
-#define IMG_CONVEYOR_BELT_2_MIDDLE                     236
-#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE              237
-#define IMG_CONVEYOR_BELT_2_LEFT                       238
-#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE                        239
-#define IMG_CONVEYOR_BELT_2_RIGHT                      240
-#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE               241
-#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT                        242
-#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE              243
-#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT               244
-#define IMG_CONVEYOR_BELT_3_MIDDLE                     245
-#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE              246
-#define IMG_CONVEYOR_BELT_3_LEFT                       247
-#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE                        248
-#define IMG_CONVEYOR_BELT_3_RIGHT                      249
-#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE               250
-#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT                        251
-#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE              252
-#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT               253
-#define IMG_CONVEYOR_BELT_4_MIDDLE                     254
-#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE              255
-#define IMG_CONVEYOR_BELT_4_LEFT                       256
-#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE                        257
-#define IMG_CONVEYOR_BELT_4_RIGHT                      258
-#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE               259
-#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT                        260
-#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE              261
-#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT               262
-#define IMG_SWITCHGATE_SWITCH_UP                       263
-#define IMG_SWITCHGATE_SWITCH_DOWN                     264
-#define IMG_LIGHT_SWITCH                               265
-#define IMG_LIGHT_SWITCH_ACTIVE                                266
-#define IMG_TIMEGATE_SWITCH                            267
-#define IMG_TIMEGATE_SWITCH_ACTIVE                     268
-#define IMG_ENVELOPE                                   269
-#define IMG_SIGN_EXCLAMATION                           270
-#define IMG_SIGN_STOP                                  271
-#define IMG_LANDMINE                                   272
-#define IMG_STEELWALL_SLANTED                          273
-#define IMG_EXTRA_TIME                                 274
-#define IMG_SHIELD_NORMAL                              275
-#define IMG_SHIELD_NORMAL_ACTIVE                       276
-#define IMG_SHIELD_DEADLY                              277
-#define IMG_SHIELD_DEADLY_ACTIVE                       278
-#define IMG_SWITCHGATE_CLOSED                          279
-#define IMG_SWITCHGATE_OPENING                         280
-#define IMG_SWITCHGATE_OPEN                            281
-#define IMG_SWITCHGATE_CLOSING                         282
-#define IMG_TIMEGATE_CLOSED                            283
-#define IMG_TIMEGATE_OPENING                           284
-#define IMG_TIMEGATE_OPEN                              285
-#define IMG_TIMEGATE_CLOSING                           286
-#define IMG_PEARL                                      287
-#define IMG_PEARL_BREAKING                             288
-#define IMG_CRYSTAL                                    289
-#define IMG_WALL_PEARL                                 290
-#define IMG_WALL_CRYSTAL                               291
-#define IMG_TUBE_RIGHT_DOWN                            292
-#define IMG_TUBE_HORIZONTAL_DOWN                       293
-#define IMG_TUBE_LEFT_DOWN                             294
-#define IMG_TUBE_HORIZONTAL                            295
-#define IMG_TUBE_VERTICAL_RIGHT                                296
-#define IMG_TUBE_ANY                                   297
-#define IMG_TUBE_VERTICAL_LEFT                         298
-#define IMG_TUBE_VERTICAL                              299
-#define IMG_TUBE_RIGHT_UP                              300
-#define IMG_TUBE_HORIZONTAL_UP                         301
-#define IMG_TUBE_LEFT_UP                               302
-#define IMG_TRAP                                       303
-#define IMG_TRAP_ACTIVE                                        304
-#define IMG_DX_SUPABOMB                                        305
-#define IMG_KEY_1                                      306
-#define IMG_KEY_1_EDITOR                               307
-#define IMG_KEY_2                                      308
-#define IMG_KEY_2_EDITOR                               309
-#define IMG_KEY_3                                      310
-#define IMG_KEY_3_EDITOR                               311
-#define IMG_KEY_4                                      312
-#define IMG_KEY_4_EDITOR                               313
-#define IMG_GATE_1                                     314
-#define IMG_GATE_2                                     315
-#define IMG_GATE_3                                     316
-#define IMG_GATE_4                                     317
-#define IMG_GATE_1_GRAY                                        318
-#define IMG_GATE_1_GRAY_EDITOR                         319
-#define IMG_GATE_2_GRAY                                        320
-#define IMG_GATE_2_GRAY_EDITOR                         321
-#define IMG_GATE_3_GRAY                                        322
-#define IMG_GATE_3_GRAY_EDITOR                         323
-#define IMG_GATE_4_GRAY                                        324
-#define IMG_GATE_4_GRAY_EDITOR                         325
-#define IMG_GAME_OF_LIFE                               326
-#define IMG_BIOMAZE                                    327
-#define IMG_PACMAN_RIGHT                               328
-#define IMG_PACMAN_UP                                  329
-#define IMG_PACMAN_LEFT                                        330
-#define IMG_PACMAN_DOWN                                        331
-#define IMG_LAMP                                       332
-#define IMG_LAMP_EDITOR                                        333
-#define IMG_LAMP_ACTIVE                                        334
-#define IMG_TIME_ORB_FULL                              335
-#define IMG_TIME_ORB_EMPTY                             336
-#define IMG_EMERALD_YELLOW                             337
-#define IMG_EMERALD_YELLOW_MOVING                      338
-#define IMG_EMERALD_YELLOW_FALLING                     339
-#define IMG_EMERALD_RED                                        340
-#define IMG_EMERALD_RED_MOVING                         341
-#define IMG_EMERALD_RED_FALLING                                342
-#define IMG_EMERALD_PURPLE                             343
-#define IMG_EMERALD_PURPLE_MOVING                      344
-#define IMG_EMERALD_PURPLE_FALLING                     345
-#define IMG_WALL_EMERALD_YELLOW                                346
-#define IMG_WALL_EMERALD_RED                           347
-#define IMG_WALL_EMERALD_PURPLE                                348
-#define IMG_WALL_BD_DIAMOND                            349
-#define IMG_EXPANDABLE_WALL                            350
-#define IMG_EXPANDABLE_WALL_HORIZONTAL                 351
-#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR          352
-#define IMG_EXPANDABLE_WALL_VERTICAL                   353
-#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR            354
-#define IMG_EXPANDABLE_WALL_ANY                                355
-#define IMG_EXPANDABLE_WALL_ANY_EDITOR                 356
-#define IMG_EXPANDABLE_WALL_GROWING_LEFT               357
-#define IMG_EXPANDABLE_WALL_GROWING_RIGHT              358
-#define IMG_EXPANDABLE_WALL_GROWING_UP                 359
-#define IMG_EXPANDABLE_WALL_GROWING_DOWN               360
-#define IMG_BLACK_ORB                                  361
-#define IMG_SPEED_PILL                                 362
-#define IMG_DARK_YAMYAM                                        363
-#define IMG_DYNABOMB_ACTIVE                            364
-#define IMG_DYNABOMB_PLAYER_1_ACTIVE                   365
-#define IMG_DYNABOMB_PLAYER_2_ACTIVE                   366
-#define IMG_DYNABOMB_PLAYER_3_ACTIVE                   367
-#define IMG_DYNABOMB_PLAYER_4_ACTIVE                   368
-#define IMG_DYNABOMB_INCREASE_NUMBER                   369
-#define IMG_DYNABOMB_INCREASE_SIZE                     370
-#define IMG_DYNABOMB_INCREASE_POWER                    371
-#define IMG_PIG                                                372
-#define IMG_PIG_DOWN                                   373
-#define IMG_PIG_UP                                     374
-#define IMG_PIG_LEFT                                   375
-#define IMG_PIG_RIGHT                                  376
-#define IMG_PIG_MOVING_DOWN                            377
-#define IMG_PIG_MOVING_UP                              378
-#define IMG_PIG_MOVING_LEFT                            379
-#define IMG_PIG_MOVING_RIGHT                           380
-#define IMG_PIG_DIGGING_DOWN                           381
-#define IMG_PIG_DIGGING_UP                             382
-#define IMG_PIG_DIGGING_LEFT                           383
-#define IMG_PIG_DIGGING_RIGHT                          384
-#define IMG_DRAGON                                     385
-#define IMG_DRAGON_DOWN                                        386
-#define IMG_DRAGON_UP                                  387
-#define IMG_DRAGON_LEFT                                        388
-#define IMG_DRAGON_RIGHT                               389
-#define IMG_DRAGON_MOVING_DOWN                         390
-#define IMG_DRAGON_MOVING_UP                           391
-#define IMG_DRAGON_MOVING_LEFT                         392
-#define IMG_DRAGON_MOVING_RIGHT                                393
-#define IMG_DRAGON_ATTACKING_DOWN                      394
-#define IMG_DRAGON_ATTACKING_UP                                395
-#define IMG_DRAGON_ATTACKING_LEFT                      396
-#define IMG_DRAGON_ATTACKING_RIGHT                     397
-#define IMG_MOLE                                       398
-#define IMG_MOLE_DOWN                                  399
-#define IMG_MOLE_UP                                    400
-#define IMG_MOLE_LEFT                                  401
-#define IMG_MOLE_RIGHT                                 402
-#define IMG_MOLE_MOVING_DOWN                           403
-#define IMG_MOLE_MOVING_UP                             404
-#define IMG_MOLE_MOVING_LEFT                           405
-#define IMG_MOLE_MOVING_RIGHT                          406
-#define IMG_MOLE_DIGGING_DOWN                          407
-#define IMG_MOLE_DIGGING_UP                            408
-#define IMG_MOLE_DIGGING_LEFT                          409
-#define IMG_MOLE_DIGGING_RIGHT                         410
-#define IMG_PENGUIN                                    411
-#define IMG_PENGUIN_EDITOR                             412
-#define IMG_PENGUIN_DOWN                               413
-#define IMG_PENGUIN_UP                                 414
-#define IMG_PENGUIN_LEFT                               415
-#define IMG_PENGUIN_RIGHT                              416
-#define IMG_PENGUIN_MOVING_DOWN                                417
-#define IMG_PENGUIN_MOVING_UP                          418
-#define IMG_PENGUIN_MOVING_LEFT                                419
-#define IMG_PENGUIN_MOVING_RIGHT                       420
-#define IMG_SATELLITE                                  421
-#define IMG_SATELLITE_MOVING                           422
-#define IMG_FLAMES_1_LEFT                              423
-#define IMG_FLAMES_2_LEFT                              424
-#define IMG_FLAMES_3_LEFT                              425
-#define IMG_FLAMES_1_RIGHT                             426
-#define IMG_FLAMES_2_RIGHT                             427
-#define IMG_FLAMES_3_RIGHT                             428
-#define IMG_FLAMES_1_UP                                        429
-#define IMG_FLAMES_2_UP                                        430
-#define IMG_FLAMES_3_UP                                        431
-#define IMG_FLAMES_1_DOWN                              432
-#define IMG_FLAMES_2_DOWN                              433
-#define IMG_FLAMES_3_DOWN                              434
-#define IMG_STONEBLOCK                                 435
-#define IMG_PLAYER_1                                   436
-#define IMG_PLAYER_1_EDITOR                            437
-#define IMG_PLAYER_1_DOWN                              438
-#define IMG_PLAYER_1_UP                                        439
-#define IMG_PLAYER_1_LEFT                              440
-#define IMG_PLAYER_1_RIGHT                             441
-#define IMG_PLAYER_1_MOVING_DOWN                       442
-#define IMG_PLAYER_1_MOVING_UP                         443
-#define IMG_PLAYER_1_MOVING_LEFT                       444
-#define IMG_PLAYER_1_MOVING_RIGHT                      445
-#define IMG_PLAYER_1_DIGGING_DOWN                      446
-#define IMG_PLAYER_1_DIGGING_UP                                447
-#define IMG_PLAYER_1_DIGGING_LEFT                      448
-#define IMG_PLAYER_1_DIGGING_RIGHT                     449
-#define IMG_PLAYER_1_PUSHING_DOWN                      450
-#define IMG_PLAYER_1_PUSHING_UP                                451
-#define IMG_PLAYER_1_PUSHING_LEFT                      452
-#define IMG_PLAYER_1_PUSHING_RIGHT                     453
-#define IMG_PLAYER_1_SNAPPING_DOWN                     454
-#define IMG_PLAYER_1_SNAPPING_UP                       455
-#define IMG_PLAYER_1_SNAPPING_LEFT                     456
-#define IMG_PLAYER_1_SNAPPING_RIGHT                    457
-#define IMG_PLAYER_2                                   458
-#define IMG_PLAYER_2_EDITOR                            459
-#define IMG_PLAYER_2_DOWN                              460
-#define IMG_PLAYER_2_UP                                        461
-#define IMG_PLAYER_2_LEFT                              462
-#define IMG_PLAYER_2_RIGHT                             463
-#define IMG_PLAYER_2_MOVING_DOWN                       464
-#define IMG_PLAYER_2_MOVING_UP                         465
-#define IMG_PLAYER_2_MOVING_LEFT                       466
-#define IMG_PLAYER_2_MOVING_RIGHT                      467
-#define IMG_PLAYER_2_DIGGING_DOWN                      468
-#define IMG_PLAYER_2_DIGGING_UP                                469
-#define IMG_PLAYER_2_DIGGING_LEFT                      470
-#define IMG_PLAYER_2_DIGGING_RIGHT                     471
-#define IMG_PLAYER_2_PUSHING_DOWN                      472
-#define IMG_PLAYER_2_PUSHING_UP                                473
-#define IMG_PLAYER_2_PUSHING_LEFT                      474
-#define IMG_PLAYER_2_PUSHING_RIGHT                     475
-#define IMG_PLAYER_2_SNAPPING_DOWN                     476
-#define IMG_PLAYER_2_SNAPPING_UP                       477
-#define IMG_PLAYER_2_SNAPPING_LEFT                     478
-#define IMG_PLAYER_2_SNAPPING_RIGHT                    479
-#define IMG_PLAYER_3                                   480
-#define IMG_PLAYER_3_EDITOR                            481
-#define IMG_PLAYER_3_DOWN                              482
-#define IMG_PLAYER_3_UP                                        483
-#define IMG_PLAYER_3_LEFT                              484
-#define IMG_PLAYER_3_RIGHT                             485
-#define IMG_PLAYER_3_MOVING_DOWN                       486
-#define IMG_PLAYER_3_MOVING_UP                         487
-#define IMG_PLAYER_3_MOVING_LEFT                       488
-#define IMG_PLAYER_3_MOVING_RIGHT                      489
-#define IMG_PLAYER_3_DIGGING_DOWN                      490
-#define IMG_PLAYER_3_DIGGING_UP                                491
-#define IMG_PLAYER_3_DIGGING_LEFT                      492
-#define IMG_PLAYER_3_DIGGING_RIGHT                     493
-#define IMG_PLAYER_3_PUSHING_DOWN                      494
-#define IMG_PLAYER_3_PUSHING_UP                                495
-#define IMG_PLAYER_3_PUSHING_LEFT                      496
-#define IMG_PLAYER_3_PUSHING_RIGHT                     497
-#define IMG_PLAYER_3_SNAPPING_DOWN                     498
-#define IMG_PLAYER_3_SNAPPING_UP                       499
-#define IMG_PLAYER_3_SNAPPING_LEFT                     500
-#define IMG_PLAYER_3_SNAPPING_RIGHT                    501
-#define IMG_PLAYER_4                                   502
-#define IMG_PLAYER_4_EDITOR                            503
-#define IMG_PLAYER_4_DOWN                              504
-#define IMG_PLAYER_4_UP                                        505
-#define IMG_PLAYER_4_LEFT                              506
-#define IMG_PLAYER_4_RIGHT                             507
-#define IMG_PLAYER_4_MOVING_DOWN                       508
-#define IMG_PLAYER_4_MOVING_UP                         509
-#define IMG_PLAYER_4_MOVING_LEFT                       510
-#define IMG_PLAYER_4_MOVING_RIGHT                      511
-#define IMG_PLAYER_4_DIGGING_DOWN                      512
-#define IMG_PLAYER_4_DIGGING_UP                                513
-#define IMG_PLAYER_4_DIGGING_LEFT                      514
-#define IMG_PLAYER_4_DIGGING_RIGHT                     515
-#define IMG_PLAYER_4_PUSHING_DOWN                      516
-#define IMG_PLAYER_4_PUSHING_UP                                517
-#define IMG_PLAYER_4_PUSHING_LEFT                      518
-#define IMG_PLAYER_4_PUSHING_RIGHT                     519
-#define IMG_PLAYER_4_SNAPPING_DOWN                     520
-#define IMG_PLAYER_4_SNAPPING_UP                       521
-#define IMG_PLAYER_4_SNAPPING_LEFT                     522
-#define IMG_PLAYER_4_SNAPPING_RIGHT                    523
-#define IMG_EXPLOSION                                  524
-#define IMG_TWINKLE_BLUE                               525
-#define IMG_TWINKLE_WHITE                              526
-#define IMG_STEELWALL_TOPLEFT                          527
-#define IMG_STEELWALL_TOPRIGHT                         528
-#define IMG_STEELWALL_BOTTOMLEFT                       529
-#define IMG_STEELWALL_BOTTOMRIGHT                      530
-#define IMG_STEELWALL_HORIZONTAL                       531
-#define IMG_STEELWALL_VERTICAL                         532
-#define IMG_STEELWALL_TOPLEFT_EDITOR                   533
-#define IMG_STEELWALL_TOPRIGHT_EDITOR                  534
-#define IMG_STEELWALL_BOTTOMLEFT_EDITOR                        535
-#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR               536
-#define IMG_STEELWALL_HORIZONTAL_EDITOR                        537
-#define IMG_STEELWALL_VERTICAL_EDITOR                  538
-#define IMG_INVISIBLE_STEELWALL_TOPLEFT                        539
-#define IMG_INVISIBLE_STEELWALL_TOPRIGHT               540
-#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT             541
-#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT            542
-#define IMG_INVISIBLE_STEELWALL_HORIZONTAL             543
-#define IMG_INVISIBLE_STEELWALL_VERTICAL               544
-#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR         545
-#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR                546
-#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR      547
-#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR     548
-#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR      549
-#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR                550
-#define IMG_ARROW_LEFT                                 551
-#define IMG_ARROW_RIGHT                                        552
-#define IMG_ARROW_UP                                   553
-#define IMG_ARROW_DOWN                                 554
-#define IMG_CHAR_SPACE                                 555
-#define IMG_CHAR_EXCLAM                                        556
-#define IMG_CHAR_QUOTEDBL                              557
-#define IMG_CHAR_NUMBERSIGN                            558
-#define IMG_CHAR_DOLLAR                                        559
-#define IMG_CHAR_PROCENT                               560
-#define IMG_CHAR_AMPERSAND                             561
-#define IMG_CHAR_APOSTROPHE                            562
-#define IMG_CHAR_PARENLEFT                             563
-#define IMG_CHAR_PARENRIGHT                            564
-#define IMG_CHAR_ASTERISK                              565
-#define IMG_CHAR_PLUS                                  566
-#define IMG_CHAR_COMMA                                 567
-#define IMG_CHAR_MINUS                                 568
-#define IMG_CHAR_PERIOD                                        569
-#define IMG_CHAR_SLASH                                 570
-#define IMG_CHAR_0                                     571
-#define IMG_CHAR_1                                     572
-#define IMG_CHAR_2                                     573
-#define IMG_CHAR_3                                     574
-#define IMG_CHAR_4                                     575
-#define IMG_CHAR_5                                     576
-#define IMG_CHAR_6                                     577
-#define IMG_CHAR_7                                     578
-#define IMG_CHAR_8                                     579
-#define IMG_CHAR_9                                     580
-#define IMG_CHAR_COLON                                 581
-#define IMG_CHAR_SEMICOLON                             582
-#define IMG_CHAR_LESS                                  583
-#define IMG_CHAR_EQUAL                                 584
-#define IMG_CHAR_GREATER                               585
-#define IMG_CHAR_QUESTION                              586
-#define IMG_CHAR_AT                                    587
-#define IMG_CHAR_A                                     588
-#define IMG_CHAR_B                                     589
-#define IMG_CHAR_C                                     590
-#define IMG_CHAR_D                                     591
-#define IMG_CHAR_E                                     592
-#define IMG_CHAR_F                                     593
-#define IMG_CHAR_G                                     594
-#define IMG_CHAR_H                                     595
-#define IMG_CHAR_I                                     596
-#define IMG_CHAR_J                                     597
-#define IMG_CHAR_K                                     598
-#define IMG_CHAR_L                                     599
-#define IMG_CHAR_M                                     600
-#define IMG_CHAR_N                                     601
-#define IMG_CHAR_O                                     602
-#define IMG_CHAR_P                                     603
-#define IMG_CHAR_Q                                     604
-#define IMG_CHAR_R                                     605
-#define IMG_CHAR_S                                     606
-#define IMG_CHAR_T                                     607
-#define IMG_CHAR_U                                     608
-#define IMG_CHAR_V                                     609
-#define IMG_CHAR_W                                     610
-#define IMG_CHAR_X                                     611
-#define IMG_CHAR_Y                                     612
-#define IMG_CHAR_Z                                     613
-#define IMG_CHAR_AE                                    614
-#define IMG_CHAR_OE                                    615
-#define IMG_CHAR_UE                                    616
-#define IMG_CHAR_COPYRIGHT                             617
-#define IMG_CHAR_UNDERSCORE                            618
-#define IMG_CHAR_EMPTY                                 619
-#define IMG_CHAR_DEGREE                                        620
-#define IMG_CHAR_TM                                    621
-#define IMG_CHAR_CURSOR                                        622
-#define IMG_CUSTOM_1                                   623
-#define IMG_CUSTOM_2                                   624
-#define IMG_CUSTOM_3                                   625
-#define IMG_CUSTOM_4                                   626
-#define IMG_CUSTOM_5                                   627
-#define IMG_CUSTOM_6                                   628
-#define IMG_CUSTOM_7                                   629
-#define IMG_CUSTOM_8                                   630
-#define IMG_CUSTOM_9                                   631
-#define IMG_CUSTOM_10                                  632
-#define IMG_CUSTOM_11                                  633
-#define IMG_CUSTOM_12                                  634
-#define IMG_CUSTOM_13                                  635
-#define IMG_CUSTOM_14                                  636
-#define IMG_CUSTOM_15                                  637
-#define IMG_CUSTOM_16                                  638
-#define IMG_CUSTOM_17                                  639
-#define IMG_CUSTOM_18                                  640
-#define IMG_CUSTOM_19                                  641
-#define IMG_CUSTOM_20                                  642
-#define IMG_CUSTOM_21                                  643
-#define IMG_CUSTOM_22                                  644
-#define IMG_CUSTOM_23                                  645
-#define IMG_CUSTOM_24                                  646
-#define IMG_CUSTOM_25                                  647
-#define IMG_CUSTOM_26                                  648
-#define IMG_CUSTOM_27                                  649
-#define IMG_CUSTOM_28                                  650
-#define IMG_CUSTOM_29                                  651
-#define IMG_CUSTOM_30                                  652
-#define IMG_CUSTOM_31                                  653
-#define IMG_CUSTOM_32                                  654
-#define IMG_CUSTOM_33                                  655
-#define IMG_CUSTOM_34                                  656
-#define IMG_CUSTOM_35                                  657
-#define IMG_CUSTOM_36                                  658
-#define IMG_CUSTOM_37                                  659
-#define IMG_CUSTOM_38                                  660
-#define IMG_CUSTOM_39                                  661
-#define IMG_CUSTOM_40                                  662
-#define IMG_CUSTOM_41                                  663
-#define IMG_CUSTOM_42                                  664
-#define IMG_CUSTOM_43                                  665
-#define IMG_CUSTOM_44                                  666
-#define IMG_CUSTOM_45                                  667
-#define IMG_CUSTOM_46                                  668
-#define IMG_CUSTOM_47                                  669
-#define IMG_CUSTOM_48                                  670
-#define IMG_CUSTOM_49                                  671
-#define IMG_CUSTOM_50                                  672
-#define IMG_CUSTOM_51                                  673
-#define IMG_CUSTOM_52                                  674
-#define IMG_CUSTOM_53                                  675
-#define IMG_CUSTOM_54                                  676
-#define IMG_CUSTOM_55                                  677
-#define IMG_CUSTOM_56                                  678
-#define IMG_CUSTOM_57                                  679
-#define IMG_CUSTOM_58                                  680
-#define IMG_CUSTOM_59                                  681
-#define IMG_CUSTOM_60                                  682
-#define IMG_CUSTOM_61                                  683
-#define IMG_CUSTOM_62                                  684
-#define IMG_CUSTOM_63                                  685
-#define IMG_CUSTOM_64                                  686
-#define IMG_CUSTOM_65                                  687
-#define IMG_CUSTOM_66                                  688
-#define IMG_CUSTOM_67                                  689
-#define IMG_CUSTOM_68                                  690
-#define IMG_CUSTOM_69                                  691
-#define IMG_CUSTOM_70                                  692
-#define IMG_CUSTOM_71                                  693
-#define IMG_CUSTOM_72                                  694
-#define IMG_CUSTOM_73                                  695
-#define IMG_CUSTOM_74                                  696
-#define IMG_CUSTOM_75                                  697
-#define IMG_CUSTOM_76                                  698
-#define IMG_CUSTOM_77                                  699
-#define IMG_CUSTOM_78                                  700
-#define IMG_CUSTOM_79                                  701
-#define IMG_CUSTOM_80                                  702
-#define IMG_CUSTOM_81                                  703
-#define IMG_CUSTOM_82                                  704
-#define IMG_CUSTOM_83                                  705
-#define IMG_CUSTOM_84                                  706
-#define IMG_CUSTOM_85                                  707
-#define IMG_CUSTOM_86                                  708
-#define IMG_CUSTOM_87                                  709
-#define IMG_CUSTOM_88                                  710
-#define IMG_CUSTOM_89                                  711
-#define IMG_CUSTOM_90                                  712
-#define IMG_CUSTOM_91                                  713
-#define IMG_CUSTOM_92                                  714
-#define IMG_CUSTOM_93                                  715
-#define IMG_CUSTOM_94                                  716
-#define IMG_CUSTOM_95                                  717
-#define IMG_CUSTOM_96                                  718
-#define IMG_CUSTOM_97                                  719
-#define IMG_CUSTOM_98                                  720
-#define IMG_CUSTOM_99                                  721
-#define IMG_CUSTOM_100                                 722
-#define IMG_CUSTOM_101                                 723
-#define IMG_CUSTOM_102                                 724
-#define IMG_CUSTOM_103                                 725
-#define IMG_CUSTOM_104                                 726
-#define IMG_CUSTOM_105                                 727
-#define IMG_CUSTOM_106                                 728
-#define IMG_CUSTOM_107                                 729
-#define IMG_CUSTOM_108                                 730
-#define IMG_CUSTOM_109                                 731
-#define IMG_CUSTOM_110                                 732
-#define IMG_CUSTOM_111                                 733
-#define IMG_CUSTOM_112                                 734
-#define IMG_CUSTOM_113                                 735
-#define IMG_CUSTOM_114                                 736
-#define IMG_CUSTOM_115                                 737
-#define IMG_CUSTOM_116                                 738
-#define IMG_CUSTOM_117                                 739
-#define IMG_CUSTOM_118                                 740
-#define IMG_CUSTOM_119                                 741
-#define IMG_CUSTOM_120                                 742
-#define IMG_CUSTOM_121                                 743
-#define IMG_CUSTOM_122                                 744
-#define IMG_CUSTOM_123                                 745
-#define IMG_CUSTOM_124                                 746
-#define IMG_CUSTOM_125                                 747
-#define IMG_CUSTOM_126                                 748
-#define IMG_CUSTOM_127                                 749
-#define IMG_CUSTOM_128                                 750
-#define IMG_TOON_1                                     751
-#define IMG_TOON_2                                     752
-#define IMG_TOON_3                                     753
-#define IMG_TOON_4                                     754
-#define IMG_TOON_5                                     755
-#define IMG_TOON_6                                     756
-#define IMG_TOON_7                                     757
-#define IMG_TOON_8                                     758
-#define IMG_TOON_9                                     759
-#define IMG_TOON_10                                    760
-#define IMG_TOON_11                                    761
-#define IMG_TOON_12                                    762
-#define IMG_TOON_13                                    763
-#define IMG_TOON_14                                    764
-#define IMG_TOON_15                                    765
-#define IMG_TOON_16                                    766
-#define IMG_TOON_17                                    767
-#define IMG_TOON_18                                    768
-#define IMG_TOON_19                                    769
-#define IMG_TOON_20                                    770
-#define IMG_MENU_CALIBRATE_RED                         771
-#define IMG_MENU_CALIBRATE_BLUE                                772
-#define IMG_MENU_CALIBRATE_YELLOW                      773
-#define IMG_MENU_BUTTON                                        774
-#define IMG_MENU_BUTTON_ACTIVE                         775
-#define IMG_MENU_BUTTON_LEFT                           776
-#define IMG_MENU_BUTTON_RIGHT                          777
-#define IMG_MENU_BUTTON_UP                             778
-#define IMG_MENU_BUTTON_DOWN                           779
-#define IMG_MENU_BUTTON_LEFT_ACTIVE                    780
-#define IMG_MENU_BUTTON_RIGHT_ACTIVE                   781
-#define IMG_MENU_BUTTON_UP_ACTIVE                      782
-#define IMG_MENU_BUTTON_DOWN_ACTIVE                    783
-#define IMG_MENU_SCROLLBAR                             784
-#define IMG_MENU_SCROLLBAR_ACTIVE                      785
-#define IMG_FONT_INITIAL_1                             786
-#define IMG_FONT_INITIAL_2                             787
-#define IMG_FONT_INITIAL_3                             788
-#define IMG_FONT_INITIAL_4                             789
-#define IMG_FONT_TITLE_1                               790
-#define IMG_FONT_TITLE_1_LEVELS                                791
-#define IMG_FONT_TITLE_2                               792
-#define IMG_FONT_MENU_1                                        793
-#define IMG_FONT_MENU_2                                        794
-#define IMG_FONT_TEXT_1                                        795
-#define IMG_FONT_TEXT_1_LEVELS                         796
-#define IMG_FONT_TEXT_1_SCORES                         797
-#define IMG_FONT_TEXT_1_PREVIEW                                798
-#define IMG_FONT_TEXT_2                                        799
-#define IMG_FONT_TEXT_2_LEVELS                         800
-#define IMG_FONT_TEXT_2_SCORES                         801
-#define IMG_FONT_TEXT_2_PREVIEW                                802
-#define IMG_FONT_TEXT_3                                        803
-#define IMG_FONT_TEXT_3_LEVELS                         804
-#define IMG_FONT_TEXT_3_SCORES                         805
-#define IMG_FONT_TEXT_3_PREVIEW                                806
-#define IMG_FONT_TEXT_4                                        807
-#define IMG_FONT_TEXT_4_LEVELS                         808
-#define IMG_FONT_TEXT_4_SCORES                         809
-#define IMG_FONT_INPUT                                 810
-#define IMG_FONT_INPUT_MAIN                            811
-#define IMG_FONT_INPUT_ACTIVE                          812
-#define IMG_FONT_INPUT_ACTIVE_MAIN                     813
-#define IMG_FONT_INPUT_ACTIVE_SETUP                    814
-#define IMG_FONT_OPTION_OFF                            815
-#define IMG_FONT_OPTION_ON                             816
-#define IMG_FONT_VALUE_1                               817
-#define IMG_FONT_VALUE_2                               818
-#define IMG_FONT_VALUE_OLD                             819
-#define IMG_FONT_LEVEL_NUMBER                          820
-#define IMG_FONT_TAPE_RECORDER                         821
-#define IMG_GLOBAL_BORDER                              822
-#define IMG_GLOBAL_DOOR                                        823
-#define IMG_EDITOR_ELEMENT_BORDER                      824
-#define IMG_BACKGROUND                                 825
-#define IMG_BACKGROUND_MAIN                            826
-#define IMG_BACKGROUND_LEVELS                          827
-#define IMG_BACKGROUND_SCORES                          828
-#define IMG_BACKGROUND_EDITOR                          829
-#define IMG_BACKGROUND_INFO                            830
-#define IMG_BACKGROUND_SETUP                           831
-#define IMG_BACKGROUND_DOOR                            832
-#define IMG_INFO_FONT_EM_1                             833
-#define IMG_INFO_FONT_EM_2                             834
-#define IMG_INFO_FONT_EM_3                             835
-#define IMG_INFO_FONT_EM_4                             836
-#define IMG_INFO_FONT_EM_5                             837
+#define IMG_SAND_DIGGING_LEFT                          109
+#define IMG_SAND_DIGGING_RIGHT                         110
+#define IMG_SAND_DIGGING_UP                            111
+#define IMG_SAND_DIGGING_DOWN                          112
+#define IMG_WALL                                       113
+#define IMG_WALL_CRUMBLED                              114
+#define IMG_STEELWALL                                  115
+#define IMG_ROCK                                       116
+#define IMG_ROCK_FALLING                               117
+#define IMG_ROCK_MOVING_LEFT                           118
+#define IMG_ROCK_MOVING_RIGHT                          119
+#define IMG_EMERALD                                    120
+#define IMG_EMERALD_MOVING                             121
+#define IMG_EMERALD_FALLING                            122
+#define IMG_DIAMOND                                    123
+#define IMG_DIAMOND_MOVING                             124
+#define IMG_DIAMOND_FALLING                            125
+#define IMG_BOMB                                       126
+#define IMG_NUT                                                127
+#define IMG_NUT_FALLING                                        128
+#define IMG_NUT_MOVING_LEFT                            129
+#define IMG_NUT_MOVING_RIGHT                           130
+#define IMG_NUT_BREAKING                               131
+#define IMG_DYNAMITE                                   132
+#define IMG_DYNAMITE_EDITOR                            133
+#define IMG_DYNAMITE_ACTIVE                            134
+#define IMG_DYNAMITE_ACTIVE_EDITOR                     135
+#define IMG_WALL_EMERALD                               136
+#define IMG_WALL_DIAMOND                               137
+#define IMG_BUG_RIGHT                                  138
+#define IMG_BUG_UP                                     139
+#define IMG_BUG_LEFT                                   140
+#define IMG_BUG_DOWN                                   141
+#define IMG_SPACESHIP_RIGHT                            142
+#define IMG_SPACESHIP_UP                               143
+#define IMG_SPACESHIP_LEFT                             144
+#define IMG_SPACESHIP_DOWN                             145
+#define IMG_YAMYAM                                     146
+#define IMG_YAMYAM_MOVING                              147
+#define IMG_ROBOT                                      148
+#define IMG_ROBOT_MOVING                               149
+#define IMG_ROBOT_WHEEL                                        150
+#define IMG_ROBOT_WHEEL_ACTIVE                         151
+#define IMG_MAGIC_WALL                                 152
+#define IMG_MAGIC_WALL_ACTIVE                          153
+#define IMG_MAGIC_WALL_FILLING                         154
+#define IMG_MAGIC_WALL_FULL                            155
+#define IMG_MAGIC_WALL_EMPTYING                                156
+#define IMG_MAGIC_WALL_DEAD                            157
+#define IMG_QUICKSAND_EMPTY                            158
+#define IMG_QUICKSAND_FILLING                          159
+#define IMG_QUICKSAND_FULL                             160
+#define IMG_QUICKSAND_FULL_EDITOR                      161
+#define IMG_QUICKSAND_EMPTYING                         162
+#define IMG_ACID_POOL_TOPLEFT                          163
+#define IMG_ACID_POOL_TOPRIGHT                         164
+#define IMG_ACID_POOL_BOTTOMLEFT                       165
+#define IMG_ACID_POOL_BOTTOM                           166
+#define IMG_ACID_POOL_BOTTOMRIGHT                      167
+#define IMG_ACID                                       168
+#define IMG_ACID_SPLASH_LEFT                           169
+#define IMG_ACID_SPLASH_RIGHT                          170
+#define IMG_AMOEBA_DROP                                        171
+#define IMG_AMOEBA_GROWING                             172
+#define IMG_AMOEBA_SHRINKING                           173
+#define IMG_AMOEBA_WET                                 174
+#define IMG_AMOEBA_WET_EDITOR                          175
+#define IMG_AMOEBA_DROPPING                            176
+#define IMG_AMOEBA_DRY                                 177
+#define IMG_AMOEBA_FULL                                        178
+#define IMG_AMOEBA_FULL_EDITOR                         179
+#define IMG_AMOEBA_DEAD                                        180
+#define IMG_AMOEBA_DEAD_EDITOR                         181
+#define IMG_EM_KEY_1                                   182
+#define IMG_EM_KEY_2                                   183
+#define IMG_EM_KEY_3                                   184
+#define IMG_EM_KEY_4                                   185
+#define IMG_EM_GATE_1                                  186
+#define IMG_EM_GATE_2                                  187
+#define IMG_EM_GATE_3                                  188
+#define IMG_EM_GATE_4                                  189
+#define IMG_EM_GATE_1_GRAY                             190
+#define IMG_EM_GATE_1_GRAY_EDITOR                      191
+#define IMG_EM_GATE_2_GRAY                             192
+#define IMG_EM_GATE_2_GRAY_EDITOR                      193
+#define IMG_EM_GATE_3_GRAY                             194
+#define IMG_EM_GATE_3_GRAY_EDITOR                      195
+#define IMG_EM_GATE_4_GRAY                             196
+#define IMG_EM_GATE_4_GRAY_EDITOR                      197
+#define IMG_EXIT_CLOSED                                        198
+#define IMG_EXIT_OPENING                               199
+#define IMG_EXIT_OPEN                                  200
+#define IMG_BALLOON                                    201
+#define IMG_BALLOON_MOVING                             202
+#define IMG_BALLOON_SWITCH_LEFT                                203
+#define IMG_BALLOON_SWITCH_RIGHT                       204
+#define IMG_BALLOON_SWITCH_UP                          205
+#define IMG_BALLOON_SWITCH_DOWN                                206
+#define IMG_BALLOON_SWITCH_ANY                         207
+#define IMG_SPRING                                     208
+#define IMG_SPRING_MOVING                              209
+#define IMG_EMC_STEELWALL_1                            210
+#define IMG_EMC_STEELWALL_2                            211
+#define IMG_EMC_STEELWALL_3                            212
+#define IMG_EMC_STEELWALL_4                            213
+#define IMG_EMC_WALL_1                                 214
+#define IMG_EMC_WALL_2                                 215
+#define IMG_EMC_WALL_3                                 216
+#define IMG_EMC_WALL_4                                 217
+#define IMG_EMC_WALL_5                                 218
+#define IMG_EMC_WALL_6                                 219
+#define IMG_EMC_WALL_7                                 220
+#define IMG_EMC_WALL_8                                 221
+#define IMG_INVISIBLE_STEELWALL                                222
+#define IMG_INVISIBLE_STEELWALL_EDITOR                 223
+#define IMG_INVISIBLE_STEELWALL_ACTIVE                 224
+#define IMG_INVISIBLE_WALL                             225
+#define IMG_INVISIBLE_WALL_EDITOR                      226
+#define IMG_INVISIBLE_WALL_ACTIVE                      227
+#define IMG_INVISIBLE_SAND                             228
+#define IMG_INVISIBLE_SAND_EDITOR                      229
+#define IMG_INVISIBLE_SAND_ACTIVE                      230
+#define IMG_CONVEYOR_BELT_1_MIDDLE                     231
+#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE              232
+#define IMG_CONVEYOR_BELT_1_LEFT                       233
+#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE                        234
+#define IMG_CONVEYOR_BELT_1_RIGHT                      235
+#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE               236
+#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT                        237
+#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE              238
+#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT               239
+#define IMG_CONVEYOR_BELT_2_MIDDLE                     240
+#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE              241
+#define IMG_CONVEYOR_BELT_2_LEFT                       242
+#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE                        243
+#define IMG_CONVEYOR_BELT_2_RIGHT                      244
+#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE               245
+#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT                        246
+#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE              247
+#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT               248
+#define IMG_CONVEYOR_BELT_3_MIDDLE                     249
+#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE              250
+#define IMG_CONVEYOR_BELT_3_LEFT                       251
+#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE                        252
+#define IMG_CONVEYOR_BELT_3_RIGHT                      253
+#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE               254
+#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT                        255
+#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE              256
+#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT               257
+#define IMG_CONVEYOR_BELT_4_MIDDLE                     258
+#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE              259
+#define IMG_CONVEYOR_BELT_4_LEFT                       260
+#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE                        261
+#define IMG_CONVEYOR_BELT_4_RIGHT                      262
+#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE               263
+#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT                        264
+#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE              265
+#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT               266
+#define IMG_SWITCHGATE_SWITCH_UP                       267
+#define IMG_SWITCHGATE_SWITCH_DOWN                     268
+#define IMG_LIGHT_SWITCH                               269
+#define IMG_LIGHT_SWITCH_ACTIVE                                270
+#define IMG_TIMEGATE_SWITCH                            271
+#define IMG_TIMEGATE_SWITCH_ACTIVE                     272
+#define IMG_ENVELOPE                                   273
+#define IMG_SIGN_EXCLAMATION                           274
+#define IMG_SIGN_STOP                                  275
+#define IMG_LANDMINE                                   276
+#define IMG_STEELWALL_SLANTED                          277
+#define IMG_EXTRA_TIME                                 278
+#define IMG_SHIELD_NORMAL                              279
+#define IMG_SHIELD_NORMAL_ACTIVE                       280
+#define IMG_SHIELD_DEADLY                              281
+#define IMG_SHIELD_DEADLY_ACTIVE                       282
+#define IMG_SWITCHGATE_CLOSED                          283
+#define IMG_SWITCHGATE_OPENING                         284
+#define IMG_SWITCHGATE_OPEN                            285
+#define IMG_SWITCHGATE_CLOSING                         286
+#define IMG_TIMEGATE_CLOSED                            287
+#define IMG_TIMEGATE_OPENING                           288
+#define IMG_TIMEGATE_OPEN                              289
+#define IMG_TIMEGATE_CLOSING                           290
+#define IMG_PEARL                                      291
+#define IMG_PEARL_BREAKING                             292
+#define IMG_CRYSTAL                                    293
+#define IMG_WALL_PEARL                                 294
+#define IMG_WALL_CRYSTAL                               295
+#define IMG_TUBE_RIGHT_DOWN                            296
+#define IMG_TUBE_HORIZONTAL_DOWN                       297
+#define IMG_TUBE_LEFT_DOWN                             298
+#define IMG_TUBE_HORIZONTAL                            299
+#define IMG_TUBE_VERTICAL_RIGHT                                300
+#define IMG_TUBE_ANY                                   301
+#define IMG_TUBE_VERTICAL_LEFT                         302
+#define IMG_TUBE_VERTICAL                              303
+#define IMG_TUBE_RIGHT_UP                              304
+#define IMG_TUBE_HORIZONTAL_UP                         305
+#define IMG_TUBE_LEFT_UP                               306
+#define IMG_TRAP                                       307
+#define IMG_TRAP_ACTIVE                                        308
+#define IMG_DX_SUPABOMB                                        309
+#define IMG_KEY_1                                      310
+#define IMG_KEY_1_EDITOR                               311
+#define IMG_KEY_2                                      312
+#define IMG_KEY_2_EDITOR                               313
+#define IMG_KEY_3                                      314
+#define IMG_KEY_3_EDITOR                               315
+#define IMG_KEY_4                                      316
+#define IMG_KEY_4_EDITOR                               317
+#define IMG_GATE_1                                     318
+#define IMG_GATE_2                                     319
+#define IMG_GATE_3                                     320
+#define IMG_GATE_4                                     321
+#define IMG_GATE_1_GRAY                                        322
+#define IMG_GATE_1_GRAY_EDITOR                         323
+#define IMG_GATE_2_GRAY                                        324
+#define IMG_GATE_2_GRAY_EDITOR                         325
+#define IMG_GATE_3_GRAY                                        326
+#define IMG_GATE_3_GRAY_EDITOR                         327
+#define IMG_GATE_4_GRAY                                        328
+#define IMG_GATE_4_GRAY_EDITOR                         329
+#define IMG_GAME_OF_LIFE                               330
+#define IMG_BIOMAZE                                    331
+#define IMG_PACMAN_RIGHT                               332
+#define IMG_PACMAN_UP                                  333
+#define IMG_PACMAN_LEFT                                        334
+#define IMG_PACMAN_DOWN                                        335
+#define IMG_LAMP                                       336
+#define IMG_LAMP_EDITOR                                        337
+#define IMG_LAMP_ACTIVE                                        338
+#define IMG_TIME_ORB_FULL                              339
+#define IMG_TIME_ORB_EMPTY                             340
+#define IMG_EMERALD_YELLOW                             341
+#define IMG_EMERALD_YELLOW_MOVING                      342
+#define IMG_EMERALD_YELLOW_FALLING                     343
+#define IMG_EMERALD_RED                                        344
+#define IMG_EMERALD_RED_MOVING                         345
+#define IMG_EMERALD_RED_FALLING                                346
+#define IMG_EMERALD_PURPLE                             347
+#define IMG_EMERALD_PURPLE_MOVING                      348
+#define IMG_EMERALD_PURPLE_FALLING                     349
+#define IMG_WALL_EMERALD_YELLOW                                350
+#define IMG_WALL_EMERALD_RED                           351
+#define IMG_WALL_EMERALD_PURPLE                                352
+#define IMG_WALL_BD_DIAMOND                            353
+#define IMG_EXPANDABLE_WALL                            354
+#define IMG_EXPANDABLE_WALL_HORIZONTAL                 355
+#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR          356
+#define IMG_EXPANDABLE_WALL_VERTICAL                   357
+#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR            358
+#define IMG_EXPANDABLE_WALL_ANY                                359
+#define IMG_EXPANDABLE_WALL_ANY_EDITOR                 360
+#define IMG_EXPANDABLE_WALL_GROWING_LEFT               361
+#define IMG_EXPANDABLE_WALL_GROWING_RIGHT              362
+#define IMG_EXPANDABLE_WALL_GROWING_UP                 363
+#define IMG_EXPANDABLE_WALL_GROWING_DOWN               364
+#define IMG_BLACK_ORB                                  365
+#define IMG_SPEED_PILL                                 366
+#define IMG_DARK_YAMYAM                                        367
+#define IMG_DYNABOMB_ACTIVE                            368
+#define IMG_DYNABOMB_PLAYER_1_ACTIVE                   369
+#define IMG_DYNABOMB_PLAYER_2_ACTIVE                   370
+#define IMG_DYNABOMB_PLAYER_3_ACTIVE                   371
+#define IMG_DYNABOMB_PLAYER_4_ACTIVE                   372
+#define IMG_DYNABOMB_INCREASE_NUMBER                   373
+#define IMG_DYNABOMB_INCREASE_SIZE                     374
+#define IMG_DYNABOMB_INCREASE_POWER                    375
+#define IMG_PIG                                                376
+#define IMG_PIG_DOWN                                   377
+#define IMG_PIG_UP                                     378
+#define IMG_PIG_LEFT                                   379
+#define IMG_PIG_RIGHT                                  380
+#define IMG_PIG_MOVING_DOWN                            381
+#define IMG_PIG_MOVING_UP                              382
+#define IMG_PIG_MOVING_LEFT                            383
+#define IMG_PIG_MOVING_RIGHT                           384
+#define IMG_PIG_DIGGING_DOWN                           385
+#define IMG_PIG_DIGGING_UP                             386
+#define IMG_PIG_DIGGING_LEFT                           387
+#define IMG_PIG_DIGGING_RIGHT                          388
+#define IMG_DRAGON                                     389
+#define IMG_DRAGON_DOWN                                        390
+#define IMG_DRAGON_UP                                  391
+#define IMG_DRAGON_LEFT                                        392
+#define IMG_DRAGON_RIGHT                               393
+#define IMG_DRAGON_MOVING_DOWN                         394
+#define IMG_DRAGON_MOVING_UP                           395
+#define IMG_DRAGON_MOVING_LEFT                         396
+#define IMG_DRAGON_MOVING_RIGHT                                397
+#define IMG_DRAGON_ATTACKING_DOWN                      398
+#define IMG_DRAGON_ATTACKING_UP                                399
+#define IMG_DRAGON_ATTACKING_LEFT                      400
+#define IMG_DRAGON_ATTACKING_RIGHT                     401
+#define IMG_MOLE                                       402
+#define IMG_MOLE_DOWN                                  403
+#define IMG_MOLE_UP                                    404
+#define IMG_MOLE_LEFT                                  405
+#define IMG_MOLE_RIGHT                                 406
+#define IMG_MOLE_MOVING_DOWN                           407
+#define IMG_MOLE_MOVING_UP                             408
+#define IMG_MOLE_MOVING_LEFT                           409
+#define IMG_MOLE_MOVING_RIGHT                          410
+#define IMG_MOLE_DIGGING_DOWN                          411
+#define IMG_MOLE_DIGGING_UP                            412
+#define IMG_MOLE_DIGGING_LEFT                          413
+#define IMG_MOLE_DIGGING_RIGHT                         414
+#define IMG_PENGUIN                                    415
+#define IMG_PENGUIN_EDITOR                             416
+#define IMG_PENGUIN_DOWN                               417
+#define IMG_PENGUIN_UP                                 418
+#define IMG_PENGUIN_LEFT                               419
+#define IMG_PENGUIN_RIGHT                              420
+#define IMG_PENGUIN_MOVING_DOWN                                421
+#define IMG_PENGUIN_MOVING_UP                          422
+#define IMG_PENGUIN_MOVING_LEFT                                423
+#define IMG_PENGUIN_MOVING_RIGHT                       424
+#define IMG_SATELLITE                                  425
+#define IMG_SATELLITE_MOVING                           426
+#define IMG_FLAMES_1_LEFT                              427
+#define IMG_FLAMES_2_LEFT                              428
+#define IMG_FLAMES_3_LEFT                              429
+#define IMG_FLAMES_1_RIGHT                             430
+#define IMG_FLAMES_2_RIGHT                             431
+#define IMG_FLAMES_3_RIGHT                             432
+#define IMG_FLAMES_1_UP                                        433
+#define IMG_FLAMES_2_UP                                        434
+#define IMG_FLAMES_3_UP                                        435
+#define IMG_FLAMES_1_DOWN                              436
+#define IMG_FLAMES_2_DOWN                              437
+#define IMG_FLAMES_3_DOWN                              438
+#define IMG_STONEBLOCK                                 439
+#define IMG_PLAYER_1                                   440
+#define IMG_PLAYER_1_EDITOR                            441
+#define IMG_PLAYER_1_DOWN                              442
+#define IMG_PLAYER_1_UP                                        443
+#define IMG_PLAYER_1_LEFT                              444
+#define IMG_PLAYER_1_RIGHT                             445
+#define IMG_PLAYER_1_MOVING_DOWN                       446
+#define IMG_PLAYER_1_MOVING_UP                         447
+#define IMG_PLAYER_1_MOVING_LEFT                       448
+#define IMG_PLAYER_1_MOVING_RIGHT                      449
+#define IMG_PLAYER_1_DIGGING_DOWN                      450
+#define IMG_PLAYER_1_DIGGING_UP                                451
+#define IMG_PLAYER_1_DIGGING_LEFT                      452
+#define IMG_PLAYER_1_DIGGING_RIGHT                     453
+#define IMG_PLAYER_1_PUSHING_DOWN                      454
+#define IMG_PLAYER_1_PUSHING_UP                                455
+#define IMG_PLAYER_1_PUSHING_LEFT                      456
+#define IMG_PLAYER_1_PUSHING_RIGHT                     457
+#define IMG_PLAYER_1_SNAPPING_DOWN                     458
+#define IMG_PLAYER_1_SNAPPING_UP                       459
+#define IMG_PLAYER_1_SNAPPING_LEFT                     460
+#define IMG_PLAYER_1_SNAPPING_RIGHT                    461
+#define IMG_PLAYER_2                                   462
+#define IMG_PLAYER_2_EDITOR                            463
+#define IMG_PLAYER_2_DOWN                              464
+#define IMG_PLAYER_2_UP                                        465
+#define IMG_PLAYER_2_LEFT                              466
+#define IMG_PLAYER_2_RIGHT                             467
+#define IMG_PLAYER_2_MOVING_DOWN                       468
+#define IMG_PLAYER_2_MOVING_UP                         469
+#define IMG_PLAYER_2_MOVING_LEFT                       470
+#define IMG_PLAYER_2_MOVING_RIGHT                      471
+#define IMG_PLAYER_2_DIGGING_DOWN                      472
+#define IMG_PLAYER_2_DIGGING_UP                                473
+#define IMG_PLAYER_2_DIGGING_LEFT                      474
+#define IMG_PLAYER_2_DIGGING_RIGHT                     475
+#define IMG_PLAYER_2_PUSHING_DOWN                      476
+#define IMG_PLAYER_2_PUSHING_UP                                477
+#define IMG_PLAYER_2_PUSHING_LEFT                      478
+#define IMG_PLAYER_2_PUSHING_RIGHT                     479
+#define IMG_PLAYER_2_SNAPPING_DOWN                     480
+#define IMG_PLAYER_2_SNAPPING_UP                       481
+#define IMG_PLAYER_2_SNAPPING_LEFT                     482
+#define IMG_PLAYER_2_SNAPPING_RIGHT                    483
+#define IMG_PLAYER_3                                   484
+#define IMG_PLAYER_3_EDITOR                            485
+#define IMG_PLAYER_3_DOWN                              486
+#define IMG_PLAYER_3_UP                                        487
+#define IMG_PLAYER_3_LEFT                              488
+#define IMG_PLAYER_3_RIGHT                             489
+#define IMG_PLAYER_3_MOVING_DOWN                       490
+#define IMG_PLAYER_3_MOVING_UP                         491
+#define IMG_PLAYER_3_MOVING_LEFT                       492
+#define IMG_PLAYER_3_MOVING_RIGHT                      493
+#define IMG_PLAYER_3_DIGGING_DOWN                      494
+#define IMG_PLAYER_3_DIGGING_UP                                495
+#define IMG_PLAYER_3_DIGGING_LEFT                      496
+#define IMG_PLAYER_3_DIGGING_RIGHT                     497
+#define IMG_PLAYER_3_PUSHING_DOWN                      498
+#define IMG_PLAYER_3_PUSHING_UP                                499
+#define IMG_PLAYER_3_PUSHING_LEFT                      500
+#define IMG_PLAYER_3_PUSHING_RIGHT                     501
+#define IMG_PLAYER_3_SNAPPING_DOWN                     502
+#define IMG_PLAYER_3_SNAPPING_UP                       503
+#define IMG_PLAYER_3_SNAPPING_LEFT                     504
+#define IMG_PLAYER_3_SNAPPING_RIGHT                    505
+#define IMG_PLAYER_4                                   506
+#define IMG_PLAYER_4_EDITOR                            507
+#define IMG_PLAYER_4_DOWN                              508
+#define IMG_PLAYER_4_UP                                        509
+#define IMG_PLAYER_4_LEFT                              510
+#define IMG_PLAYER_4_RIGHT                             511
+#define IMG_PLAYER_4_MOVING_DOWN                       512
+#define IMG_PLAYER_4_MOVING_UP                         513
+#define IMG_PLAYER_4_MOVING_LEFT                       514
+#define IMG_PLAYER_4_MOVING_RIGHT                      515
+#define IMG_PLAYER_4_DIGGING_DOWN                      516
+#define IMG_PLAYER_4_DIGGING_UP                                517
+#define IMG_PLAYER_4_DIGGING_LEFT                      518
+#define IMG_PLAYER_4_DIGGING_RIGHT                     519
+#define IMG_PLAYER_4_PUSHING_DOWN                      520
+#define IMG_PLAYER_4_PUSHING_UP                                521
+#define IMG_PLAYER_4_PUSHING_LEFT                      522
+#define IMG_PLAYER_4_PUSHING_RIGHT                     523
+#define IMG_PLAYER_4_SNAPPING_DOWN                     524
+#define IMG_PLAYER_4_SNAPPING_UP                       525
+#define IMG_PLAYER_4_SNAPPING_LEFT                     526
+#define IMG_PLAYER_4_SNAPPING_RIGHT                    527
+#define IMG_EXPLOSION                                  528
+#define IMG_TWINKLE_BLUE                               529
+#define IMG_TWINKLE_WHITE                              530
+#define IMG_STEELWALL_TOPLEFT                          531
+#define IMG_STEELWALL_TOPRIGHT                         532
+#define IMG_STEELWALL_BOTTOMLEFT                       533
+#define IMG_STEELWALL_BOTTOMRIGHT                      534
+#define IMG_STEELWALL_HORIZONTAL                       535
+#define IMG_STEELWALL_VERTICAL                         536
+#define IMG_STEELWALL_TOPLEFT_EDITOR                   537
+#define IMG_STEELWALL_TOPRIGHT_EDITOR                  538
+#define IMG_STEELWALL_BOTTOMLEFT_EDITOR                        539
+#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR               540
+#define IMG_STEELWALL_HORIZONTAL_EDITOR                        541
+#define IMG_STEELWALL_VERTICAL_EDITOR                  542
+#define IMG_INVISIBLE_STEELWALL_TOPLEFT                        543
+#define IMG_INVISIBLE_STEELWALL_TOPRIGHT               544
+#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT             545
+#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT            546
+#define IMG_INVISIBLE_STEELWALL_HORIZONTAL             547
+#define IMG_INVISIBLE_STEELWALL_VERTICAL               548
+#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR         549
+#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR                550
+#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR      551
+#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR     552
+#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR      553
+#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR                554
+#define IMG_ARROW_LEFT                                 555
+#define IMG_ARROW_RIGHT                                        556
+#define IMG_ARROW_UP                                   557
+#define IMG_ARROW_DOWN                                 558
+#define IMG_CHAR_SPACE                                 559
+#define IMG_CHAR_EXCLAM                                        560
+#define IMG_CHAR_QUOTEDBL                              561
+#define IMG_CHAR_NUMBERSIGN                            562
+#define IMG_CHAR_DOLLAR                                        563
+#define IMG_CHAR_PROCENT                               564
+#define IMG_CHAR_AMPERSAND                             565
+#define IMG_CHAR_APOSTROPHE                            566
+#define IMG_CHAR_PARENLEFT                             567
+#define IMG_CHAR_PARENRIGHT                            568
+#define IMG_CHAR_ASTERISK                              569
+#define IMG_CHAR_PLUS                                  570
+#define IMG_CHAR_COMMA                                 571
+#define IMG_CHAR_MINUS                                 572
+#define IMG_CHAR_PERIOD                                        573
+#define IMG_CHAR_SLASH                                 574
+#define IMG_CHAR_0                                     575
+#define IMG_CHAR_1                                     576
+#define IMG_CHAR_2                                     577
+#define IMG_CHAR_3                                     578
+#define IMG_CHAR_4                                     579
+#define IMG_CHAR_5                                     580
+#define IMG_CHAR_6                                     581
+#define IMG_CHAR_7                                     582
+#define IMG_CHAR_8                                     583
+#define IMG_CHAR_9                                     584
+#define IMG_CHAR_COLON                                 585
+#define IMG_CHAR_SEMICOLON                             586
+#define IMG_CHAR_LESS                                  587
+#define IMG_CHAR_EQUAL                                 588
+#define IMG_CHAR_GREATER                               589
+#define IMG_CHAR_QUESTION                              590
+#define IMG_CHAR_AT                                    591
+#define IMG_CHAR_A                                     592
+#define IMG_CHAR_B                                     593
+#define IMG_CHAR_C                                     594
+#define IMG_CHAR_D                                     595
+#define IMG_CHAR_E                                     596
+#define IMG_CHAR_F                                     597
+#define IMG_CHAR_G                                     598
+#define IMG_CHAR_H                                     599
+#define IMG_CHAR_I                                     600
+#define IMG_CHAR_J                                     601
+#define IMG_CHAR_K                                     602
+#define IMG_CHAR_L                                     603
+#define IMG_CHAR_M                                     604
+#define IMG_CHAR_N                                     605
+#define IMG_CHAR_O                                     606
+#define IMG_CHAR_P                                     607
+#define IMG_CHAR_Q                                     608
+#define IMG_CHAR_R                                     609
+#define IMG_CHAR_S                                     610
+#define IMG_CHAR_T                                     611
+#define IMG_CHAR_U                                     612
+#define IMG_CHAR_V                                     613
+#define IMG_CHAR_W                                     614
+#define IMG_CHAR_X                                     615
+#define IMG_CHAR_Y                                     616
+#define IMG_CHAR_Z                                     617
+#define IMG_CHAR_AE                                    618
+#define IMG_CHAR_OE                                    619
+#define IMG_CHAR_UE                                    620
+#define IMG_CHAR_COPYRIGHT                             621
+#define IMG_CHAR_UNDERSCORE                            622
+#define IMG_CHAR_EMPTY                                 623
+#define IMG_CHAR_DEGREE                                        624
+#define IMG_CHAR_TM                                    625
+#define IMG_CHAR_CURSOR                                        626
+#define IMG_CUSTOM_1                                   627
+#define IMG_CUSTOM_2                                   628
+#define IMG_CUSTOM_3                                   629
+#define IMG_CUSTOM_4                                   630
+#define IMG_CUSTOM_5                                   631
+#define IMG_CUSTOM_6                                   632
+#define IMG_CUSTOM_7                                   633
+#define IMG_CUSTOM_8                                   634
+#define IMG_CUSTOM_9                                   635
+#define IMG_CUSTOM_10                                  636
+#define IMG_CUSTOM_11                                  637
+#define IMG_CUSTOM_12                                  638
+#define IMG_CUSTOM_13                                  639
+#define IMG_CUSTOM_14                                  640
+#define IMG_CUSTOM_15                                  641
+#define IMG_CUSTOM_16                                  642
+#define IMG_CUSTOM_17                                  643
+#define IMG_CUSTOM_18                                  644
+#define IMG_CUSTOM_19                                  645
+#define IMG_CUSTOM_20                                  646
+#define IMG_CUSTOM_21                                  647
+#define IMG_CUSTOM_22                                  648
+#define IMG_CUSTOM_23                                  649
+#define IMG_CUSTOM_24                                  650
+#define IMG_CUSTOM_25                                  651
+#define IMG_CUSTOM_26                                  652
+#define IMG_CUSTOM_27                                  653
+#define IMG_CUSTOM_28                                  654
+#define IMG_CUSTOM_29                                  655
+#define IMG_CUSTOM_30                                  656
+#define IMG_CUSTOM_31                                  657
+#define IMG_CUSTOM_32                                  658
+#define IMG_CUSTOM_33                                  659
+#define IMG_CUSTOM_34                                  660
+#define IMG_CUSTOM_35                                  661
+#define IMG_CUSTOM_36                                  662
+#define IMG_CUSTOM_37                                  663
+#define IMG_CUSTOM_38                                  664
+#define IMG_CUSTOM_39                                  665
+#define IMG_CUSTOM_40                                  666
+#define IMG_CUSTOM_41                                  667
+#define IMG_CUSTOM_42                                  668
+#define IMG_CUSTOM_43                                  669
+#define IMG_CUSTOM_44                                  670
+#define IMG_CUSTOM_45                                  671
+#define IMG_CUSTOM_46                                  672
+#define IMG_CUSTOM_47                                  673
+#define IMG_CUSTOM_48                                  674
+#define IMG_CUSTOM_49                                  675
+#define IMG_CUSTOM_50                                  676
+#define IMG_CUSTOM_51                                  677
+#define IMG_CUSTOM_52                                  678
+#define IMG_CUSTOM_53                                  679
+#define IMG_CUSTOM_54                                  680
+#define IMG_CUSTOM_55                                  681
+#define IMG_CUSTOM_56                                  682
+#define IMG_CUSTOM_57                                  683
+#define IMG_CUSTOM_58                                  684
+#define IMG_CUSTOM_59                                  685
+#define IMG_CUSTOM_60                                  686
+#define IMG_CUSTOM_61                                  687
+#define IMG_CUSTOM_62                                  688
+#define IMG_CUSTOM_63                                  689
+#define IMG_CUSTOM_64                                  690
+#define IMG_CUSTOM_65                                  691
+#define IMG_CUSTOM_66                                  692
+#define IMG_CUSTOM_67                                  693
+#define IMG_CUSTOM_68                                  694
+#define IMG_CUSTOM_69                                  695
+#define IMG_CUSTOM_70                                  696
+#define IMG_CUSTOM_71                                  697
+#define IMG_CUSTOM_72                                  698
+#define IMG_CUSTOM_73                                  699
+#define IMG_CUSTOM_74                                  700
+#define IMG_CUSTOM_75                                  701
+#define IMG_CUSTOM_76                                  702
+#define IMG_CUSTOM_77                                  703
+#define IMG_CUSTOM_78                                  704
+#define IMG_CUSTOM_79                                  705
+#define IMG_CUSTOM_80                                  706
+#define IMG_CUSTOM_81                                  707
+#define IMG_CUSTOM_82                                  708
+#define IMG_CUSTOM_83                                  709
+#define IMG_CUSTOM_84                                  710
+#define IMG_CUSTOM_85                                  711
+#define IMG_CUSTOM_86                                  712
+#define IMG_CUSTOM_87                                  713
+#define IMG_CUSTOM_88                                  714
+#define IMG_CUSTOM_89                                  715
+#define IMG_CUSTOM_90                                  716
+#define IMG_CUSTOM_91                                  717
+#define IMG_CUSTOM_92                                  718
+#define IMG_CUSTOM_93                                  719
+#define IMG_CUSTOM_94                                  720
+#define IMG_CUSTOM_95                                  721
+#define IMG_CUSTOM_96                                  722
+#define IMG_CUSTOM_97                                  723
+#define IMG_CUSTOM_98                                  724
+#define IMG_CUSTOM_99                                  725
+#define IMG_CUSTOM_100                                 726
+#define IMG_CUSTOM_101                                 727
+#define IMG_CUSTOM_102                                 728
+#define IMG_CUSTOM_103                                 729
+#define IMG_CUSTOM_104                                 730
+#define IMG_CUSTOM_105                                 731
+#define IMG_CUSTOM_106                                 732
+#define IMG_CUSTOM_107                                 733
+#define IMG_CUSTOM_108                                 734
+#define IMG_CUSTOM_109                                 735
+#define IMG_CUSTOM_110                                 736
+#define IMG_CUSTOM_111                                 737
+#define IMG_CUSTOM_112                                 738
+#define IMG_CUSTOM_113                                 739
+#define IMG_CUSTOM_114                                 740
+#define IMG_CUSTOM_115                                 741
+#define IMG_CUSTOM_116                                 742
+#define IMG_CUSTOM_117                                 743
+#define IMG_CUSTOM_118                                 744
+#define IMG_CUSTOM_119                                 745
+#define IMG_CUSTOM_120                                 746
+#define IMG_CUSTOM_121                                 747
+#define IMG_CUSTOM_122                                 748
+#define IMG_CUSTOM_123                                 749
+#define IMG_CUSTOM_124                                 750
+#define IMG_CUSTOM_125                                 751
+#define IMG_CUSTOM_126                                 752
+#define IMG_CUSTOM_127                                 753
+#define IMG_CUSTOM_128                                 754
+#define IMG_TOON_1                                     755
+#define IMG_TOON_2                                     756
+#define IMG_TOON_3                                     757
+#define IMG_TOON_4                                     758
+#define IMG_TOON_5                                     759
+#define IMG_TOON_6                                     760
+#define IMG_TOON_7                                     761
+#define IMG_TOON_8                                     762
+#define IMG_TOON_9                                     763
+#define IMG_TOON_10                                    764
+#define IMG_TOON_11                                    765
+#define IMG_TOON_12                                    766
+#define IMG_TOON_13                                    767
+#define IMG_TOON_14                                    768
+#define IMG_TOON_15                                    769
+#define IMG_TOON_16                                    770
+#define IMG_TOON_17                                    771
+#define IMG_TOON_18                                    772
+#define IMG_TOON_19                                    773
+#define IMG_TOON_20                                    774
+#define IMG_MENU_CALIBRATE_RED                         775
+#define IMG_MENU_CALIBRATE_BLUE                                776
+#define IMG_MENU_CALIBRATE_YELLOW                      777
+#define IMG_MENU_BUTTON                                        778
+#define IMG_MENU_BUTTON_ACTIVE                         779
+#define IMG_MENU_BUTTON_LEFT                           780
+#define IMG_MENU_BUTTON_RIGHT                          781
+#define IMG_MENU_BUTTON_UP                             782
+#define IMG_MENU_BUTTON_DOWN                           783
+#define IMG_MENU_BUTTON_LEFT_ACTIVE                    784
+#define IMG_MENU_BUTTON_RIGHT_ACTIVE                   785
+#define IMG_MENU_BUTTON_UP_ACTIVE                      786
+#define IMG_MENU_BUTTON_DOWN_ACTIVE                    787
+#define IMG_MENU_SCROLLBAR                             788
+#define IMG_MENU_SCROLLBAR_ACTIVE                      789
+#define IMG_FONT_INITIAL_1                             790
+#define IMG_FONT_INITIAL_2                             791
+#define IMG_FONT_INITIAL_3                             792
+#define IMG_FONT_INITIAL_4                             793
+#define IMG_FONT_TITLE_1                               794
+#define IMG_FONT_TITLE_1_LEVELS                                795
+#define IMG_FONT_TITLE_2                               796
+#define IMG_FONT_MENU_1                                        797
+#define IMG_FONT_MENU_2                                        798
+#define IMG_FONT_TEXT_1                                        799
+#define IMG_FONT_TEXT_1_LEVELS                         800
+#define IMG_FONT_TEXT_1_SCORES                         801
+#define IMG_FONT_TEXT_1_PREVIEW                                802
+#define IMG_FONT_TEXT_2                                        803
+#define IMG_FONT_TEXT_2_LEVELS                         804
+#define IMG_FONT_TEXT_2_SCORES                         805
+#define IMG_FONT_TEXT_2_PREVIEW                                806
+#define IMG_FONT_TEXT_3                                        807
+#define IMG_FONT_TEXT_3_LEVELS                         808
+#define IMG_FONT_TEXT_3_SCORES                         809
+#define IMG_FONT_TEXT_3_PREVIEW                                810
+#define IMG_FONT_TEXT_4                                        811
+#define IMG_FONT_TEXT_4_LEVELS                         812
+#define IMG_FONT_TEXT_4_SCORES                         813
+#define IMG_FONT_INPUT                                 814
+#define IMG_FONT_INPUT_MAIN                            815
+#define IMG_FONT_INPUT_ACTIVE                          816
+#define IMG_FONT_INPUT_ACTIVE_MAIN                     817
+#define IMG_FONT_INPUT_ACTIVE_SETUP                    818
+#define IMG_FONT_OPTION_OFF                            819
+#define IMG_FONT_OPTION_ON                             820
+#define IMG_FONT_VALUE_1                               821
+#define IMG_FONT_VALUE_2                               822
+#define IMG_FONT_VALUE_OLD                             823
+#define IMG_FONT_LEVEL_NUMBER                          824
+#define IMG_FONT_TAPE_RECORDER                         825
+#define IMG_GLOBAL_BORDER                              826
+#define IMG_GLOBAL_DOOR                                        827
+#define IMG_EDITOR_ELEMENT_BORDER                      828
+#define IMG_BACKGROUND                                 829
+#define IMG_BACKGROUND_MAIN                            830
+#define IMG_BACKGROUND_LEVELS                          831
+#define IMG_BACKGROUND_SCORES                          832
+#define IMG_BACKGROUND_EDITOR                          833
+#define IMG_BACKGROUND_INFO                            834
+#define IMG_BACKGROUND_SETUP                           835
+#define IMG_BACKGROUND_DOOR                            836
+#define IMG_INFO_FONT_EM_1                             837
+#define IMG_INFO_FONT_EM_2                             838
+#define IMG_INFO_FONT_EM_3                             839
+#define IMG_INFO_FONT_EM_4                             840
+#define IMG_INFO_FONT_EM_5                             841
 
-#define NUM_IMAGE_FILES                                        838
+#define NUM_IMAGE_FILES                                        842
 
 #endif /* CONF_GFX_H */
index 8ede53f993835479152ca491326d2a0d7e8b3bd5..6a63b323be6cd5714ae79bc5f5c73f62ec30d5c4 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2003-03-05 05:42]"
+#define COMPILE_DATE_STRING "[2003-03-06 00:46]"
index 13110880ec46d7dad1189c95e64e9a2e298fdea4..fb21d6f62cafab430c342d9c7f88b9ee7473a34f 100644 (file)
@@ -736,6 +736,7 @@ void InitGame()
       GfxFrame[x][y] = 0;
       GfxAction[x][y] = ACTION_DEFAULT;
       GfxRandom[x][y] = INIT_GFX_RANDOM();
+      GfxElement[x][y] = EL_UNDEFINED;
     }
   }
 
@@ -4463,7 +4464,8 @@ static void PlayerActions(struct PlayerInfo *player, byte player_action)
     SnapField(player, 0, 0);
     CheckGravityMovement(player);
 
-    InitPlayerGfxAnimation(player, ACTION_DEFAULT);
+    if (player->MovPos == 0)
+      InitPlayerGfxAnimation(player, ACTION_DEFAULT);
 
     if (player->MovPos == 0)   /* needed for tape.playing */
       player->is_moving = FALSE;
@@ -4564,11 +4566,13 @@ void GameActions()
 
   ScrollScreen(NULL, SCROLL_GO_ON);
 
+#if 0
   FrameCounter++;
   TimeFrames++;
 
   for (i=0; i<MAX_PLAYERS; i++)
     stored_player[i].Frame++;
+#endif
 
   for (y=0; y<lev_fieldy; y++) for (x=0; x<lev_fieldx; x++)
   {
@@ -4609,6 +4613,10 @@ void GameActions()
 
     SetRandomAnimationValue(x, y);
 
+#if 1
+    PlaySoundLevelActionIfLoop(x, y, GfxAction[x][y]);
+#endif
+
     if (IS_INACTIVE(element))
     {
       if (IS_ANIMATED(graphic))
@@ -4889,6 +4897,14 @@ void GameActions()
 
     redraw_mask |= REDRAW_FPS;
   }
+
+#if 1
+  FrameCounter++;
+  TimeFrames++;
+
+  for (i=0; i<MAX_PLAYERS; i++)
+    stored_player[i].Frame++;
+#endif
 }
 
 static boolean AllPlayersInSight(struct PlayerInfo *player, int x, int y)
@@ -5184,7 +5200,7 @@ boolean MoveFigure(struct PlayerInfo *player, int dx, int dy)
     }
   }
 
-#if 0
+#if 1
 #if 1
   InitPlayerGfxAnimation(player, ACTION_DEFAULT);
 #else
@@ -5669,6 +5685,10 @@ int DigField(struct PlayerInfo *player,
     case EL_SP_BASE:
     case EL_SP_BUGGY_BASE:
     case EL_SP_BUGGY_BASE_ACTIVATING:
+#if 1
+      if (mode != DF_SNAP && element == EL_SAND)
+       GfxElement[x][y] = Feld[x][y];
+#endif
       RemoveField(x, y);
       PlaySoundLevelElementAction(x, y, element, ACTION_DIGGING);
       break;
index e4f9e1923958d3573d01d802540633bdd5bd0ba7..4fd5ead512b0993598752a36ddd987c1c3240deb 100644 (file)
@@ -60,6 +60,7 @@ unsigned long         Properties2[MAX_NUM_ELEMENTS];
 int                    GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int                    GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int                    GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+int                    GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 
 int                    lev_fieldx, lev_fieldy;
 int                    scroll_x, scroll_y;
index 991d0eca677e8daaa8c0f7d0fe8d370d27ad5f3f..326f63be64e463001fb58f88fb5d0bfae7440429 100644 (file)
@@ -1170,6 +1170,7 @@ extern unsigned long              Properties2[MAX_NUM_ELEMENTS];
 extern int                     GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 extern int                     GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 extern int                     GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+extern int                     GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 
 extern int                     lev_fieldx, lev_fieldy;
 extern int                     scroll_x, scroll_y;
index a58a51c22bfa466675615c2d8e25321fe80f04f0..4226eec9824ac3ac2fa454b577463eb624003d00 100644 (file)
@@ -607,10 +607,65 @@ void DrawPlayer(struct PlayerInfo *player)
 
   if (Store[jx][jy])
     DrawLevelElement(jx, jy, Store[jx][jy]);
-  else if (!IS_ACTIVE_BOMB(element))
-    DrawLevelField(jx, jy);
-  else
+  else if (IS_ACTIVE_BOMB(element))
     DrawLevelElement(jx, jy, EL_EMPTY);
+  else
+  {
+    if (player_is_moving && GfxElement[jx][jy] != EL_UNDEFINED)
+    {
+      int old_element = GfxElement[jx][jy];
+      int old_graphic =
+       el_act_dir2img(old_element, ACTION_DIGGING, player->MovDir);
+      int frame = getGraphicAnimationFrame(old_graphic, player->Frame);
+#if 0
+      Bitmap *src_bitmap;
+      int src_x, src_y;
+      int width = TILEX, height = TILEY;
+      int cx = 0, cy = 0;
+
+      if (player->MovDir == MV_UP)
+      {
+       cy = player->GfxPos;
+       height -= cy;
+      }
+      else if (player->MovDir == MV_DOWN)
+      {
+       cy = 0;
+       height = TILEY - player->GfxPos;
+      }
+      else if (player->MovDir == MV_LEFT)
+      {
+       cx = player->GfxPos;
+       width -= cx;
+      }
+      else if (player->MovDir == MV_RIGHT)
+      {
+       cx = 0;
+       width = TILEX - player->GfxPos;
+      }
+
+      getGraphicSource(old_graphic, frame, &src_bitmap, &src_x, &src_y);
+
+      BlitBitmap(src_bitmap, drawto_field, src_x + cx, src_y + cy,
+                width, height, FX + sx * TILEX + cx, FY + sy * TILEY + cy);
+#else
+#if 0
+      printf("::: %d, %d, %d, %d => %d, %d [%d]\n",
+            old_element, ACTION_DIGGING, player->MovDir, player->Frame,
+            old_graphic, frame,
+            player->GfxPos);
+#endif
+
+      DrawGraphic(sx, sy, old_graphic, frame);
+#endif
+    }
+    else
+    {
+      GfxElement[jx][jy] = EL_UNDEFINED;
+
+      DrawLevelField(jx, jy);
+    }
+  }
 
   /* ----------------------------------------------------------------------- */
   /* draw player himself                                                     */
@@ -1161,6 +1216,9 @@ void DrawCrumbledSand(int x, int y)
   element = Feld[lx][ly];
 
   if (element == EL_SAND ||
+#if 1
+      (element == EL_EMPTY_SPACE && GfxElement[lx][ly] == EL_SAND) ||
+#endif
       element == EL_LANDMINE ||
       element == EL_TRAP ||
       element == EL_TRAP_ACTIVE)
@@ -1186,6 +1244,9 @@ void DrawCrumbledSand(int x, int y)
        element = Feld[lxx][lyy];
 
       if (element == EL_SAND ||
+#if 1
+         (element == EL_EMPTY_SPACE && GfxElement[lxx][lyy] == EL_SAND) ||
+#endif
          element == EL_LANDMINE ||
          element == EL_TRAP ||
          element == EL_TRAP_ACTIVE)
@@ -1231,6 +1292,9 @@ void DrawCrumbledSand(int x, int y)
 
       if (!IN_LEV_FIELD(lxx, lyy) ||
          (Feld[lxx][lyy] != EL_SAND &&
+#if 1
+          !(Feld[lxx][lyy] == EL_EMPTY_SPACE && GfxElement[lxx][lyy] == EL_SAND) &&
+#endif
           Feld[lxx][lyy] != EL_LANDMINE &&
           Feld[lxx][lyy] != EL_TRAP &&
           Feld[lxx][lyy] != EL_TRAP_ACTIVE) ||