rnd-20020921-7-src
[rocksndiamonds.git] / src / main.h
index 82c63d794f0337741ff9a06e8b02a71e5cd13651..a6db091175f0cf7a12959d5f1b27f95ad2ffa87d 100644 (file)
 
 #include "libgame/libgame.h"
 
+#include "conf_gfx.h"
+#include "conf_snd.h"
+
+
 #define WIN_XSIZE      672
 #define WIN_YSIZE      560
 
 #define GFX_ARG_GLOBAL_SYNC                    7
 #define GFX_ARG_VERTICAL                       8
 
-/* values for image configuration */
-#define IMG_BD_WALL                            0
-#define IMG_BD_ROCK                            1
-#define IMG_BD_ROCK_FALLING                    2
-#define IMG_BD_ROCK_PUSHING                    3
-#define IMG_BD_DIAMOND                         4
-#define IMG_BD_DIAMOND_FALLING                 5
-#define IMG_BD_MAGIC_WALL                      6
-#define IMG_BD_MAGIC_WALL_ACTIVE               7
-#define IMG_BD_MAGIC_WALL_FILLING              8
-#define IMG_BD_MAGIC_WALL_FULL                 9
-#define IMG_BD_MAGIC_WALL_EMPTYING             10
-#define IMG_BD_MAGIC_WALL_DEAD                 11
-#define IMG_BD_AMOEBA                          12
-#define IMG_BD_AMOEBA_PART1                    13
-#define IMG_BD_AMOEBA_PART2                    14
-#define IMG_BD_AMOEBA_PART3                    15
-#define IMG_BD_AMOEBA_PART4                    16
-#define IMG_BD_BUTTERFLY                       17
-#define IMG_BD_BUTTERFLY_MOVING                        18
-#define IMG_BD_BUTTERFLY_RIGHT                 19
-#define IMG_BD_BUTTERFLY_UP                    20
-#define IMG_BD_BUTTERFLY_LEFT                  21
-#define IMG_BD_BUTTERFLY_DOWN                  22
-#define IMG_BD_FIREFLY                         23
-#define IMG_BD_FIREFLY_MOVING                  24
-#define IMG_BD_FIREFLY_RIGHT                   25
-#define IMG_BD_FIREFLY_UP                      26
-#define IMG_BD_FIREFLY_LEFT                    27
-#define IMG_BD_FIREFLY_DOWN                    28
-#define IMG_SP_EMPTY_SPACE                     29
-#define IMG_SP_ZONK                            30
-#define IMG_SP_ZONK_FALLING                    31
-#define IMG_SP_ZONK_PUSHING                    32
-#define IMG_SP_BASE                            33
-#define IMG_SP_MURPHY                          34
-#define IMG_SP_MURPHY_LEFT                     35
-#define IMG_SP_MURPHY_LEFT_MOVING              36
-#define IMG_SP_MURPHY_LEFT_DIGGING             37
-#define IMG_SP_MURPHY_LEFT_PUSHING             38
-#define IMG_SP_MURPHY_LEFT_SNAPPING            39
-#define IMG_SP_MURPHY_RIGHT                    40
-#define IMG_SP_MURPHY_RIGHT_MOVING             41
-#define IMG_SP_MURPHY_RIGHT_DIGGING            42
-#define IMG_SP_MURPHY_RIGHT_PUSHING            43
-#define IMG_SP_MURPHY_RIGHT_SNAPPING           44
-#define IMG_SP_MURPHY_UP                       45
-#define IMG_SP_MURPHY_UP_SNAPPING              46
-#define IMG_SP_MURPHY_DOWN                     47
-#define IMG_SP_MURPHY_DOWN_SNAPPING            48
-#define IMG_SP_MURPHY_CLONE                    49
-#define IMG_SP_INFOTRON                                50
-#define IMG_SP_INFOTRON_FALLING                        51
-#define IMG_SP_CHIP_SINGLE                     52
-#define IMG_SP_CHIP_LEFT                       53
-#define IMG_SP_CHIP_RIGHT                      54
-#define IMG_SP_CHIP_UPPER                      55
-#define IMG_SP_CHIP_LOWER                      56
-#define IMG_SP_HARD_GRAY                       57
-#define IMG_SP_HARD_GREEN                      58
-#define IMG_SP_HARD_BLUE                       59
-#define IMG_SP_HARD_RED                                60
-#define IMG_SP_HARD_YELLOW                     61
-#define IMG_SP_EXIT_CLOSED                     62
-#define IMG_SP_EXIT_OPEN                       63
-#define IMG_SP_DISK_ORANGE                     64
-#define IMG_SP_DISK_ORANGE_FALLING             65
-#define IMG_SP_DISK_ORANGE_PUSHING             66
-#define IMG_SP_DISK_YELLOW                     67
-#define IMG_SP_DISK_YELLOW_PUSHING             68
-#define IMG_SP_DISK_RED                                69
-#define IMG_SP_DISK_RED_COLLECTING             70
-#define IMG_SP_PORT1_RIGHT                     71
-#define IMG_SP_PORT1_DOWN                      72
-#define IMG_SP_PORT1_LEFT                      73
-#define IMG_SP_PORT1_UP                                74
-#define IMG_SP_PORT2_RIGHT                     75
-#define IMG_SP_PORT2_DOWN                      76
-#define IMG_SP_PORT2_LEFT                      77
-#define IMG_SP_PORT2_UP                                78
-#define IMG_SP_PORT_X                          79
-#define IMG_SP_PORT_Y                          80
-#define IMG_SP_PORT_XY                         81
-#define IMG_SP_SNIKSNAK                                82
-#define IMG_SP_SNIKSNAK_LEFT                   83
-#define IMG_SP_SNIKSNAK_RIGHT                  84
-#define IMG_SP_SNIKSNAK_UP                     85
-#define IMG_SP_SNIKSNAK_DOWN                   86
-#define IMG_SP_ELECTRON                                87
-#define IMG_SP_TERMINAL                                88
-#define IMG_SP_TERMINAL_ACTIVE                 89
-#define IMG_SP_BUGGY_BASE                      90
-#define IMG_SP_BUGGY_BASE_ACTIVE               91
-#define IMG_SP_HARD_BASE1                      92
-#define IMG_SP_HARD_BASE2                      93
-#define IMG_SP_HARD_BASE3                      94
-#define IMG_SP_HARD_BASE4                      95
-#define IMG_SP_HARD_BASE5                      96
-#define IMG_SP_HARD_BASE6                      97
-#define IMG_SP_EXPLOSION                       98
-#define IMG_SP_EXPLOSION_INFOTRON              99
-#define IMG_SOKOBAN_OBJECT                     100
-#define IMG_SOKOBAN_FIELD_EMPTY                        101
-#define IMG_SOKOBAN_FIELD_FULL                 102
-#define IMG_EMPTY_SPACE                                103
-#define IMG_SAND                               104
-#define IMG_SAND_CRUMBLED                      105
-#define IMG_WALL                               106
-#define IMG_WALL_CRUMBLED                      107
-#define IMG_STEELWALL                          108
-#define IMG_ROCK                               109
-#define IMG_ROCK_FALLING                       110
-#define IMG_ROCK_PUSHING                       111
-#define IMG_EMERALD                            112
-#define IMG_EMERALD_FALLING                    113
-#define IMG_DIAMOND                            114
-#define IMG_DIAMOND_FALLING                    115
-#define IMG_BOMB                               116
-#define IMG_NUT                                        117
-#define IMG_NUT_CRACKING                       118
-#define IMG_DYNAMITE                           119
-#define IMG_DYNAMITE_ACTIVE                    120
-#define IMG_WALL_EMERALD                       121
-#define IMG_WALL_DIAMOND                       122
-#define IMG_BUG_RIGHT                          123
-#define IMG_BUG_UP                             124
-#define IMG_BUG_LEFT                           125
-#define IMG_BUG_DOWN                           126
-#define IMG_SPACESHIP_RIGHT                    127
-#define IMG_SPACESHIP_UP                       128
-#define IMG_SPACESHIP_LEFT                     129
-#define IMG_SPACESHIP_DOWN                     130
-#define IMG_YAMYAM                             131
-#define IMG_YAMYAM_MOVING                      132
-#define IMG_ROBOT                              133
-#define IMG_ROBOT_WHEEL                                134
-#define IMG_ROBOT_WHEEL_ACTIVE                 135
-#define IMG_MAGIC_WALL                         136
-#define IMG_MAGIC_WALL_ACTIVE                  137
-#define IMG_MAGIC_WALL_FILLING                 138
-#define IMG_MAGIC_WALL_FULL                    139
-#define IMG_MAGIC_WALL_EMPTYING                        140
-#define IMG_MAGIC_WALL_DEAD                    141
-#define IMG_QUICKSAND_EMPTY                    142
-#define IMG_QUICKSAND_FILLING                  143
-#define IMG_QUICKSAND_FULL                     144
-#define IMG_QUICKSAND_EMPTYING                 145
-#define IMG_ACIDPOOL_TOPLEFT                   146
-#define IMG_ACIDPOOL_TOPRIGHT                  147
-#define IMG_ACIDPOOL_BOTTOMLEFT                        148
-#define IMG_ACIDPOOL_BOTTOM                    149
-#define IMG_ACIDPOOL_BOTTOMRIGHT               150
-#define IMG_ACID                               151
-#define IMG_ACID_SPLASHING_LEFT                        152
-#define IMG_ACID_SPLASHING_RIGHT               153
-#define IMG_AMOEBA_DROP                                154
-#define IMG_AMOEBA_CREATING                    155
-#define IMG_AMOEBA_PART1                       156
-#define IMG_AMOEBA_PART2                       157
-#define IMG_AMOEBA_PART3                       158
-#define IMG_AMOEBA_PART4                       159
-#define IMG_AMOEBA_DEAD_PART1                  160
-#define IMG_AMOEBA_DEAD_PART2                  161
-#define IMG_AMOEBA_DEAD_PART3                  162
-#define IMG_AMOEBA_DEAD_PART4                  163
-#define IMG_EM_KEY1                            164
-#define IMG_EM_KEY2                            165
-#define IMG_EM_KEY3                            166
-#define IMG_EM_KEY4                            167
-#define IMG_EM_GATE1                           168
-#define IMG_EM_GATE2                           169
-#define IMG_EM_GATE3                           170
-#define IMG_EM_GATE4                           171
-#define IMG_EM_GATE1_GRAY                      172
-#define IMG_EM_GATE2_GRAY                      173
-#define IMG_EM_GATE3_GRAY                      174
-#define IMG_EM_GATE4_GRAY                      175
-#define IMG_EXIT_CLOSED                                176
-#define IMG_EXIT_OPENING                       177
-#define IMG_EXIT_OPEN                          178
-#define IMG_BALLOON                            179
-#define IMG_BALLOON_MOVING                     180
-#define IMG_BALLOON_SEND_LEFT                  181
-#define IMG_BALLOON_SEND_RIGHT                 182
-#define IMG_BALLOON_SEND_UP                    183
-#define IMG_BALLOON_SEND_DOWN                  184
-#define IMG_BALLOON_SEND_ANY_DIRECTION         185
-#define IMG_SPRING                             186
-#define IMG_EMC_STEELWALL1                     187
-#define IMG_EMC_STEELWALL2                     188
-#define IMG_EMC_STEELWALL3                     189
-#define IMG_EMC_STEELWALL4                     190
-#define IMG_EMC_WALL_PILLAR_UPPER              191
-#define IMG_EMC_WALL_PILLAR_MIDDLE             192
-#define IMG_EMC_WALL_PILLAR_LOWER              193
-#define IMG_EMC_WALL4                          194
-#define IMG_EMC_WALL5                          195
-#define IMG_EMC_WALL6                          196
-#define IMG_EMC_WALL7                          197
-#define IMG_EMC_WALL8                          198
-#define IMG_INVISIBLE_STEELWALL                        199
-#define IMG_INVISIBLE_STEELWALL_ACTIVE         200
-#define IMG_INVISIBLE_WALL                     201
-#define IMG_INVISIBLE_WALL_ACTIVE              202
-#define IMG_INVISIBLE_SAND                     203
-#define IMG_INVISIBLE_SAND_ACTIVE              204
-#define IMG_CONVEYOR_BELT1_MIDDLE              205
-#define IMG_CONVEYOR_BELT1_MIDDLE_ACTIVE       206
-#define IMG_CONVEYOR_BELT1_LEFT                        207
-#define IMG_CONVEYOR_BELT1_LEFT_ACTIVE         208
-#define IMG_CONVEYOR_BELT1_RIGHT               209
-#define IMG_CONVEYOR_BELT1_RIGHT_ACTIVE                210
-#define IMG_CONVEYOR_BELT1_SWITCH_LEFT         211
-#define IMG_CONVEYOR_BELT1_SWITCH_MIDDLE       212
-#define IMG_CONVEYOR_BELT1_SWITCH_RIGHT                213
-#define IMG_CONVEYOR_BELT2_MIDDLE              214
-#define IMG_CONVEYOR_BELT2_MIDDLE_ACTIVE       215
-#define IMG_CONVEYOR_BELT2_LEFT                        216
-#define IMG_CONVEYOR_BELT2_LEFT_ACTIVE         217
-#define IMG_CONVEYOR_BELT2_RIGHT               218
-#define IMG_CONVEYOR_BELT2_RIGHT_ACTIVE                219
-#define IMG_CONVEYOR_BELT2_SWITCH_LEFT         220
-#define IMG_CONVEYOR_BELT2_SWITCH_MIDDLE       221
-#define IMG_CONVEYOR_BELT2_SWITCH_RIGHT                222
-#define IMG_CONVEYOR_BELT3_MIDDLE              223
-#define IMG_CONVEYOR_BELT3_MIDDLE_ACTIVE       224
-#define IMG_CONVEYOR_BELT3_LEFT                        225
-#define IMG_CONVEYOR_BELT3_LEFT_ACTIVE         226
-#define IMG_CONVEYOR_BELT3_RIGHT               227
-#define IMG_CONVEYOR_BELT3_RIGHT_ACTIVE                228
-#define IMG_CONVEYOR_BELT3_SWITCH_LEFT         229
-#define IMG_CONVEYOR_BELT3_SWITCH_MIDDLE       230
-#define IMG_CONVEYOR_BELT3_SWITCH_RIGHT                231
-#define IMG_CONVEYOR_BELT4_MIDDLE              232
-#define IMG_CONVEYOR_BELT4_MIDDLE_ACTIVE       233
-#define IMG_CONVEYOR_BELT4_LEFT                        234
-#define IMG_CONVEYOR_BELT4_LEFT_ACTIVE         235
-#define IMG_CONVEYOR_BELT4_RIGHT               236
-#define IMG_CONVEYOR_BELT4_RIGHT_ACTIVE                237
-#define IMG_CONVEYOR_BELT4_SWITCH_LEFT         238
-#define IMG_CONVEYOR_BELT4_SWITCH_MIDDLE       239
-#define IMG_CONVEYOR_BELT4_SWITCH_RIGHT                240
-#define IMG_SWITCHGATE_SWITCH_UP               241
-#define IMG_SWITCHGATE_SWITCH_DOWN             242
-#define IMG_LIGHT_SWITCH                       243
-#define IMG_LIGHT_SWITCH_ACTIVE                        244
-#define IMG_TIMEGATE_SWITCH                    245
-#define IMG_TIMEGATE_SWITCH_ACTIVE             246
-#define IMG_ENVELOPE                           247
-#define IMG_SIGN_EXCLAMATION                   248
-#define IMG_SIGN_STOP                          249
-#define IMG_LANDMINE                           250
-#define IMG_STEELWALL_SLANTED                  251
-#define IMG_EXTRA_TIME                         252
-#define IMG_SHIELD_DEADLY                      253
-#define IMG_SHIELD_NORMAL                      254
-#define IMG_SHIELD_NORMAL_ACTIVE               255
-#define IMG_SHIELD_DEADLY_ACTIVE               256
-#define IMG_SWITCHGATE_CLOSED                  257
-#define IMG_SWITCHGATE_OPENING                 258
-#define IMG_SWITCHGATE_OPEN                    259
-#define IMG_SWITCHGATE_CLOSING                 260
-#define IMG_TIMEGATE_CLOSED                    261
-#define IMG_TIMEGATE_OPENING                   262
-#define IMG_TIMEGATE_OPEN                      263
-#define IMG_TIMEGATE_CLOSING                   264
-#define IMG_PEARL                              265
-#define IMG_PEARL_BREAKING                     266
-#define IMG_CRYSTAL                            267
-#define IMG_WALL_PEARL                         268
-#define IMG_WALL_CRYSTAL                       269
-#define IMG_TUBE_RIGHT_DOWN                    270
-#define IMG_TUBE_HORIZONTAL_DOWN               271
-#define IMG_TUBE_LEFT_DOWN                     272
-#define IMG_TUBE_HORIZONTAL                    273
-#define IMG_TUBE_VERTICAL_RIGHT                        274
-#define IMG_TUBE_ALL                           275
-#define IMG_TUBE_VERTICAL_LEFT                 276
-#define IMG_TUBE_VERTICAL                      277
-#define IMG_TUBE_RIGHT_UP                      278
-#define IMG_TUBE_HORIZONTAL_UP                 279
-#define IMG_TUBE_LEFT_UP                       280
-#define IMG_TRAP                               281
-#define IMG_TRAP_ACTIVE                                282
-#define IMG_DX_SUPABOMB                                283
-#define IMG_KEY1                               284
-#define IMG_KEY2                               285
-#define IMG_KEY3                               286
-#define IMG_KEY4                               287
-#define IMG_GATE1                              288
-#define IMG_GATE2                              289
-#define IMG_GATE3                              290
-#define IMG_GATE4                              291
-#define IMG_GATE1_GRAY                         292
-#define IMG_GATE2_GRAY                         293
-#define IMG_GATE3_GRAY                         294
-#define IMG_GATE4_GRAY                         295
-#define IMG_GAMEOFLIFE                         296
-#define IMG_BIOMAZE                            297
-#define IMG_PACMAN_RIGHT                       298
-#define IMG_PACMAN_UP                          299
-#define IMG_PACMAN_LEFT                                300
-#define IMG_PACMAN_DOWN                                301
-#define IMG_LAMP                               302
-#define IMG_LAMP_ACTIVE                                303
-#define IMG_TIME_ORB_FULL                      304
-#define IMG_TIME_ORB_EMPTY                     305
-#define IMG_EMERALD_YELLOW                     306
-#define IMG_EMERALD_YELLOW_FALLING             307
-#define IMG_EMERALD_RED                                308
-#define IMG_EMERALD_RED_FALLING                        309
-#define IMG_EMERALD_PURPLE                     310
-#define IMG_EMERALD_PURPLE_FALLING             311
-#define IMG_WALL_EMERALD_YELLOW                        312
-#define IMG_WALL_EMERALD_RED                   313
-#define IMG_WALL_EMERALD_PURPLE                        314
-#define IMG_WALL_BD_DIAMOND                    315
-#define IMG_WALL_GROWING_XY                    316
-#define IMG_WALL_GROWING_X                     317
-#define IMG_WALL_GROWING_Y                     318
-#define IMG_WALL_GROWING_ACTIVE_LEFT           319
-#define IMG_WALL_GROWING_ACTIVE_RIGHT          320
-#define IMG_WALL_GROWING_ACTIVE_UP             321
-#define IMG_WALL_GROWING_ACTIVE_DOWN           322
-#define IMG_BLACK_ORB                          323
-#define IMG_SPEED_PILL                         324
-#define IMG_DARK_YAMYAM                                325
-#define IMG_DYNABOMB_ACTIVE                    326
-#define IMG_DYNABOMB_PLAYER1_ACTIVE            327
-#define IMG_DYNABOMB_PLAYER2_ACTIVE            328
-#define IMG_DYNABOMB_PLAYER3_ACTIVE            329
-#define IMG_DYNABOMB_PLAYER4_ACTIVE            330
-#define IMG_DYNABOMB_NR                                331
-#define IMG_DYNABOMB_SZ                                332
-#define IMG_DYNABOMB_XL                                333
-#define IMG_PIG_DOWN                           334
-#define IMG_PIG_DOWN_MOVING                    335
-#define IMG_PIG_DOWN_EATING                    336
-#define IMG_PIG_UP                             337
-#define IMG_PIG_UP_MOVING                      338
-#define IMG_PIG_UP_EATING                      339
-#define IMG_PIG_LEFT                           340
-#define IMG_PIG_LEFT_MOVING                    341
-#define IMG_PIG_LEFT_EATING                    342
-#define IMG_PIG_RIGHT                          343
-#define IMG_PIG_RIGHT_MOVING                   344
-#define IMG_PIG_RIGHT_EATING                   345
-#define IMG_DRAGON_DOWN                                346
-#define IMG_DRAGON_DOWN_MOVING                 347
-#define IMG_DRAGON_DOWN_ATTACKING              348
-#define IMG_DRAGON_UP                          349
-#define IMG_DRAGON_UP_MOVING                   350
-#define IMG_DRAGON_UP_ATTACKING                        351
-#define IMG_DRAGON_LEFT                                352
-#define IMG_DRAGON_LEFT_MOVING                 353
-#define IMG_DRAGON_LEFT_ATTACKING              354
-#define IMG_DRAGON_RIGHT                       355
-#define IMG_DRAGON_RIGHT_MOVING                        356
-#define IMG_DRAGON_RIGHT_ATTACKING             357
-#define IMG_MOLE_DOWN                          358
-#define IMG_MOLE_DOWN_MOVING                   359
-#define IMG_MOLE_DOWN_DIGGING                  360
-#define IMG_MOLE_UP                            361
-#define IMG_MOLE_UP_MOVING                     362
-#define IMG_MOLE_UP_DIGGING                    363
-#define IMG_MOLE_LEFT                          364
-#define IMG_MOLE_LEFT_MOVING                   365
-#define IMG_MOLE_LEFT_DIGGING                  366
-#define IMG_MOLE_RIGHT                         367
-#define IMG_MOLE_RIGHT_MOVING                  368
-#define IMG_MOLE_RIGHT_DIGGING                 369
-#define IMG_PENGUIN_DOWN                       370
-#define IMG_PENGUIN_DOWN_MOVING                        371
-#define IMG_PENGUIN_UP                         372
-#define IMG_PENGUIN_UP_MOVING                  373
-#define IMG_PENGUIN_LEFT                       374
-#define IMG_PENGUIN_LEFT_MOVING                        375
-#define IMG_PENGUIN_RIGHT                      376
-#define IMG_PENGUIN_RIGHT_MOVING               377
-#define IMG_SATELLITE                          378
-#define IMG_SATELLITE_MOVING                   379
-#define IMG_FLAMES_LEFT1                       380
-#define IMG_FLAMES_LEFT2                       381
-#define IMG_FLAMES_LEFT3                       382
-#define IMG_FLAMES_RIGHT1                      383
-#define IMG_FLAMES_RIGHT2                      384
-#define IMG_FLAMES_RIGHT3                      385
-#define IMG_FLAMES_UP1                         386
-#define IMG_FLAMES_UP2                         387
-#define IMG_FLAMES_UP3                         388
-#define IMG_FLAMES_DOWN1                       389
-#define IMG_FLAMES_DOWN2                       390
-#define IMG_FLAMES_DOWN3                       391
-#define IMG_STONEBLOCK                         392
-#define IMG_PLAYER1                            393
-#define IMG_PLAYER1_DOWN                       394
-#define IMG_PLAYER1_DOWN_MOVING                        395
-#define IMG_PLAYER1_DOWN_DIGGING               396
-#define IMG_PLAYER1_DOWN_PUSHING               397
-#define IMG_PLAYER1_DOWN_SNAPPING              398
-#define IMG_PLAYER1_UP                         399
-#define IMG_PLAYER1_UP_MOVING                  400
-#define IMG_PLAYER1_UP_DIGGING                 401
-#define IMG_PLAYER1_UP_PUSHING                 402
-#define IMG_PLAYER1_UP_SNAPPING                        403
-#define IMG_PLAYER1_LEFT                       404
-#define IMG_PLAYER1_LEFT_MOVING                        405
-#define IMG_PLAYER1_LEFT_DIGGING               406
-#define IMG_PLAYER1_LEFT_PUSHING               407
-#define IMG_PLAYER1_LEFT_SNAPPING              408
-#define IMG_PLAYER1_RIGHT                      409
-#define IMG_PLAYER1_RIGHT_MOVING               410
-#define IMG_PLAYER1_RIGHT_DIGGING              411
-#define IMG_PLAYER1_RIGHT_PUSHING              412
-#define IMG_PLAYER1_RIGHT_SNAPPING             413
-#define IMG_PLAYER2                            414
-#define IMG_PLAYER2_DOWN                       415
-#define IMG_PLAYER2_DOWN_MOVING                        416
-#define IMG_PLAYER2_DOWN_DIGGING               417
-#define IMG_PLAYER2_DOWN_PUSHING               418
-#define IMG_PLAYER2_DOWN_SNAPPING              419
-#define IMG_PLAYER2_UP                         420
-#define IMG_PLAYER2_UP_MOVING                  421
-#define IMG_PLAYER2_UP_DIGGING                 422
-#define IMG_PLAYER2_UP_PUSHING                 423
-#define IMG_PLAYER2_UP_SNAPPING                        424
-#define IMG_PLAYER2_LEFT                       425
-#define IMG_PLAYER2_LEFT_MOVING                        426
-#define IMG_PLAYER2_LEFT_DIGGING               427
-#define IMG_PLAYER2_LEFT_PUSHING               428
-#define IMG_PLAYER2_LEFT_SNAPPING              429
-#define IMG_PLAYER2_RIGHT                      430
-#define IMG_PLAYER2_RIGHT_MOVING               431
-#define IMG_PLAYER2_RIGHT_DIGGING              432
-#define IMG_PLAYER2_RIGHT_PUSHING              433
-#define IMG_PLAYER2_RIGHT_SNAPPING             434
-#define IMG_PLAYER3                            435
-#define IMG_PLAYER3_DOWN                       436
-#define IMG_PLAYER3_DOWN_MOVING                        437
-#define IMG_PLAYER3_DOWN_DIGGING               438
-#define IMG_PLAYER3_DOWN_PUSHING               439
-#define IMG_PLAYER3_DOWN_SNAPPING              440
-#define IMG_PLAYER3_UP                         441
-#define IMG_PLAYER3_UP_MOVING                  442
-#define IMG_PLAYER3_UP_DIGGING                 443
-#define IMG_PLAYER3_UP_PUSHING                 444
-#define IMG_PLAYER3_UP_SNAPPING                        445
-#define IMG_PLAYER3_LEFT                       446
-#define IMG_PLAYER3_LEFT_MOVING                        447
-#define IMG_PLAYER3_LEFT_DIGGING               448
-#define IMG_PLAYER3_LEFT_PUSHING               449
-#define IMG_PLAYER3_LEFT_SNAPPING              450
-#define IMG_PLAYER3_RIGHT                      451
-#define IMG_PLAYER3_RIGHT_MOVING               452
-#define IMG_PLAYER3_RIGHT_DIGGING              453
-#define IMG_PLAYER3_RIGHT_PUSHING              454
-#define IMG_PLAYER3_RIGHT_SNAPPING             455
-#define IMG_PLAYER4                            456
-#define IMG_PLAYER4_DOWN                       457
-#define IMG_PLAYER4_DOWN_MOVING                        458
-#define IMG_PLAYER4_DOWN_DIGGING               459
-#define IMG_PLAYER4_DOWN_PUSHING               460
-#define IMG_PLAYER4_DOWN_SNAPPING              461
-#define IMG_PLAYER4_UP                         462
-#define IMG_PLAYER4_UP_MOVING                  463
-#define IMG_PLAYER4_UP_DIGGING                 464
-#define IMG_PLAYER4_UP_PUSHING                 465
-#define IMG_PLAYER4_UP_SNAPPING                        466
-#define IMG_PLAYER4_LEFT                       467
-#define IMG_PLAYER4_LEFT_MOVING                        468
-#define IMG_PLAYER4_LEFT_DIGGING               469
-#define IMG_PLAYER4_LEFT_PUSHING               470
-#define IMG_PLAYER4_LEFT_SNAPPING              471
-#define IMG_PLAYER4_RIGHT                      472
-#define IMG_PLAYER4_RIGHT_MOVING               473
-#define IMG_PLAYER4_RIGHT_DIGGING              474
-#define IMG_PLAYER4_RIGHT_PUSHING              475
-#define IMG_PLAYER4_RIGHT_SNAPPING             476
-#define IMG_EXPLOSION                          477
-#define IMG_TWINKLE_BLUE                       478
-#define IMG_TWINKLE_WHITE                      479
-#define IMG_STEELWALL_TOPLEFT                  480
-#define IMG_STEELWALL_TOPRIGHT                 481
-#define IMG_STEELWALL_BOTTOMLEFT               482
-#define IMG_STEELWALL_BOTTOMRIGHT              483
-#define IMG_STEELWALL_HORIZONTAL               484
-#define IMG_STEELWALL_VERTICAL                 485
-#define IMG_INVISIBLE_STEELWALL_TOPLEFT                486
-#define IMG_INVISIBLE_STEELWALL_TOPRIGHT       487
-#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT     488
-#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT    489
-#define IMG_INVISIBLE_STEELWALL_HORIZONTAL     490
-#define IMG_INVISIBLE_STEELWALL_VERTICAL       491
-#define IMG_ARROW_BLUE_LEFT                    492
-#define IMG_ARROW_BLUE_RIGHT                   493
-#define IMG_ARROW_BLUE_UP                      494
-#define IMG_ARROW_BLUE_DOWN                    495
-#define IMG_ARROW_RED_LEFT                     496
-#define IMG_ARROW_RED_RIGHT                    497
-#define IMG_ARROW_RED_UP                       498
-#define IMG_ARROW_RED_DOWN                     499
-#define IMG_SCROLLBAR_BLUE                     500
-#define IMG_SCROLLBAR_RED                      501
-#define IMG_SCROLLBAR_GREEN                    502
-#define IMG_SCROLLBAR_YELLOW                   503
-
-#define NUM_IMAGE_FILES                                504
-
-
 /* values for sound configuration suffixes */
 /* (currently none) */
 
-/* values for sound configuration */
-#define SND_BD_EMPTY_SPACE_DIGGING             0
-#define SND_BD_SAND_DIGGING                    1
-#define SND_BD_DIAMOND_COLLECTING              2
-#define SND_BD_DIAMOND_IMPACT                  3
-#define SND_BD_ROCK_PUSHING                    4
-#define SND_BD_ROCK_IMPACT                     5
-#define SND_BD_MAGIC_WALL_ACTIVATING           6
-#define SND_BD_MAGIC_WALL_ACTIVE               7
-#define SND_BD_MAGIC_WALL_CHANGING             8
-#define SND_BD_AMOEBA_WAITING                  9
-#define SND_BD_AMOEBA_CREATING                 10
-#define SND_BD_AMOEBA_TURNING_TO_GEM           11
-#define SND_BD_AMOEBA_TURNING_TO_ROCK          12
-#define SND_BD_BUTTERFLY_MOVING                        13
-#define SND_BD_BUTTERFLY_WAITING               14
-#define SND_BD_FIREFLY_MOVING                  15
-#define SND_BD_FIREFLY_WAITING                 16
-#define SND_BD_EXIT_PASSING                    17
-#define SND_SP_EMPTY_SPACE_DIGGING             18
-#define SND_SP_BASE_DIGGING                    19
-#define SND_SP_BUGGY_BASE_DIGGING              20
-#define SND_SP_BUGGY_BASE_ACTIVE               21
-#define SND_SP_INFOTRON_COLLECTING             22
-#define SND_SP_INFOTRON_IMPACT                 23
-#define SND_SP_ZONK_PUSHING                    24
-#define SND_SP_ZONK_IMPACT                     25
-#define SND_SP_DISK_RED_COLLECTING             26
-#define SND_SP_DISK_ORANGE_PUSHING             27
-#define SND_SP_DISK_YELLOW_PUSHING             28
-#define SND_SP_PORT_PASSING                    29
-#define SND_SP_EXIT_PASSING                    30
-#define SND_SP_EXIT_OPENING                    31
-#define SND_SP_ELEMENT_EXPLODING               32
-#define SND_SP_SNIKSNAK_MOVING                 33
-#define SND_SP_SNIKSNAK_WAITING                        34
-#define SND_SP_ELECTRON_MOVING                 35
-#define SND_SP_ELECTRON_WAITING                        36
-#define SND_SP_TERMINAL_ACTIVATING             37
-#define SND_SP_TERMINAL_ACTIVE                 38
-#define SND_SOKOBAN_OBJECT_PUSHING             39
-#define SND_SOKOBAN_FIELD_FILLING              40
-#define SND_SOKOBAN_FIELD_EMPTYING             41
-#define SND_SOKOBAN_GAME_SOLVING               42
-#define SND_EMPTY_SPACE_DIGGING                        43
-#define SND_SAND_DIGGING                       44
-#define SND_EMERALD_COLLECTING                 45
-#define SND_EMERALD_IMPACT                     46
-#define SND_DIAMOND_COLLECTING                 47
-#define SND_DIAMOND_IMPACT                     48
-#define SND_DIAMOND_BREAKING                   49
-#define SND_ROCK_PUSHING                       50
-#define SND_ROCK_IMPACT                                51
-#define SND_BOMB_PUSHING                       52
-#define SND_NUT_PUSHING                                53
-#define SND_NUT_CRACKING                       54
-#define SND_NUT_IMPACT                         55
-#define SND_DYNAMITE_COLLECTING                        56
-#define SND_DYNAMITE_DROPPING                  57
-#define SND_DYNAMITE_ACTIVE                    58
-#define SND_KEY_COLLECTING                     59
-#define SND_GATE_PASSING                       60
-#define SND_BUG_MOVING                         61
-#define SND_BUG_WAITING                                62
-#define SND_SPACESHIP_MOVING                   63
-#define SND_SPACESHIP_WAITING                  64
-#define SND_YAMYAM_MOVING                      65
-#define SND_YAMYAM_WAITING                     66
-#define SND_YAMYAM_EATING                      67
-#define SND_ROBOT_STEPPING                     68
-#define SND_ROBOT_WAITING                      69
-#define SND_ROBOT_WHEEL_ACTIVATING             70
-#define SND_ROBOT_WHEEL_ACTIVE                 71
-#define SND_MAGIC_WALL_ACTIVATING              72
-#define SND_MAGIC_WALL_ACTIVE                  73
-#define SND_MAGIC_WALL_CHANGING                        74
-#define SND_AMOEBA_WAITING                     75
-#define SND_AMOEBA_CREATING                    76
-#define SND_AMOEBA_DROP_CREATING               77
-#define SND_ACID_SPLASHING                     78
-#define SND_QUICKSAND_FILLING                  79
-#define SND_QUICKSAND_SLIPPING                 80
-#define SND_QUICKSAND_EMPTYING                 81
-#define SND_EXIT_OPENING                       82
-#define SND_EXIT_PASSING                       83
-#define SND_BALLOON_MOVING                     84
-#define SND_BALLOON_WAITING                    85
-#define SND_BALLOON_PUSHING                    86
-#define SND_BALLOON_SWITCH_ACTIVATING          87
-#define SND_SPRING_MOVING                      88
-#define SND_SPRING_PUSHING                     89
-#define SND_SPRING_IMPACT                      90
-#define SND_WALL_GROWING                       91
-#define SND_PEARL_COLLECTING                   92
-#define SND_PEARL_BREAKING                     93
-#define SND_PEARL_IMPACT                       94
-#define SND_CRYSTAL_COLLECTING                 95
-#define SND_CRYSTAL_IMPACT                     96
-#define SND_ENVELOPE_COLLECTING                        97
-#define SND_SAND_INVISIBLE_DIGGING             98
-#define SND_SHIELD_NORMAL_COLLECTING           99
-#define SND_SHIELD_NORMAL_ACTIVE               100
-#define SND_SHIELD_DEADLY_COLLECTING           101
-#define SND_SHIELD_DEADLY_ACTIVE               102
-#define SND_EXTRA_TIME_COLLECTING              103
-#define SND_MOLE_MOVING                                104
-#define SND_MOLE_WAITING                       105
-#define SND_MOLE_EATING                                106
-#define SND_SWITCHGATE_SWITCH_ACTIVATING       107
-#define SND_SWITCHGATE_OPENING                 108
-#define SND_SWITCHGATE_CLOSING                 109
-#define SND_SWITCHGATE_PASSING                 110
-#define SND_TIMEGATE_SWITCH_ACTIVATING         111
-#define SND_TIMEGATE_SWITCH_ACTIVE             112
-#define SND_TIMEGATE_OPENING                   113
-#define SND_TIMEGATE_CLOSING                   114
-#define SND_TIMEGATE_PASSING                   115
-#define SND_CONVEYOR_BELT_SWITCH_ACTIVATING    116
-#define SND_CONVEYOR_BELT_SWITCH_DEACTIVATING  117
-#define SND_CONVEYOR_BELT_ACTIVE               118
-#define SND_LIGHT_SWITCH_ACTIVATING            119
-#define SND_LIGHT_SWITCH_DEACTIVATING          120
-#define SND_DX_BOMB_PUSHING                    121
-#define SND_TRAP_INACTIVE_DIGGING              122
-#define SND_TRAP_ACTIVATING                    123
-#define SND_TUBE_PASSING                       124
-#define SND_AMOEBA_TURNING_TO_GEM              125
-#define SND_AMOEBA_TURNING_TO_ROCK             126
-#define SND_SPEED_PILL_COLLECTING              127
-#define SND_DYNABOMB_NR_COLLECTING             128
-#define SND_DYNABOMB_SZ_COLLECTING             129
-#define SND_DYNABOMB_XL_COLLECTING             130
-#define SND_DYNABOMB_DROPPING                  131
-#define SND_DYNABOMB_ACTIVE                    132
-#define SND_SATELLITE_MOVING                   133
-#define SND_SATELLITE_WAITING                  134
-#define SND_SATELLITE_PUSHING                  135
-#define SND_LAMP_ACTIVATING                    136
-#define SND_LAMP_DEACTIVATING                  137
-#define SND_TIME_ORB_FULL_COLLECTING           138
-#define SND_TIME_ORB_FULL_IMPACT               139
-#define SND_TIME_ORB_EMPTY_PUSHING             140
-#define SND_TIME_ORB_EMPTY_IMPACT              141
-#define SND_GAMEOFLIFE_WAITING                 142
-#define SND_GAMEOFLIFE_CREATING                        143
-#define SND_BIOMAZE_WAITING                    144
-#define SND_BIOMAZE_CREATING                   145
-#define SND_PACMAN_MOVING                      146
-#define SND_PACMAN_WAITING                     147
-#define SND_PACMAN_EATING                      148
-#define SND_DARK_YAMYAM_MOVING                 149
-#define SND_DARK_YAMYAM_WAITING                        150
-#define SND_DARK_YAMYAM_EATING                 151
-#define SND_PENGUIN_MOVING                     152
-#define SND_PENGUIN_WAITING                    153
-#define SND_PENGUIN_PASSING_EXIT               154
-#define SND_PIG_MOVING                         155
-#define SND_PIG_WAITING                                156
-#define SND_PIG_EATING                         157
-#define SND_DRAGON_MOVING                      158
-#define SND_DRAGON_WAITING                     159
-#define SND_DRAGON_ATTACKING                   160
-#define SND_PLAYER_DYING                       161
-#define SND_ELEMENT_EXPLODING                  162
-#define SND_GAME_STARTING                      163
-#define SND_GAME_RUNNING_OUT_OF_TIME           164
-#define SND_GAME_LEVELTIME_BONUS               165
-#define SND_GAME_LOSING                                166
-#define SND_GAME_WINNING                       167
-#define SND_MENU_DOOR_OPENING                  168
-#define SND_MENU_DOOR_CLOSING                  169
-#define SND_MENU_HALL_OF_FAME                  170
-#define SND_MENU_INFO_SCREEN                   171
-
-#define NUM_SOUND_FILES                                172
-
 
 /* values for game_status */
 #define EXITGAME               0