From 91afd13180ad610e2a6cbef32b85677cf8148864 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 27 Mar 2003 00:57:05 +0100 Subject: [PATCH] rnd-20030327-1-src --- src/conf_e2g.c | 4 + src/conf_gfx.c | 5 + src/conf_gfx.h | 1659 ++++++++++++++++++++++--------------------- src/conftime.h | 2 +- src/files.c | 42 +- src/game.c | 6 +- src/libgame/sound.h | 2 +- src/main.h | 1 + src/screens.c | 65 +- src/tape.c | 3 + src/tape.h | 6 +- 11 files changed, 933 insertions(+), 862 deletions(-) diff --git a/src/conf_e2g.c b/src/conf_e2g.c index 73e1a725..70babbfa 100644 --- a/src/conf_e2g.c +++ b/src/conf_e2g.c @@ -180,6 +180,10 @@ element_to_graphic[] = EL_BD_FIREFLY, ACTION_MOVING, -1, IMG_BD_FIREFLY_MOVING }, + { + EL_SP_EMPTY_SPACE, -1, -1, + IMG_SP_EMPTY_SPACE + }, { EL_SP_ZONK, -1, -1, IMG_SP_ZONK diff --git a/src/conf_gfx.c b/src/conf_gfx.c index a898cd15..c0277ffb 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -209,6 +209,11 @@ struct ConfigInfo image_config[] = /* images for Supaplex style elements and actions */ + { "sp_empty_space", "RocksSP.pcx" }, + { "sp_empty_space.xpos", "0" }, + { "sp_empty_space.ypos", "0" }, + { "sp_empty_space.frames", "1" }, + { "sp_zonk", "RocksSP.pcx" }, { "sp_zonk.xpos", "1" }, { "sp_zonk.ypos", "0" }, diff --git a/src/conf_gfx.h b/src/conf_gfx.h index f5885250..6c7f9a36 100644 --- a/src/conf_gfx.h +++ b/src/conf_gfx.h @@ -48,835 +48,836 @@ #define IMG_BD_FIREFLY_LEFT 27 #define IMG_BD_FIREFLY_DOWN 28 #define IMG_BD_FIREFLY_MOVING 29 -#define IMG_SP_ZONK 30 -#define IMG_SP_ZONK_FALLING 31 -#define IMG_SP_ZONK_MOVING_LEFT 32 -#define IMG_SP_ZONK_MOVING_RIGHT 33 -#define IMG_SP_BASE 34 -#define IMG_SP_MURPHY 35 -#define IMG_SP_MURPHY_MOVING_LEFT 36 -#define IMG_SP_MURPHY_MOVING_RIGHT 37 -#define IMG_SP_MURPHY_DIGGING_LEFT 38 -#define IMG_SP_MURPHY_DIGGING_RIGHT 39 -#define IMG_SP_MURPHY_PUSHING_LEFT 40 -#define IMG_SP_MURPHY_PUSHING_RIGHT 41 -#define IMG_SP_MURPHY_SNAPPING_LEFT 42 -#define IMG_SP_MURPHY_SNAPPING_RIGHT 43 -#define IMG_SP_MURPHY_SNAPPING_UP 44 -#define IMG_SP_MURPHY_SNAPPING_DOWN 45 -#define IMG_SP_MURPHY_CLONE 46 -#define IMG_SP_INFOTRON 47 -#define IMG_SP_INFOTRON_EDITOR 48 -#define IMG_SP_INFOTRON_FALLING 49 -#define IMG_SP_CHIP_SINGLE 50 -#define IMG_SP_CHIP_LEFT 51 -#define IMG_SP_CHIP_RIGHT 52 -#define IMG_SP_CHIP_TOP 53 -#define IMG_SP_CHIP_BOTTOM 54 -#define IMG_SP_HARDWARE_GRAY 55 -#define IMG_SP_HARDWARE_GREEN 56 -#define IMG_SP_HARDWARE_BLUE 57 -#define IMG_SP_HARDWARE_RED 58 -#define IMG_SP_HARDWARE_YELLOW 59 -#define IMG_SP_EXIT_CLOSED 60 -#define IMG_SP_EXIT_OPEN 61 -#define IMG_SP_DISK_ORANGE 62 -#define IMG_SP_DISK_ORANGE_FALLING 63 -#define IMG_SP_DISK_ORANGE_PUSHING 64 -#define IMG_SP_DISK_YELLOW 65 -#define IMG_SP_DISK_YELLOW_PUSHING 66 -#define IMG_SP_DISK_RED 67 -#define IMG_SP_DISK_RED_COLLECTING 68 -#define IMG_SP_DISK_RED_ACTIVE 69 -#define IMG_SP_PORT_RIGHT 70 -#define IMG_SP_PORT_DOWN 71 -#define IMG_SP_PORT_LEFT 72 -#define IMG_SP_PORT_UP 73 -#define IMG_SP_PORT_HORIZONTAL 74 -#define IMG_SP_PORT_VERTICAL 75 -#define IMG_SP_PORT_ANY 76 -#define IMG_SP_GRAVITY_PORT_RIGHT 77 -#define IMG_SP_GRAVITY_PORT_DOWN 78 -#define IMG_SP_GRAVITY_PORT_LEFT 79 -#define IMG_SP_GRAVITY_PORT_UP 80 -#define IMG_SP_SNIKSNAK 81 -#define IMG_SP_SNIKSNAK_LEFT 82 -#define IMG_SP_SNIKSNAK_RIGHT 83 -#define IMG_SP_SNIKSNAK_UP 84 -#define IMG_SP_SNIKSNAK_DOWN 85 -#define IMG_SP_ELECTRON 86 -#define IMG_SP_ELECTRON_EDITOR 87 -#define IMG_SP_TERMINAL 88 -#define IMG_SP_TERMINAL_EDITOR 89 -#define IMG_SP_TERMINAL_ACTIVE 90 -#define IMG_SP_BUGGY_BASE 91 -#define IMG_SP_BUGGY_BASE_ACTIVATING 92 -#define IMG_SP_BUGGY_BASE_ACTIVE 93 -#define IMG_SP_HARDWARE_BASE_1 94 -#define IMG_SP_HARDWARE_BASE_2 95 -#define IMG_SP_HARDWARE_BASE_3 96 -#define IMG_SP_HARDWARE_BASE_4 97 -#define IMG_SP_HARDWARE_BASE_5 98 -#define IMG_SP_HARDWARE_BASE_6 99 -#define IMG_SP_EXPLOSION 100 -#define IMG_SP_EXPLOSION_INFOTRON 101 -#define IMG_SOKOBAN_OBJECT 102 -#define IMG_SOKOBAN_OBJECT_EDITOR 103 -#define IMG_SOKOBAN_FIELD_EMPTY 104 -#define IMG_SOKOBAN_FIELD_FULL 105 -#define IMG_EMPTY_SPACE 106 -#define IMG_SAND 107 -#define IMG_SAND_CRUMBLED 108 -#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_COLLECTING_DOWN 454 -#define IMG_PLAYER_1_COLLECTING_UP 455 -#define IMG_PLAYER_1_COLLECTING_LEFT 456 -#define IMG_PLAYER_1_COLLECTING_RIGHT 457 -#define IMG_PLAYER_1_PUSHING_DOWN 458 -#define IMG_PLAYER_1_PUSHING_UP 459 -#define IMG_PLAYER_1_PUSHING_LEFT 460 -#define IMG_PLAYER_1_PUSHING_RIGHT 461 -#define IMG_PLAYER_1_SNAPPING_DOWN 462 -#define IMG_PLAYER_1_SNAPPING_UP 463 -#define IMG_PLAYER_1_SNAPPING_LEFT 464 -#define IMG_PLAYER_1_SNAPPING_RIGHT 465 -#define IMG_PLAYER_2 466 -#define IMG_PLAYER_2_EDITOR 467 -#define IMG_PLAYER_2_DOWN 468 -#define IMG_PLAYER_2_UP 469 -#define IMG_PLAYER_2_LEFT 470 -#define IMG_PLAYER_2_RIGHT 471 -#define IMG_PLAYER_2_MOVING_DOWN 472 -#define IMG_PLAYER_2_MOVING_UP 473 -#define IMG_PLAYER_2_MOVING_LEFT 474 -#define IMG_PLAYER_2_MOVING_RIGHT 475 -#define IMG_PLAYER_2_DIGGING_DOWN 476 -#define IMG_PLAYER_2_DIGGING_UP 477 -#define IMG_PLAYER_2_DIGGING_LEFT 478 -#define IMG_PLAYER_2_DIGGING_RIGHT 479 -#define IMG_PLAYER_2_COLLECTING_DOWN 480 -#define IMG_PLAYER_2_COLLECTING_UP 481 -#define IMG_PLAYER_2_COLLECTING_LEFT 482 -#define IMG_PLAYER_2_COLLECTING_RIGHT 483 -#define IMG_PLAYER_2_PUSHING_DOWN 484 -#define IMG_PLAYER_2_PUSHING_UP 485 -#define IMG_PLAYER_2_PUSHING_LEFT 486 -#define IMG_PLAYER_2_PUSHING_RIGHT 487 -#define IMG_PLAYER_2_SNAPPING_DOWN 488 -#define IMG_PLAYER_2_SNAPPING_UP 489 -#define IMG_PLAYER_2_SNAPPING_LEFT 490 -#define IMG_PLAYER_2_SNAPPING_RIGHT 491 -#define IMG_PLAYER_3 492 -#define IMG_PLAYER_3_EDITOR 493 -#define IMG_PLAYER_3_DOWN 494 -#define IMG_PLAYER_3_UP 495 -#define IMG_PLAYER_3_LEFT 496 -#define IMG_PLAYER_3_RIGHT 497 -#define IMG_PLAYER_3_MOVING_DOWN 498 -#define IMG_PLAYER_3_MOVING_UP 499 -#define IMG_PLAYER_3_MOVING_LEFT 500 -#define IMG_PLAYER_3_MOVING_RIGHT 501 -#define IMG_PLAYER_3_DIGGING_DOWN 502 -#define IMG_PLAYER_3_DIGGING_UP 503 -#define IMG_PLAYER_3_DIGGING_LEFT 504 -#define IMG_PLAYER_3_DIGGING_RIGHT 505 -#define IMG_PLAYER_3_COLLECTING_DOWN 506 -#define IMG_PLAYER_3_COLLECTING_UP 507 -#define IMG_PLAYER_3_COLLECTING_LEFT 508 -#define IMG_PLAYER_3_COLLECTING_RIGHT 509 -#define IMG_PLAYER_3_PUSHING_DOWN 510 -#define IMG_PLAYER_3_PUSHING_UP 511 -#define IMG_PLAYER_3_PUSHING_LEFT 512 -#define IMG_PLAYER_3_PUSHING_RIGHT 513 -#define IMG_PLAYER_3_SNAPPING_DOWN 514 -#define IMG_PLAYER_3_SNAPPING_UP 515 -#define IMG_PLAYER_3_SNAPPING_LEFT 516 -#define IMG_PLAYER_3_SNAPPING_RIGHT 517 -#define IMG_PLAYER_4 518 -#define IMG_PLAYER_4_EDITOR 519 -#define IMG_PLAYER_4_DOWN 520 -#define IMG_PLAYER_4_UP 521 -#define IMG_PLAYER_4_LEFT 522 -#define IMG_PLAYER_4_RIGHT 523 -#define IMG_PLAYER_4_MOVING_DOWN 524 -#define IMG_PLAYER_4_MOVING_UP 525 -#define IMG_PLAYER_4_MOVING_LEFT 526 -#define IMG_PLAYER_4_MOVING_RIGHT 527 -#define IMG_PLAYER_4_DIGGING_DOWN 528 -#define IMG_PLAYER_4_DIGGING_UP 529 -#define IMG_PLAYER_4_DIGGING_LEFT 530 -#define IMG_PLAYER_4_DIGGING_RIGHT 531 -#define IMG_PLAYER_4_COLLECTING_DOWN 532 -#define IMG_PLAYER_4_COLLECTING_UP 533 -#define IMG_PLAYER_4_COLLECTING_LEFT 534 -#define IMG_PLAYER_4_COLLECTING_RIGHT 535 -#define IMG_PLAYER_4_PUSHING_DOWN 536 -#define IMG_PLAYER_4_PUSHING_UP 537 -#define IMG_PLAYER_4_PUSHING_LEFT 538 -#define IMG_PLAYER_4_PUSHING_RIGHT 539 -#define IMG_PLAYER_4_SNAPPING_DOWN 540 -#define IMG_PLAYER_4_SNAPPING_UP 541 -#define IMG_PLAYER_4_SNAPPING_LEFT 542 -#define IMG_PLAYER_4_SNAPPING_RIGHT 543 -#define IMG_EXPLOSION 544 -#define IMG_TWINKLE_BLUE 545 -#define IMG_TWINKLE_WHITE 546 -#define IMG_STEELWALL_TOPLEFT 547 -#define IMG_STEELWALL_TOPRIGHT 548 -#define IMG_STEELWALL_BOTTOMLEFT 549 -#define IMG_STEELWALL_BOTTOMRIGHT 550 -#define IMG_STEELWALL_HORIZONTAL 551 -#define IMG_STEELWALL_VERTICAL 552 -#define IMG_STEELWALL_TOPLEFT_EDITOR 553 -#define IMG_STEELWALL_TOPRIGHT_EDITOR 554 -#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 555 -#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 556 -#define IMG_STEELWALL_HORIZONTAL_EDITOR 557 -#define IMG_STEELWALL_VERTICAL_EDITOR 558 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT 559 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 560 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 561 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 562 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 563 -#define IMG_INVISIBLE_STEELWALL_VERTICAL 564 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 565 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 566 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 567 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 568 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 569 -#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 570 -#define IMG_ARROW_LEFT 571 -#define IMG_ARROW_RIGHT 572 -#define IMG_ARROW_UP 573 -#define IMG_ARROW_DOWN 574 -#define IMG_CHAR_SPACE 575 -#define IMG_CHAR_EXCLAM 576 -#define IMG_CHAR_QUOTEDBL 577 -#define IMG_CHAR_NUMBERSIGN 578 -#define IMG_CHAR_DOLLAR 579 -#define IMG_CHAR_PROCENT 580 -#define IMG_CHAR_AMPERSAND 581 -#define IMG_CHAR_APOSTROPHE 582 -#define IMG_CHAR_PARENLEFT 583 -#define IMG_CHAR_PARENRIGHT 584 -#define IMG_CHAR_ASTERISK 585 -#define IMG_CHAR_PLUS 586 -#define IMG_CHAR_COMMA 587 -#define IMG_CHAR_MINUS 588 -#define IMG_CHAR_PERIOD 589 -#define IMG_CHAR_SLASH 590 -#define IMG_CHAR_0 591 -#define IMG_CHAR_1 592 -#define IMG_CHAR_2 593 -#define IMG_CHAR_3 594 -#define IMG_CHAR_4 595 -#define IMG_CHAR_5 596 -#define IMG_CHAR_6 597 -#define IMG_CHAR_7 598 -#define IMG_CHAR_8 599 -#define IMG_CHAR_9 600 -#define IMG_CHAR_COLON 601 -#define IMG_CHAR_SEMICOLON 602 -#define IMG_CHAR_LESS 603 -#define IMG_CHAR_EQUAL 604 -#define IMG_CHAR_GREATER 605 -#define IMG_CHAR_QUESTION 606 -#define IMG_CHAR_AT 607 -#define IMG_CHAR_A 608 -#define IMG_CHAR_B 609 -#define IMG_CHAR_C 610 -#define IMG_CHAR_D 611 -#define IMG_CHAR_E 612 -#define IMG_CHAR_F 613 -#define IMG_CHAR_G 614 -#define IMG_CHAR_H 615 -#define IMG_CHAR_I 616 -#define IMG_CHAR_J 617 -#define IMG_CHAR_K 618 -#define IMG_CHAR_L 619 -#define IMG_CHAR_M 620 -#define IMG_CHAR_N 621 -#define IMG_CHAR_O 622 -#define IMG_CHAR_P 623 -#define IMG_CHAR_Q 624 -#define IMG_CHAR_R 625 -#define IMG_CHAR_S 626 -#define IMG_CHAR_T 627 -#define IMG_CHAR_U 628 -#define IMG_CHAR_V 629 -#define IMG_CHAR_W 630 -#define IMG_CHAR_X 631 -#define IMG_CHAR_Y 632 -#define IMG_CHAR_Z 633 -#define IMG_CHAR_AE 634 -#define IMG_CHAR_OE 635 -#define IMG_CHAR_UE 636 -#define IMG_CHAR_COPYRIGHT 637 -#define IMG_CHAR_UNDERSCORE 638 -#define IMG_CHAR_EMPTY 639 -#define IMG_CHAR_DEGREE 640 -#define IMG_CHAR_TM 641 -#define IMG_CHAR_CURSOR 642 -#define IMG_CUSTOM_1 643 -#define IMG_CUSTOM_2 644 -#define IMG_CUSTOM_3 645 -#define IMG_CUSTOM_4 646 -#define IMG_CUSTOM_5 647 -#define IMG_CUSTOM_6 648 -#define IMG_CUSTOM_7 649 -#define IMG_CUSTOM_8 650 -#define IMG_CUSTOM_9 651 -#define IMG_CUSTOM_10 652 -#define IMG_CUSTOM_11 653 -#define IMG_CUSTOM_12 654 -#define IMG_CUSTOM_13 655 -#define IMG_CUSTOM_14 656 -#define IMG_CUSTOM_15 657 -#define IMG_CUSTOM_16 658 -#define IMG_CUSTOM_17 659 -#define IMG_CUSTOM_18 660 -#define IMG_CUSTOM_19 661 -#define IMG_CUSTOM_20 662 -#define IMG_CUSTOM_21 663 -#define IMG_CUSTOM_22 664 -#define IMG_CUSTOM_23 665 -#define IMG_CUSTOM_24 666 -#define IMG_CUSTOM_25 667 -#define IMG_CUSTOM_26 668 -#define IMG_CUSTOM_27 669 -#define IMG_CUSTOM_28 670 -#define IMG_CUSTOM_29 671 -#define IMG_CUSTOM_30 672 -#define IMG_CUSTOM_31 673 -#define IMG_CUSTOM_32 674 -#define IMG_CUSTOM_33 675 -#define IMG_CUSTOM_34 676 -#define IMG_CUSTOM_35 677 -#define IMG_CUSTOM_36 678 -#define IMG_CUSTOM_37 679 -#define IMG_CUSTOM_38 680 -#define IMG_CUSTOM_39 681 -#define IMG_CUSTOM_40 682 -#define IMG_CUSTOM_41 683 -#define IMG_CUSTOM_42 684 -#define IMG_CUSTOM_43 685 -#define IMG_CUSTOM_44 686 -#define IMG_CUSTOM_45 687 -#define IMG_CUSTOM_46 688 -#define IMG_CUSTOM_47 689 -#define IMG_CUSTOM_48 690 -#define IMG_CUSTOM_49 691 -#define IMG_CUSTOM_50 692 -#define IMG_CUSTOM_51 693 -#define IMG_CUSTOM_52 694 -#define IMG_CUSTOM_53 695 -#define IMG_CUSTOM_54 696 -#define IMG_CUSTOM_55 697 -#define IMG_CUSTOM_56 698 -#define IMG_CUSTOM_57 699 -#define IMG_CUSTOM_58 700 -#define IMG_CUSTOM_59 701 -#define IMG_CUSTOM_60 702 -#define IMG_CUSTOM_61 703 -#define IMG_CUSTOM_62 704 -#define IMG_CUSTOM_63 705 -#define IMG_CUSTOM_64 706 -#define IMG_CUSTOM_65 707 -#define IMG_CUSTOM_66 708 -#define IMG_CUSTOM_67 709 -#define IMG_CUSTOM_68 710 -#define IMG_CUSTOM_69 711 -#define IMG_CUSTOM_70 712 -#define IMG_CUSTOM_71 713 -#define IMG_CUSTOM_72 714 -#define IMG_CUSTOM_73 715 -#define IMG_CUSTOM_74 716 -#define IMG_CUSTOM_75 717 -#define IMG_CUSTOM_76 718 -#define IMG_CUSTOM_77 719 -#define IMG_CUSTOM_78 720 -#define IMG_CUSTOM_79 721 -#define IMG_CUSTOM_80 722 -#define IMG_CUSTOM_81 723 -#define IMG_CUSTOM_82 724 -#define IMG_CUSTOM_83 725 -#define IMG_CUSTOM_84 726 -#define IMG_CUSTOM_85 727 -#define IMG_CUSTOM_86 728 -#define IMG_CUSTOM_87 729 -#define IMG_CUSTOM_88 730 -#define IMG_CUSTOM_89 731 -#define IMG_CUSTOM_90 732 -#define IMG_CUSTOM_91 733 -#define IMG_CUSTOM_92 734 -#define IMG_CUSTOM_93 735 -#define IMG_CUSTOM_94 736 -#define IMG_CUSTOM_95 737 -#define IMG_CUSTOM_96 738 -#define IMG_CUSTOM_97 739 -#define IMG_CUSTOM_98 740 -#define IMG_CUSTOM_99 741 -#define IMG_CUSTOM_100 742 -#define IMG_CUSTOM_101 743 -#define IMG_CUSTOM_102 744 -#define IMG_CUSTOM_103 745 -#define IMG_CUSTOM_104 746 -#define IMG_CUSTOM_105 747 -#define IMG_CUSTOM_106 748 -#define IMG_CUSTOM_107 749 -#define IMG_CUSTOM_108 750 -#define IMG_CUSTOM_109 751 -#define IMG_CUSTOM_110 752 -#define IMG_CUSTOM_111 753 -#define IMG_CUSTOM_112 754 -#define IMG_CUSTOM_113 755 -#define IMG_CUSTOM_114 756 -#define IMG_CUSTOM_115 757 -#define IMG_CUSTOM_116 758 -#define IMG_CUSTOM_117 759 -#define IMG_CUSTOM_118 760 -#define IMG_CUSTOM_119 761 -#define IMG_CUSTOM_120 762 -#define IMG_CUSTOM_121 763 -#define IMG_CUSTOM_122 764 -#define IMG_CUSTOM_123 765 -#define IMG_CUSTOM_124 766 -#define IMG_CUSTOM_125 767 -#define IMG_CUSTOM_126 768 -#define IMG_CUSTOM_127 769 -#define IMG_CUSTOM_128 770 -#define IMG_TOON_1 771 -#define IMG_TOON_2 772 -#define IMG_TOON_3 773 -#define IMG_TOON_4 774 -#define IMG_TOON_5 775 -#define IMG_TOON_6 776 -#define IMG_TOON_7 777 -#define IMG_TOON_8 778 -#define IMG_TOON_9 779 -#define IMG_TOON_10 780 -#define IMG_TOON_11 781 -#define IMG_TOON_12 782 -#define IMG_TOON_13 783 -#define IMG_TOON_14 784 -#define IMG_TOON_15 785 -#define IMG_TOON_16 786 -#define IMG_TOON_17 787 -#define IMG_TOON_18 788 -#define IMG_TOON_19 789 -#define IMG_TOON_20 790 -#define IMG_MENU_CALIBRATE_RED 791 -#define IMG_MENU_CALIBRATE_BLUE 792 -#define IMG_MENU_CALIBRATE_YELLOW 793 -#define IMG_MENU_BUTTON 794 -#define IMG_MENU_BUTTON_ACTIVE 795 -#define IMG_MENU_BUTTON_LEFT 796 -#define IMG_MENU_BUTTON_RIGHT 797 -#define IMG_MENU_BUTTON_UP 798 -#define IMG_MENU_BUTTON_DOWN 799 -#define IMG_MENU_BUTTON_LEFT_ACTIVE 800 -#define IMG_MENU_BUTTON_RIGHT_ACTIVE 801 -#define IMG_MENU_BUTTON_UP_ACTIVE 802 -#define IMG_MENU_BUTTON_DOWN_ACTIVE 803 -#define IMG_MENU_SCROLLBAR 804 -#define IMG_MENU_SCROLLBAR_ACTIVE 805 -#define IMG_FONT_INITIAL_1 806 -#define IMG_FONT_INITIAL_2 807 -#define IMG_FONT_INITIAL_3 808 -#define IMG_FONT_INITIAL_4 809 -#define IMG_FONT_TITLE_1 810 -#define IMG_FONT_TITLE_1_LEVELS 811 -#define IMG_FONT_TITLE_2 812 -#define IMG_FONT_MENU_1 813 -#define IMG_FONT_MENU_2 814 -#define IMG_FONT_TEXT_1 815 -#define IMG_FONT_TEXT_1_LEVELS 816 -#define IMG_FONT_TEXT_1_SCORES 817 -#define IMG_FONT_TEXT_1_PREVIEW 818 -#define IMG_FONT_TEXT_2 819 -#define IMG_FONT_TEXT_2_LEVELS 820 -#define IMG_FONT_TEXT_2_SCORES 821 -#define IMG_FONT_TEXT_2_PREVIEW 822 -#define IMG_FONT_TEXT_3 823 -#define IMG_FONT_TEXT_3_LEVELS 824 -#define IMG_FONT_TEXT_3_SCORES 825 -#define IMG_FONT_TEXT_3_PREVIEW 826 -#define IMG_FONT_TEXT_4 827 -#define IMG_FONT_TEXT_4_LEVELS 828 -#define IMG_FONT_TEXT_4_SCORES 829 -#define IMG_FONT_INPUT 830 -#define IMG_FONT_INPUT_MAIN 831 -#define IMG_FONT_INPUT_ACTIVE 832 -#define IMG_FONT_INPUT_ACTIVE_MAIN 833 -#define IMG_FONT_INPUT_ACTIVE_SETUP 834 -#define IMG_FONT_OPTION_OFF 835 -#define IMG_FONT_OPTION_ON 836 -#define IMG_FONT_VALUE_1 837 -#define IMG_FONT_VALUE_2 838 -#define IMG_FONT_VALUE_OLD 839 -#define IMG_FONT_LEVEL_NUMBER 840 -#define IMG_FONT_TAPE_RECORDER 841 -#define IMG_GLOBAL_BORDER 842 -#define IMG_GLOBAL_DOOR 843 -#define IMG_EDITOR_ELEMENT_BORDER 844 -#define IMG_BACKGROUND 845 -#define IMG_BACKGROUND_MAIN 846 -#define IMG_BACKGROUND_LEVELS 847 -#define IMG_BACKGROUND_SCORES 848 -#define IMG_BACKGROUND_EDITOR 849 -#define IMG_BACKGROUND_INFO 850 -#define IMG_BACKGROUND_SETUP 851 -#define IMG_BACKGROUND_DOOR 852 -#define IMG_INFO_FONT_EM_1 853 -#define IMG_INFO_FONT_EM_2 854 -#define IMG_INFO_FONT_EM_3 855 -#define IMG_INFO_FONT_EM_4 856 -#define IMG_INFO_FONT_EM_5 857 +#define IMG_SP_EMPTY_SPACE 30 +#define IMG_SP_ZONK 31 +#define IMG_SP_ZONK_FALLING 32 +#define IMG_SP_ZONK_MOVING_LEFT 33 +#define IMG_SP_ZONK_MOVING_RIGHT 34 +#define IMG_SP_BASE 35 +#define IMG_SP_MURPHY 36 +#define IMG_SP_MURPHY_MOVING_LEFT 37 +#define IMG_SP_MURPHY_MOVING_RIGHT 38 +#define IMG_SP_MURPHY_DIGGING_LEFT 39 +#define IMG_SP_MURPHY_DIGGING_RIGHT 40 +#define IMG_SP_MURPHY_PUSHING_LEFT 41 +#define IMG_SP_MURPHY_PUSHING_RIGHT 42 +#define IMG_SP_MURPHY_SNAPPING_LEFT 43 +#define IMG_SP_MURPHY_SNAPPING_RIGHT 44 +#define IMG_SP_MURPHY_SNAPPING_UP 45 +#define IMG_SP_MURPHY_SNAPPING_DOWN 46 +#define IMG_SP_MURPHY_CLONE 47 +#define IMG_SP_INFOTRON 48 +#define IMG_SP_INFOTRON_EDITOR 49 +#define IMG_SP_INFOTRON_FALLING 50 +#define IMG_SP_CHIP_SINGLE 51 +#define IMG_SP_CHIP_LEFT 52 +#define IMG_SP_CHIP_RIGHT 53 +#define IMG_SP_CHIP_TOP 54 +#define IMG_SP_CHIP_BOTTOM 55 +#define IMG_SP_HARDWARE_GRAY 56 +#define IMG_SP_HARDWARE_GREEN 57 +#define IMG_SP_HARDWARE_BLUE 58 +#define IMG_SP_HARDWARE_RED 59 +#define IMG_SP_HARDWARE_YELLOW 60 +#define IMG_SP_EXIT_CLOSED 61 +#define IMG_SP_EXIT_OPEN 62 +#define IMG_SP_DISK_ORANGE 63 +#define IMG_SP_DISK_ORANGE_FALLING 64 +#define IMG_SP_DISK_ORANGE_PUSHING 65 +#define IMG_SP_DISK_YELLOW 66 +#define IMG_SP_DISK_YELLOW_PUSHING 67 +#define IMG_SP_DISK_RED 68 +#define IMG_SP_DISK_RED_COLLECTING 69 +#define IMG_SP_DISK_RED_ACTIVE 70 +#define IMG_SP_PORT_RIGHT 71 +#define IMG_SP_PORT_DOWN 72 +#define IMG_SP_PORT_LEFT 73 +#define IMG_SP_PORT_UP 74 +#define IMG_SP_PORT_HORIZONTAL 75 +#define IMG_SP_PORT_VERTICAL 76 +#define IMG_SP_PORT_ANY 77 +#define IMG_SP_GRAVITY_PORT_RIGHT 78 +#define IMG_SP_GRAVITY_PORT_DOWN 79 +#define IMG_SP_GRAVITY_PORT_LEFT 80 +#define IMG_SP_GRAVITY_PORT_UP 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_ELECTRON_EDITOR 88 +#define IMG_SP_TERMINAL 89 +#define IMG_SP_TERMINAL_EDITOR 90 +#define IMG_SP_TERMINAL_ACTIVE 91 +#define IMG_SP_BUGGY_BASE 92 +#define IMG_SP_BUGGY_BASE_ACTIVATING 93 +#define IMG_SP_BUGGY_BASE_ACTIVE 94 +#define IMG_SP_HARDWARE_BASE_1 95 +#define IMG_SP_HARDWARE_BASE_2 96 +#define IMG_SP_HARDWARE_BASE_3 97 +#define IMG_SP_HARDWARE_BASE_4 98 +#define IMG_SP_HARDWARE_BASE_5 99 +#define IMG_SP_HARDWARE_BASE_6 100 +#define IMG_SP_EXPLOSION 101 +#define IMG_SP_EXPLOSION_INFOTRON 102 +#define IMG_SOKOBAN_OBJECT 103 +#define IMG_SOKOBAN_OBJECT_EDITOR 104 +#define IMG_SOKOBAN_FIELD_EMPTY 105 +#define IMG_SOKOBAN_FIELD_FULL 106 +#define IMG_EMPTY_SPACE 107 +#define IMG_SAND 108 +#define IMG_SAND_CRUMBLED 109 +#define IMG_SAND_DIGGING_LEFT 110 +#define IMG_SAND_DIGGING_RIGHT 111 +#define IMG_SAND_DIGGING_UP 112 +#define IMG_SAND_DIGGING_DOWN 113 +#define IMG_WALL 114 +#define IMG_WALL_CRUMBLED 115 +#define IMG_STEELWALL 116 +#define IMG_ROCK 117 +#define IMG_ROCK_FALLING 118 +#define IMG_ROCK_MOVING_LEFT 119 +#define IMG_ROCK_MOVING_RIGHT 120 +#define IMG_EMERALD 121 +#define IMG_EMERALD_MOVING 122 +#define IMG_EMERALD_FALLING 123 +#define IMG_DIAMOND 124 +#define IMG_DIAMOND_MOVING 125 +#define IMG_DIAMOND_FALLING 126 +#define IMG_BOMB 127 +#define IMG_NUT 128 +#define IMG_NUT_FALLING 129 +#define IMG_NUT_MOVING_LEFT 130 +#define IMG_NUT_MOVING_RIGHT 131 +#define IMG_NUT_BREAKING 132 +#define IMG_DYNAMITE 133 +#define IMG_DYNAMITE_EDITOR 134 +#define IMG_DYNAMITE_ACTIVE 135 +#define IMG_DYNAMITE_ACTIVE_EDITOR 136 +#define IMG_WALL_EMERALD 137 +#define IMG_WALL_DIAMOND 138 +#define IMG_BUG_RIGHT 139 +#define IMG_BUG_UP 140 +#define IMG_BUG_LEFT 141 +#define IMG_BUG_DOWN 142 +#define IMG_SPACESHIP_RIGHT 143 +#define IMG_SPACESHIP_UP 144 +#define IMG_SPACESHIP_LEFT 145 +#define IMG_SPACESHIP_DOWN 146 +#define IMG_YAMYAM 147 +#define IMG_YAMYAM_MOVING 148 +#define IMG_ROBOT 149 +#define IMG_ROBOT_MOVING 150 +#define IMG_ROBOT_WHEEL 151 +#define IMG_ROBOT_WHEEL_ACTIVE 152 +#define IMG_MAGIC_WALL 153 +#define IMG_MAGIC_WALL_ACTIVE 154 +#define IMG_MAGIC_WALL_FILLING 155 +#define IMG_MAGIC_WALL_FULL 156 +#define IMG_MAGIC_WALL_EMPTYING 157 +#define IMG_MAGIC_WALL_DEAD 158 +#define IMG_QUICKSAND_EMPTY 159 +#define IMG_QUICKSAND_FILLING 160 +#define IMG_QUICKSAND_FULL 161 +#define IMG_QUICKSAND_FULL_EDITOR 162 +#define IMG_QUICKSAND_EMPTYING 163 +#define IMG_ACID_POOL_TOPLEFT 164 +#define IMG_ACID_POOL_TOPRIGHT 165 +#define IMG_ACID_POOL_BOTTOMLEFT 166 +#define IMG_ACID_POOL_BOTTOM 167 +#define IMG_ACID_POOL_BOTTOMRIGHT 168 +#define IMG_ACID 169 +#define IMG_ACID_SPLASH_LEFT 170 +#define IMG_ACID_SPLASH_RIGHT 171 +#define IMG_AMOEBA_DROP 172 +#define IMG_AMOEBA_GROWING 173 +#define IMG_AMOEBA_SHRINKING 174 +#define IMG_AMOEBA_WET 175 +#define IMG_AMOEBA_WET_EDITOR 176 +#define IMG_AMOEBA_DROPPING 177 +#define IMG_AMOEBA_DRY 178 +#define IMG_AMOEBA_FULL 179 +#define IMG_AMOEBA_FULL_EDITOR 180 +#define IMG_AMOEBA_DEAD 181 +#define IMG_AMOEBA_DEAD_EDITOR 182 +#define IMG_EM_KEY_1 183 +#define IMG_EM_KEY_2 184 +#define IMG_EM_KEY_3 185 +#define IMG_EM_KEY_4 186 +#define IMG_EM_GATE_1 187 +#define IMG_EM_GATE_2 188 +#define IMG_EM_GATE_3 189 +#define IMG_EM_GATE_4 190 +#define IMG_EM_GATE_1_GRAY 191 +#define IMG_EM_GATE_1_GRAY_EDITOR 192 +#define IMG_EM_GATE_2_GRAY 193 +#define IMG_EM_GATE_2_GRAY_EDITOR 194 +#define IMG_EM_GATE_3_GRAY 195 +#define IMG_EM_GATE_3_GRAY_EDITOR 196 +#define IMG_EM_GATE_4_GRAY 197 +#define IMG_EM_GATE_4_GRAY_EDITOR 198 +#define IMG_EXIT_CLOSED 199 +#define IMG_EXIT_OPENING 200 +#define IMG_EXIT_OPEN 201 +#define IMG_BALLOON 202 +#define IMG_BALLOON_MOVING 203 +#define IMG_BALLOON_SWITCH_LEFT 204 +#define IMG_BALLOON_SWITCH_RIGHT 205 +#define IMG_BALLOON_SWITCH_UP 206 +#define IMG_BALLOON_SWITCH_DOWN 207 +#define IMG_BALLOON_SWITCH_ANY 208 +#define IMG_SPRING 209 +#define IMG_SPRING_MOVING 210 +#define IMG_EMC_STEELWALL_1 211 +#define IMG_EMC_STEELWALL_2 212 +#define IMG_EMC_STEELWALL_3 213 +#define IMG_EMC_STEELWALL_4 214 +#define IMG_EMC_WALL_1 215 +#define IMG_EMC_WALL_2 216 +#define IMG_EMC_WALL_3 217 +#define IMG_EMC_WALL_4 218 +#define IMG_EMC_WALL_5 219 +#define IMG_EMC_WALL_6 220 +#define IMG_EMC_WALL_7 221 +#define IMG_EMC_WALL_8 222 +#define IMG_INVISIBLE_STEELWALL 223 +#define IMG_INVISIBLE_STEELWALL_EDITOR 224 +#define IMG_INVISIBLE_STEELWALL_ACTIVE 225 +#define IMG_INVISIBLE_WALL 226 +#define IMG_INVISIBLE_WALL_EDITOR 227 +#define IMG_INVISIBLE_WALL_ACTIVE 228 +#define IMG_INVISIBLE_SAND 229 +#define IMG_INVISIBLE_SAND_EDITOR 230 +#define IMG_INVISIBLE_SAND_ACTIVE 231 +#define IMG_CONVEYOR_BELT_1_MIDDLE 232 +#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE 233 +#define IMG_CONVEYOR_BELT_1_LEFT 234 +#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE 235 +#define IMG_CONVEYOR_BELT_1_RIGHT 236 +#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE 237 +#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT 238 +#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE 239 +#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT 240 +#define IMG_CONVEYOR_BELT_2_MIDDLE 241 +#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE 242 +#define IMG_CONVEYOR_BELT_2_LEFT 243 +#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE 244 +#define IMG_CONVEYOR_BELT_2_RIGHT 245 +#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE 246 +#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT 247 +#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE 248 +#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT 249 +#define IMG_CONVEYOR_BELT_3_MIDDLE 250 +#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE 251 +#define IMG_CONVEYOR_BELT_3_LEFT 252 +#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE 253 +#define IMG_CONVEYOR_BELT_3_RIGHT 254 +#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE 255 +#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT 256 +#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE 257 +#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT 258 +#define IMG_CONVEYOR_BELT_4_MIDDLE 259 +#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE 260 +#define IMG_CONVEYOR_BELT_4_LEFT 261 +#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE 262 +#define IMG_CONVEYOR_BELT_4_RIGHT 263 +#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE 264 +#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT 265 +#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE 266 +#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT 267 +#define IMG_SWITCHGATE_SWITCH_UP 268 +#define IMG_SWITCHGATE_SWITCH_DOWN 269 +#define IMG_LIGHT_SWITCH 270 +#define IMG_LIGHT_SWITCH_ACTIVE 271 +#define IMG_TIMEGATE_SWITCH 272 +#define IMG_TIMEGATE_SWITCH_ACTIVE 273 +#define IMG_ENVELOPE 274 +#define IMG_SIGN_EXCLAMATION 275 +#define IMG_SIGN_STOP 276 +#define IMG_LANDMINE 277 +#define IMG_STEELWALL_SLANTED 278 +#define IMG_EXTRA_TIME 279 +#define IMG_SHIELD_NORMAL 280 +#define IMG_SHIELD_NORMAL_ACTIVE 281 +#define IMG_SHIELD_DEADLY 282 +#define IMG_SHIELD_DEADLY_ACTIVE 283 +#define IMG_SWITCHGATE_CLOSED 284 +#define IMG_SWITCHGATE_OPENING 285 +#define IMG_SWITCHGATE_OPEN 286 +#define IMG_SWITCHGATE_CLOSING 287 +#define IMG_TIMEGATE_CLOSED 288 +#define IMG_TIMEGATE_OPENING 289 +#define IMG_TIMEGATE_OPEN 290 +#define IMG_TIMEGATE_CLOSING 291 +#define IMG_PEARL 292 +#define IMG_PEARL_BREAKING 293 +#define IMG_CRYSTAL 294 +#define IMG_WALL_PEARL 295 +#define IMG_WALL_CRYSTAL 296 +#define IMG_TUBE_RIGHT_DOWN 297 +#define IMG_TUBE_HORIZONTAL_DOWN 298 +#define IMG_TUBE_LEFT_DOWN 299 +#define IMG_TUBE_HORIZONTAL 300 +#define IMG_TUBE_VERTICAL_RIGHT 301 +#define IMG_TUBE_ANY 302 +#define IMG_TUBE_VERTICAL_LEFT 303 +#define IMG_TUBE_VERTICAL 304 +#define IMG_TUBE_RIGHT_UP 305 +#define IMG_TUBE_HORIZONTAL_UP 306 +#define IMG_TUBE_LEFT_UP 307 +#define IMG_TRAP 308 +#define IMG_TRAP_ACTIVE 309 +#define IMG_DX_SUPABOMB 310 +#define IMG_KEY_1 311 +#define IMG_KEY_1_EDITOR 312 +#define IMG_KEY_2 313 +#define IMG_KEY_2_EDITOR 314 +#define IMG_KEY_3 315 +#define IMG_KEY_3_EDITOR 316 +#define IMG_KEY_4 317 +#define IMG_KEY_4_EDITOR 318 +#define IMG_GATE_1 319 +#define IMG_GATE_2 320 +#define IMG_GATE_3 321 +#define IMG_GATE_4 322 +#define IMG_GATE_1_GRAY 323 +#define IMG_GATE_1_GRAY_EDITOR 324 +#define IMG_GATE_2_GRAY 325 +#define IMG_GATE_2_GRAY_EDITOR 326 +#define IMG_GATE_3_GRAY 327 +#define IMG_GATE_3_GRAY_EDITOR 328 +#define IMG_GATE_4_GRAY 329 +#define IMG_GATE_4_GRAY_EDITOR 330 +#define IMG_GAME_OF_LIFE 331 +#define IMG_BIOMAZE 332 +#define IMG_PACMAN_RIGHT 333 +#define IMG_PACMAN_UP 334 +#define IMG_PACMAN_LEFT 335 +#define IMG_PACMAN_DOWN 336 +#define IMG_LAMP 337 +#define IMG_LAMP_EDITOR 338 +#define IMG_LAMP_ACTIVE 339 +#define IMG_TIME_ORB_FULL 340 +#define IMG_TIME_ORB_EMPTY 341 +#define IMG_EMERALD_YELLOW 342 +#define IMG_EMERALD_YELLOW_MOVING 343 +#define IMG_EMERALD_YELLOW_FALLING 344 +#define IMG_EMERALD_RED 345 +#define IMG_EMERALD_RED_MOVING 346 +#define IMG_EMERALD_RED_FALLING 347 +#define IMG_EMERALD_PURPLE 348 +#define IMG_EMERALD_PURPLE_MOVING 349 +#define IMG_EMERALD_PURPLE_FALLING 350 +#define IMG_WALL_EMERALD_YELLOW 351 +#define IMG_WALL_EMERALD_RED 352 +#define IMG_WALL_EMERALD_PURPLE 353 +#define IMG_WALL_BD_DIAMOND 354 +#define IMG_EXPANDABLE_WALL 355 +#define IMG_EXPANDABLE_WALL_HORIZONTAL 356 +#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR 357 +#define IMG_EXPANDABLE_WALL_VERTICAL 358 +#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR 359 +#define IMG_EXPANDABLE_WALL_ANY 360 +#define IMG_EXPANDABLE_WALL_ANY_EDITOR 361 +#define IMG_EXPANDABLE_WALL_GROWING_LEFT 362 +#define IMG_EXPANDABLE_WALL_GROWING_RIGHT 363 +#define IMG_EXPANDABLE_WALL_GROWING_UP 364 +#define IMG_EXPANDABLE_WALL_GROWING_DOWN 365 +#define IMG_BLACK_ORB 366 +#define IMG_SPEED_PILL 367 +#define IMG_DARK_YAMYAM 368 +#define IMG_DYNABOMB_ACTIVE 369 +#define IMG_DYNABOMB_PLAYER_1_ACTIVE 370 +#define IMG_DYNABOMB_PLAYER_2_ACTIVE 371 +#define IMG_DYNABOMB_PLAYER_3_ACTIVE 372 +#define IMG_DYNABOMB_PLAYER_4_ACTIVE 373 +#define IMG_DYNABOMB_INCREASE_NUMBER 374 +#define IMG_DYNABOMB_INCREASE_SIZE 375 +#define IMG_DYNABOMB_INCREASE_POWER 376 +#define IMG_PIG 377 +#define IMG_PIG_DOWN 378 +#define IMG_PIG_UP 379 +#define IMG_PIG_LEFT 380 +#define IMG_PIG_RIGHT 381 +#define IMG_PIG_MOVING_DOWN 382 +#define IMG_PIG_MOVING_UP 383 +#define IMG_PIG_MOVING_LEFT 384 +#define IMG_PIG_MOVING_RIGHT 385 +#define IMG_PIG_DIGGING_DOWN 386 +#define IMG_PIG_DIGGING_UP 387 +#define IMG_PIG_DIGGING_LEFT 388 +#define IMG_PIG_DIGGING_RIGHT 389 +#define IMG_DRAGON 390 +#define IMG_DRAGON_DOWN 391 +#define IMG_DRAGON_UP 392 +#define IMG_DRAGON_LEFT 393 +#define IMG_DRAGON_RIGHT 394 +#define IMG_DRAGON_MOVING_DOWN 395 +#define IMG_DRAGON_MOVING_UP 396 +#define IMG_DRAGON_MOVING_LEFT 397 +#define IMG_DRAGON_MOVING_RIGHT 398 +#define IMG_DRAGON_ATTACKING_DOWN 399 +#define IMG_DRAGON_ATTACKING_UP 400 +#define IMG_DRAGON_ATTACKING_LEFT 401 +#define IMG_DRAGON_ATTACKING_RIGHT 402 +#define IMG_MOLE 403 +#define IMG_MOLE_DOWN 404 +#define IMG_MOLE_UP 405 +#define IMG_MOLE_LEFT 406 +#define IMG_MOLE_RIGHT 407 +#define IMG_MOLE_MOVING_DOWN 408 +#define IMG_MOLE_MOVING_UP 409 +#define IMG_MOLE_MOVING_LEFT 410 +#define IMG_MOLE_MOVING_RIGHT 411 +#define IMG_MOLE_DIGGING_DOWN 412 +#define IMG_MOLE_DIGGING_UP 413 +#define IMG_MOLE_DIGGING_LEFT 414 +#define IMG_MOLE_DIGGING_RIGHT 415 +#define IMG_PENGUIN 416 +#define IMG_PENGUIN_EDITOR 417 +#define IMG_PENGUIN_DOWN 418 +#define IMG_PENGUIN_UP 419 +#define IMG_PENGUIN_LEFT 420 +#define IMG_PENGUIN_RIGHT 421 +#define IMG_PENGUIN_MOVING_DOWN 422 +#define IMG_PENGUIN_MOVING_UP 423 +#define IMG_PENGUIN_MOVING_LEFT 424 +#define IMG_PENGUIN_MOVING_RIGHT 425 +#define IMG_SATELLITE 426 +#define IMG_SATELLITE_MOVING 427 +#define IMG_FLAMES_1_LEFT 428 +#define IMG_FLAMES_2_LEFT 429 +#define IMG_FLAMES_3_LEFT 430 +#define IMG_FLAMES_1_RIGHT 431 +#define IMG_FLAMES_2_RIGHT 432 +#define IMG_FLAMES_3_RIGHT 433 +#define IMG_FLAMES_1_UP 434 +#define IMG_FLAMES_2_UP 435 +#define IMG_FLAMES_3_UP 436 +#define IMG_FLAMES_1_DOWN 437 +#define IMG_FLAMES_2_DOWN 438 +#define IMG_FLAMES_3_DOWN 439 +#define IMG_STONEBLOCK 440 +#define IMG_PLAYER_1 441 +#define IMG_PLAYER_1_EDITOR 442 +#define IMG_PLAYER_1_DOWN 443 +#define IMG_PLAYER_1_UP 444 +#define IMG_PLAYER_1_LEFT 445 +#define IMG_PLAYER_1_RIGHT 446 +#define IMG_PLAYER_1_MOVING_DOWN 447 +#define IMG_PLAYER_1_MOVING_UP 448 +#define IMG_PLAYER_1_MOVING_LEFT 449 +#define IMG_PLAYER_1_MOVING_RIGHT 450 +#define IMG_PLAYER_1_DIGGING_DOWN 451 +#define IMG_PLAYER_1_DIGGING_UP 452 +#define IMG_PLAYER_1_DIGGING_LEFT 453 +#define IMG_PLAYER_1_DIGGING_RIGHT 454 +#define IMG_PLAYER_1_COLLECTING_DOWN 455 +#define IMG_PLAYER_1_COLLECTING_UP 456 +#define IMG_PLAYER_1_COLLECTING_LEFT 457 +#define IMG_PLAYER_1_COLLECTING_RIGHT 458 +#define IMG_PLAYER_1_PUSHING_DOWN 459 +#define IMG_PLAYER_1_PUSHING_UP 460 +#define IMG_PLAYER_1_PUSHING_LEFT 461 +#define IMG_PLAYER_1_PUSHING_RIGHT 462 +#define IMG_PLAYER_1_SNAPPING_DOWN 463 +#define IMG_PLAYER_1_SNAPPING_UP 464 +#define IMG_PLAYER_1_SNAPPING_LEFT 465 +#define IMG_PLAYER_1_SNAPPING_RIGHT 466 +#define IMG_PLAYER_2 467 +#define IMG_PLAYER_2_EDITOR 468 +#define IMG_PLAYER_2_DOWN 469 +#define IMG_PLAYER_2_UP 470 +#define IMG_PLAYER_2_LEFT 471 +#define IMG_PLAYER_2_RIGHT 472 +#define IMG_PLAYER_2_MOVING_DOWN 473 +#define IMG_PLAYER_2_MOVING_UP 474 +#define IMG_PLAYER_2_MOVING_LEFT 475 +#define IMG_PLAYER_2_MOVING_RIGHT 476 +#define IMG_PLAYER_2_DIGGING_DOWN 477 +#define IMG_PLAYER_2_DIGGING_UP 478 +#define IMG_PLAYER_2_DIGGING_LEFT 479 +#define IMG_PLAYER_2_DIGGING_RIGHT 480 +#define IMG_PLAYER_2_COLLECTING_DOWN 481 +#define IMG_PLAYER_2_COLLECTING_UP 482 +#define IMG_PLAYER_2_COLLECTING_LEFT 483 +#define IMG_PLAYER_2_COLLECTING_RIGHT 484 +#define IMG_PLAYER_2_PUSHING_DOWN 485 +#define IMG_PLAYER_2_PUSHING_UP 486 +#define IMG_PLAYER_2_PUSHING_LEFT 487 +#define IMG_PLAYER_2_PUSHING_RIGHT 488 +#define IMG_PLAYER_2_SNAPPING_DOWN 489 +#define IMG_PLAYER_2_SNAPPING_UP 490 +#define IMG_PLAYER_2_SNAPPING_LEFT 491 +#define IMG_PLAYER_2_SNAPPING_RIGHT 492 +#define IMG_PLAYER_3 493 +#define IMG_PLAYER_3_EDITOR 494 +#define IMG_PLAYER_3_DOWN 495 +#define IMG_PLAYER_3_UP 496 +#define IMG_PLAYER_3_LEFT 497 +#define IMG_PLAYER_3_RIGHT 498 +#define IMG_PLAYER_3_MOVING_DOWN 499 +#define IMG_PLAYER_3_MOVING_UP 500 +#define IMG_PLAYER_3_MOVING_LEFT 501 +#define IMG_PLAYER_3_MOVING_RIGHT 502 +#define IMG_PLAYER_3_DIGGING_DOWN 503 +#define IMG_PLAYER_3_DIGGING_UP 504 +#define IMG_PLAYER_3_DIGGING_LEFT 505 +#define IMG_PLAYER_3_DIGGING_RIGHT 506 +#define IMG_PLAYER_3_COLLECTING_DOWN 507 +#define IMG_PLAYER_3_COLLECTING_UP 508 +#define IMG_PLAYER_3_COLLECTING_LEFT 509 +#define IMG_PLAYER_3_COLLECTING_RIGHT 510 +#define IMG_PLAYER_3_PUSHING_DOWN 511 +#define IMG_PLAYER_3_PUSHING_UP 512 +#define IMG_PLAYER_3_PUSHING_LEFT 513 +#define IMG_PLAYER_3_PUSHING_RIGHT 514 +#define IMG_PLAYER_3_SNAPPING_DOWN 515 +#define IMG_PLAYER_3_SNAPPING_UP 516 +#define IMG_PLAYER_3_SNAPPING_LEFT 517 +#define IMG_PLAYER_3_SNAPPING_RIGHT 518 +#define IMG_PLAYER_4 519 +#define IMG_PLAYER_4_EDITOR 520 +#define IMG_PLAYER_4_DOWN 521 +#define IMG_PLAYER_4_UP 522 +#define IMG_PLAYER_4_LEFT 523 +#define IMG_PLAYER_4_RIGHT 524 +#define IMG_PLAYER_4_MOVING_DOWN 525 +#define IMG_PLAYER_4_MOVING_UP 526 +#define IMG_PLAYER_4_MOVING_LEFT 527 +#define IMG_PLAYER_4_MOVING_RIGHT 528 +#define IMG_PLAYER_4_DIGGING_DOWN 529 +#define IMG_PLAYER_4_DIGGING_UP 530 +#define IMG_PLAYER_4_DIGGING_LEFT 531 +#define IMG_PLAYER_4_DIGGING_RIGHT 532 +#define IMG_PLAYER_4_COLLECTING_DOWN 533 +#define IMG_PLAYER_4_COLLECTING_UP 534 +#define IMG_PLAYER_4_COLLECTING_LEFT 535 +#define IMG_PLAYER_4_COLLECTING_RIGHT 536 +#define IMG_PLAYER_4_PUSHING_DOWN 537 +#define IMG_PLAYER_4_PUSHING_UP 538 +#define IMG_PLAYER_4_PUSHING_LEFT 539 +#define IMG_PLAYER_4_PUSHING_RIGHT 540 +#define IMG_PLAYER_4_SNAPPING_DOWN 541 +#define IMG_PLAYER_4_SNAPPING_UP 542 +#define IMG_PLAYER_4_SNAPPING_LEFT 543 +#define IMG_PLAYER_4_SNAPPING_RIGHT 544 +#define IMG_EXPLOSION 545 +#define IMG_TWINKLE_BLUE 546 +#define IMG_TWINKLE_WHITE 547 +#define IMG_STEELWALL_TOPLEFT 548 +#define IMG_STEELWALL_TOPRIGHT 549 +#define IMG_STEELWALL_BOTTOMLEFT 550 +#define IMG_STEELWALL_BOTTOMRIGHT 551 +#define IMG_STEELWALL_HORIZONTAL 552 +#define IMG_STEELWALL_VERTICAL 553 +#define IMG_STEELWALL_TOPLEFT_EDITOR 554 +#define IMG_STEELWALL_TOPRIGHT_EDITOR 555 +#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 556 +#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 557 +#define IMG_STEELWALL_HORIZONTAL_EDITOR 558 +#define IMG_STEELWALL_VERTICAL_EDITOR 559 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT 560 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 561 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 562 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 563 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 564 +#define IMG_INVISIBLE_STEELWALL_VERTICAL 565 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 566 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 567 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 568 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 569 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 570 +#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 571 +#define IMG_ARROW_LEFT 572 +#define IMG_ARROW_RIGHT 573 +#define IMG_ARROW_UP 574 +#define IMG_ARROW_DOWN 575 +#define IMG_CHAR_SPACE 576 +#define IMG_CHAR_EXCLAM 577 +#define IMG_CHAR_QUOTEDBL 578 +#define IMG_CHAR_NUMBERSIGN 579 +#define IMG_CHAR_DOLLAR 580 +#define IMG_CHAR_PROCENT 581 +#define IMG_CHAR_AMPERSAND 582 +#define IMG_CHAR_APOSTROPHE 583 +#define IMG_CHAR_PARENLEFT 584 +#define IMG_CHAR_PARENRIGHT 585 +#define IMG_CHAR_ASTERISK 586 +#define IMG_CHAR_PLUS 587 +#define IMG_CHAR_COMMA 588 +#define IMG_CHAR_MINUS 589 +#define IMG_CHAR_PERIOD 590 +#define IMG_CHAR_SLASH 591 +#define IMG_CHAR_0 592 +#define IMG_CHAR_1 593 +#define IMG_CHAR_2 594 +#define IMG_CHAR_3 595 +#define IMG_CHAR_4 596 +#define IMG_CHAR_5 597 +#define IMG_CHAR_6 598 +#define IMG_CHAR_7 599 +#define IMG_CHAR_8 600 +#define IMG_CHAR_9 601 +#define IMG_CHAR_COLON 602 +#define IMG_CHAR_SEMICOLON 603 +#define IMG_CHAR_LESS 604 +#define IMG_CHAR_EQUAL 605 +#define IMG_CHAR_GREATER 606 +#define IMG_CHAR_QUESTION 607 +#define IMG_CHAR_AT 608 +#define IMG_CHAR_A 609 +#define IMG_CHAR_B 610 +#define IMG_CHAR_C 611 +#define IMG_CHAR_D 612 +#define IMG_CHAR_E 613 +#define IMG_CHAR_F 614 +#define IMG_CHAR_G 615 +#define IMG_CHAR_H 616 +#define IMG_CHAR_I 617 +#define IMG_CHAR_J 618 +#define IMG_CHAR_K 619 +#define IMG_CHAR_L 620 +#define IMG_CHAR_M 621 +#define IMG_CHAR_N 622 +#define IMG_CHAR_O 623 +#define IMG_CHAR_P 624 +#define IMG_CHAR_Q 625 +#define IMG_CHAR_R 626 +#define IMG_CHAR_S 627 +#define IMG_CHAR_T 628 +#define IMG_CHAR_U 629 +#define IMG_CHAR_V 630 +#define IMG_CHAR_W 631 +#define IMG_CHAR_X 632 +#define IMG_CHAR_Y 633 +#define IMG_CHAR_Z 634 +#define IMG_CHAR_AE 635 +#define IMG_CHAR_OE 636 +#define IMG_CHAR_UE 637 +#define IMG_CHAR_COPYRIGHT 638 +#define IMG_CHAR_UNDERSCORE 639 +#define IMG_CHAR_EMPTY 640 +#define IMG_CHAR_DEGREE 641 +#define IMG_CHAR_TM 642 +#define IMG_CHAR_CURSOR 643 +#define IMG_CUSTOM_1 644 +#define IMG_CUSTOM_2 645 +#define IMG_CUSTOM_3 646 +#define IMG_CUSTOM_4 647 +#define IMG_CUSTOM_5 648 +#define IMG_CUSTOM_6 649 +#define IMG_CUSTOM_7 650 +#define IMG_CUSTOM_8 651 +#define IMG_CUSTOM_9 652 +#define IMG_CUSTOM_10 653 +#define IMG_CUSTOM_11 654 +#define IMG_CUSTOM_12 655 +#define IMG_CUSTOM_13 656 +#define IMG_CUSTOM_14 657 +#define IMG_CUSTOM_15 658 +#define IMG_CUSTOM_16 659 +#define IMG_CUSTOM_17 660 +#define IMG_CUSTOM_18 661 +#define IMG_CUSTOM_19 662 +#define IMG_CUSTOM_20 663 +#define IMG_CUSTOM_21 664 +#define IMG_CUSTOM_22 665 +#define IMG_CUSTOM_23 666 +#define IMG_CUSTOM_24 667 +#define IMG_CUSTOM_25 668 +#define IMG_CUSTOM_26 669 +#define IMG_CUSTOM_27 670 +#define IMG_CUSTOM_28 671 +#define IMG_CUSTOM_29 672 +#define IMG_CUSTOM_30 673 +#define IMG_CUSTOM_31 674 +#define IMG_CUSTOM_32 675 +#define IMG_CUSTOM_33 676 +#define IMG_CUSTOM_34 677 +#define IMG_CUSTOM_35 678 +#define IMG_CUSTOM_36 679 +#define IMG_CUSTOM_37 680 +#define IMG_CUSTOM_38 681 +#define IMG_CUSTOM_39 682 +#define IMG_CUSTOM_40 683 +#define IMG_CUSTOM_41 684 +#define IMG_CUSTOM_42 685 +#define IMG_CUSTOM_43 686 +#define IMG_CUSTOM_44 687 +#define IMG_CUSTOM_45 688 +#define IMG_CUSTOM_46 689 +#define IMG_CUSTOM_47 690 +#define IMG_CUSTOM_48 691 +#define IMG_CUSTOM_49 692 +#define IMG_CUSTOM_50 693 +#define IMG_CUSTOM_51 694 +#define IMG_CUSTOM_52 695 +#define IMG_CUSTOM_53 696 +#define IMG_CUSTOM_54 697 +#define IMG_CUSTOM_55 698 +#define IMG_CUSTOM_56 699 +#define IMG_CUSTOM_57 700 +#define IMG_CUSTOM_58 701 +#define IMG_CUSTOM_59 702 +#define IMG_CUSTOM_60 703 +#define IMG_CUSTOM_61 704 +#define IMG_CUSTOM_62 705 +#define IMG_CUSTOM_63 706 +#define IMG_CUSTOM_64 707 +#define IMG_CUSTOM_65 708 +#define IMG_CUSTOM_66 709 +#define IMG_CUSTOM_67 710 +#define IMG_CUSTOM_68 711 +#define IMG_CUSTOM_69 712 +#define IMG_CUSTOM_70 713 +#define IMG_CUSTOM_71 714 +#define IMG_CUSTOM_72 715 +#define IMG_CUSTOM_73 716 +#define IMG_CUSTOM_74 717 +#define IMG_CUSTOM_75 718 +#define IMG_CUSTOM_76 719 +#define IMG_CUSTOM_77 720 +#define IMG_CUSTOM_78 721 +#define IMG_CUSTOM_79 722 +#define IMG_CUSTOM_80 723 +#define IMG_CUSTOM_81 724 +#define IMG_CUSTOM_82 725 +#define IMG_CUSTOM_83 726 +#define IMG_CUSTOM_84 727 +#define IMG_CUSTOM_85 728 +#define IMG_CUSTOM_86 729 +#define IMG_CUSTOM_87 730 +#define IMG_CUSTOM_88 731 +#define IMG_CUSTOM_89 732 +#define IMG_CUSTOM_90 733 +#define IMG_CUSTOM_91 734 +#define IMG_CUSTOM_92 735 +#define IMG_CUSTOM_93 736 +#define IMG_CUSTOM_94 737 +#define IMG_CUSTOM_95 738 +#define IMG_CUSTOM_96 739 +#define IMG_CUSTOM_97 740 +#define IMG_CUSTOM_98 741 +#define IMG_CUSTOM_99 742 +#define IMG_CUSTOM_100 743 +#define IMG_CUSTOM_101 744 +#define IMG_CUSTOM_102 745 +#define IMG_CUSTOM_103 746 +#define IMG_CUSTOM_104 747 +#define IMG_CUSTOM_105 748 +#define IMG_CUSTOM_106 749 +#define IMG_CUSTOM_107 750 +#define IMG_CUSTOM_108 751 +#define IMG_CUSTOM_109 752 +#define IMG_CUSTOM_110 753 +#define IMG_CUSTOM_111 754 +#define IMG_CUSTOM_112 755 +#define IMG_CUSTOM_113 756 +#define IMG_CUSTOM_114 757 +#define IMG_CUSTOM_115 758 +#define IMG_CUSTOM_116 759 +#define IMG_CUSTOM_117 760 +#define IMG_CUSTOM_118 761 +#define IMG_CUSTOM_119 762 +#define IMG_CUSTOM_120 763 +#define IMG_CUSTOM_121 764 +#define IMG_CUSTOM_122 765 +#define IMG_CUSTOM_123 766 +#define IMG_CUSTOM_124 767 +#define IMG_CUSTOM_125 768 +#define IMG_CUSTOM_126 769 +#define IMG_CUSTOM_127 770 +#define IMG_CUSTOM_128 771 +#define IMG_TOON_1 772 +#define IMG_TOON_2 773 +#define IMG_TOON_3 774 +#define IMG_TOON_4 775 +#define IMG_TOON_5 776 +#define IMG_TOON_6 777 +#define IMG_TOON_7 778 +#define IMG_TOON_8 779 +#define IMG_TOON_9 780 +#define IMG_TOON_10 781 +#define IMG_TOON_11 782 +#define IMG_TOON_12 783 +#define IMG_TOON_13 784 +#define IMG_TOON_14 785 +#define IMG_TOON_15 786 +#define IMG_TOON_16 787 +#define IMG_TOON_17 788 +#define IMG_TOON_18 789 +#define IMG_TOON_19 790 +#define IMG_TOON_20 791 +#define IMG_MENU_CALIBRATE_RED 792 +#define IMG_MENU_CALIBRATE_BLUE 793 +#define IMG_MENU_CALIBRATE_YELLOW 794 +#define IMG_MENU_BUTTON 795 +#define IMG_MENU_BUTTON_ACTIVE 796 +#define IMG_MENU_BUTTON_LEFT 797 +#define IMG_MENU_BUTTON_RIGHT 798 +#define IMG_MENU_BUTTON_UP 799 +#define IMG_MENU_BUTTON_DOWN 800 +#define IMG_MENU_BUTTON_LEFT_ACTIVE 801 +#define IMG_MENU_BUTTON_RIGHT_ACTIVE 802 +#define IMG_MENU_BUTTON_UP_ACTIVE 803 +#define IMG_MENU_BUTTON_DOWN_ACTIVE 804 +#define IMG_MENU_SCROLLBAR 805 +#define IMG_MENU_SCROLLBAR_ACTIVE 806 +#define IMG_FONT_INITIAL_1 807 +#define IMG_FONT_INITIAL_2 808 +#define IMG_FONT_INITIAL_3 809 +#define IMG_FONT_INITIAL_4 810 +#define IMG_FONT_TITLE_1 811 +#define IMG_FONT_TITLE_1_LEVELS 812 +#define IMG_FONT_TITLE_2 813 +#define IMG_FONT_MENU_1 814 +#define IMG_FONT_MENU_2 815 +#define IMG_FONT_TEXT_1 816 +#define IMG_FONT_TEXT_1_LEVELS 817 +#define IMG_FONT_TEXT_1_SCORES 818 +#define IMG_FONT_TEXT_1_PREVIEW 819 +#define IMG_FONT_TEXT_2 820 +#define IMG_FONT_TEXT_2_LEVELS 821 +#define IMG_FONT_TEXT_2_SCORES 822 +#define IMG_FONT_TEXT_2_PREVIEW 823 +#define IMG_FONT_TEXT_3 824 +#define IMG_FONT_TEXT_3_LEVELS 825 +#define IMG_FONT_TEXT_3_SCORES 826 +#define IMG_FONT_TEXT_3_PREVIEW 827 +#define IMG_FONT_TEXT_4 828 +#define IMG_FONT_TEXT_4_LEVELS 829 +#define IMG_FONT_TEXT_4_SCORES 830 +#define IMG_FONT_INPUT 831 +#define IMG_FONT_INPUT_MAIN 832 +#define IMG_FONT_INPUT_ACTIVE 833 +#define IMG_FONT_INPUT_ACTIVE_MAIN 834 +#define IMG_FONT_INPUT_ACTIVE_SETUP 835 +#define IMG_FONT_OPTION_OFF 836 +#define IMG_FONT_OPTION_ON 837 +#define IMG_FONT_VALUE_1 838 +#define IMG_FONT_VALUE_2 839 +#define IMG_FONT_VALUE_OLD 840 +#define IMG_FONT_LEVEL_NUMBER 841 +#define IMG_FONT_TAPE_RECORDER 842 +#define IMG_GLOBAL_BORDER 843 +#define IMG_GLOBAL_DOOR 844 +#define IMG_EDITOR_ELEMENT_BORDER 845 +#define IMG_BACKGROUND 846 +#define IMG_BACKGROUND_MAIN 847 +#define IMG_BACKGROUND_LEVELS 848 +#define IMG_BACKGROUND_SCORES 849 +#define IMG_BACKGROUND_EDITOR 850 +#define IMG_BACKGROUND_INFO 851 +#define IMG_BACKGROUND_SETUP 852 +#define IMG_BACKGROUND_DOOR 853 +#define IMG_INFO_FONT_EM_1 854 +#define IMG_INFO_FONT_EM_2 855 +#define IMG_INFO_FONT_EM_3 856 +#define IMG_INFO_FONT_EM_4 857 +#define IMG_INFO_FONT_EM_5 858 -#define NUM_IMAGE_FILES 858 +#define NUM_IMAGE_FILES 859 #endif /* CONF_GFX_H */ diff --git a/src/conftime.h b/src/conftime.h index 83cc1b2c..ed9b5fa2 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-03-13 00:35]" +#define COMPILE_DATE_STRING "[2003-03-27 00:55]" diff --git a/src/files.c b/src/files.c index 2f031820..436decce 100644 --- a/src/files.c +++ b/src/files.c @@ -872,6 +872,26 @@ static int LoadTape_HEAD(FILE *file, int chunk_size, struct TapeInfo *tape) return chunk_size; } +static int LoadTape_INFO(FILE *file, int chunk_size, struct TapeInfo *tape) +{ + int level_identifier_size; + int i; + + level_identifier_size = getFile16BitBE(file); + + tape->level_identifier = + checked_realloc(tape->level_identifier, level_identifier_size); + + for(i=0; i < level_identifier_size; i++) + tape->level_identifier[i] = fgetc(file); + + tape->level_nr = getFile16BitBE(file); + + chunk_size = 2 + level_identifier_size + 2; + + return chunk_size; +} + static int LoadTape_BODY(FILE *file, int chunk_size, struct TapeInfo *tape) { int i, j; @@ -1025,6 +1045,7 @@ void LoadTapeFromFilename(char *filename) { { "VERS", FILE_VERS_CHUNK_SIZE, LoadTape_VERS }, { "HEAD", TAPE_HEADER_SIZE, LoadTape_HEAD }, + { "INFO", -1, LoadTape_INFO }, { "BODY", -1, LoadTape_BODY }, { NULL, 0, NULL } }; @@ -1108,6 +1129,19 @@ static void SaveTape_HEAD(FILE *file, struct TapeInfo *tape) putFileVersion(file, tape->engine_version); } +static void SaveTape_INFO(FILE *file, struct TapeInfo *tape) +{ + int level_identifier_size = strlen(tape->level_identifier) + 1; + int i; + + putFile16BitBE(file, level_identifier_size); + + for(i=0; i < level_identifier_size; i++) + fputc(tape->level_identifier[i], file); + + putFile16BitBE(file, tape->level_nr); +} + static void SaveTape_BODY(FILE *file, struct TapeInfo *tape) { int i, j; @@ -1124,12 +1158,13 @@ static void SaveTape_BODY(FILE *file, struct TapeInfo *tape) void SaveTape(int level_nr) { - int i; char *filename = getTapeFilename(level_nr); FILE *file; boolean new_tape = TRUE; int num_participating_players = 0; + int info_chunk_size; int body_chunk_size; + int i; InitTapeDirectory(leveldir_current->filename); @@ -1155,6 +1190,7 @@ void SaveTape(int level_nr) if (tape.player_participates[i]) num_participating_players++; + info_chunk_size = 2 + (strlen(tape.level_identifier) + 1) + 2; body_chunk_size = (num_participating_players + 1) * tape.length; putFileChunkBE(file, "RND1", CHUNK_SIZE_UNDEFINED); @@ -1166,6 +1202,9 @@ void SaveTape(int level_nr) putFileChunkBE(file, "HEAD", TAPE_HEADER_SIZE); SaveTape_HEAD(file, &tape); + putFileChunkBE(file, "INFO", info_chunk_size); + SaveTape_INFO(file, &tape); + putFileChunkBE(file, "BODY", body_chunk_size); SaveTape_BODY(file, &tape); @@ -1192,6 +1231,7 @@ void DumpTape(struct TapeInfo *tape) printf_line("-", 79); printf("Tape of Level %03d (file version %06d, game version %06d)\n", tape->level_nr, tape->file_version, tape->game_version); + printf("Level series identifier: '%s'\n", tape->level_identifier); printf_line("-", 79); for(i=0; ilength; i++) diff --git a/src/game.c b/src/game.c index 4b726a43..06c88af1 100644 --- a/src/game.c +++ b/src/game.c @@ -1384,6 +1384,7 @@ static int MovingOrBlocked2ElementIfNotLeaving(int x, int y) static void RemoveField(int x, int y) { Feld[x][y] = EL_EMPTY; + GfxElement[x][y] = EL_EMPTY; MovPos[x][y] = 0; MovDir[x][y] = 0; MovDelay[x][y] = 0; @@ -1617,6 +1618,7 @@ void Explode(int ex, int ey, int phase, int mode) } Feld[x][y] = EL_EXPLOSION; + GfxElement[x][y] = EL_EMPTY; MovDir[x][y] = MovPos[x][y] = 0; AmoebaNr[x][y] = 0; ExplodePhase[x][y] = 1; @@ -5726,11 +5728,11 @@ int DigField(struct PlayerInfo *player, case EL_SP_BASE: case EL_SP_BUGGY_BASE: case EL_SP_BUGGY_BASE_ACTIVATING: + RemoveField(x, y); #if 1 if (mode != DF_SNAP && element == EL_SAND) - GfxElement[x][y] = Feld[x][y]; + GfxElement[x][y] = EL_SAND; #endif - RemoveField(x, y); PlaySoundLevelElementAction(x, y, element, ACTION_DIGGING); break; diff --git a/src/libgame/sound.h b/src/libgame/sound.h index feb41d47..3b5270b9 100644 --- a/src/libgame/sound.h +++ b/src/libgame/sound.h @@ -57,7 +57,7 @@ #if defined(PLATFORM_HPUX) #define DEFAULT_AUDIO_FRAGMENT_SIZE AUDIO_FRAGMENT_SIZE_32768 #elif defined(PLATFORM_WIN32) -#define DEFAULT_AUDIO_FRAGMENT_SIZE AUDIO_FRAGMENT_SIZE_2048 +#define DEFAULT_AUDIO_FRAGMENT_SIZE AUDIO_FRAGMENT_SIZE_1024 #else #define DEFAULT_AUDIO_FRAGMENT_SIZE AUDIO_FRAGMENT_SIZE_512 #endif diff --git a/src/main.h b/src/main.h index 4275ba7e..b75fc447 100644 --- a/src/main.h +++ b/src/main.h @@ -996,6 +996,7 @@ struct TapeInfo int game_version; /* game release version the tape was created with */ int engine_version; /* game engine version the tape was recorded with */ + char *level_identifier; int level_nr; unsigned long random_seed; unsigned long date; diff --git a/src/screens.c b/src/screens.c index 18fe8f12..4be05731 100644 --- a/src/screens.c +++ b/src/screens.c @@ -106,8 +106,14 @@ static void drawCursorExt(int xpos, int ypos, int color, int graphic) ypos += MENU_SCREEN_START_YPOS; +#if 1 + DrawBackground(mSX + xpos * TILEX, mSY + ypos * TILEY, TILEX, TILEY); + DrawGraphicThruMaskExt(drawto, mSX + xpos * TILEX, mSY + ypos * TILEY, + graphic, 0); +#else DrawBackground(SX + xpos * 32, SY + ypos * 32, TILEX, TILEY); DrawGraphicThruMask(xpos, ypos, graphic, 0); +#endif } static void initCursor(int ypos, int graphic) @@ -141,10 +147,10 @@ static void PlaySound_Menu_Continue(int sound) void DrawHeadline() { - int font1_xsize = getFontWidth(FONT_TITLE_1); - int font2_xsize = getFontWidth(FONT_TITLE_2); - int x1 = SX + (SXSIZE - strlen(PROGRAM_TITLE_STRING) * font1_xsize) / 2; - int x2 = SX + (SXSIZE - strlen(WINDOW_SUBTITLE_STRING) * font2_xsize) / 2; + int font1_width = getFontWidth(FONT_TITLE_1); + int font2_width = getFontWidth(FONT_TITLE_2); + int x1 = SX + (SXSIZE - strlen(PROGRAM_TITLE_STRING) * font1_width) / 2; + int x2 = SX + (SXSIZE - strlen(WINDOW_SUBTITLE_STRING) * font2_width) / 2; DrawText(x1, SY + 8, PROGRAM_TITLE_STRING, FONT_TITLE_1); DrawText(x2, SY + 46, WINDOW_SUBTITLE_STRING, FONT_TITLE_2); @@ -178,7 +184,9 @@ void DrawMainMenu() { static LevelDirTree *leveldir_last_valid = NULL; char *name_text = (!options.network && setup.team_mode ? "Team:" : "Name:"); - int name_width = getFontWidth(FONT_MENU_1) * strlen("Name:"); + int font_width = getFontWidth(FONT_MENU_1); + int name_width = font_width * strlen("Name:"); + int level_width = font_width * strlen("Level:"); int i; #if 0 @@ -240,39 +248,39 @@ void DrawMainMenu() DrawHeadline(); - DrawText(mSX + 32, mSY + 2*32, name_text, FONT_MENU_1); + DrawText(mSX + 32, mSY + 2*32, name_text, FONT_MENU_1); + DrawText(mSX + 32, mSY + 3*32, "Level:", FONT_MENU_1); + DrawText(mSX + 32, mSY + 4*32, "Hall Of Fame", FONT_MENU_1); + DrawText(mSX + 32, mSY + 5*32, "Level Creator", FONT_MENU_1); + DrawText(mSY + 32, mSY + 6*32, "Info Screen", FONT_MENU_1); + DrawText(mSX + 32, mSY + 7*32, "Start Game", FONT_MENU_1); + DrawText(mSX + 32, mSY + 8*32, "Setup", FONT_MENU_1); + DrawText(mSX + 32, mSY + 9*32, "Quit", FONT_MENU_1); + DrawText(mSX + 32 + name_width, mSY + 2*32, setup.player_name, FONT_INPUT); - DrawText(mSX + 32, mSY + 3*32, "Level:", FONT_MENU_1); - DrawText(mSX + 11 * 32, mSY + 3*32, int2str(level_nr,3), FONT_VALUE_1); - DrawText(mSX + 32, mSY + 4*32, "Hall Of Fame", FONT_MENU_1); - DrawText(mSX + 32, mSY + 5*32, "Level Creator", FONT_MENU_1); - DrawText(mSY + 32, mSY + 6*32, "Info Screen", FONT_MENU_1); - DrawText(mSX + 32, mSY + 7*32, "Start Game", FONT_MENU_1); - DrawText(mSX + 32, mSY + 8*32, "Setup", FONT_MENU_1); - DrawText(mSX + 32, mSY + 9*32, "Quit", FONT_MENU_1); + DrawText(mSX + level_width + 5 * 32, mSY + 3*32, int2str(level_nr,3), + FONT_VALUE_1); DrawMicroLevel(MICROLEV_XPOS, MICROLEV_YPOS, TRUE); - DrawTextF(7*32 + 6, 3*32 + 9, FONT_TEXT_3, "%d-%d", - leveldir_current->first_level, - leveldir_current->last_level); + DrawTextF(mSX + 32 + level_width - 2, mSY + 3*32 + 1, FONT_TEXT_3, "%d-%d", + leveldir_current->first_level, leveldir_current->last_level); + /* if (leveldir_current->readonly) + */ { - DrawTextF(15*32 + 6, 3*32 + 9 - 7, FONT_TEXT_3, "READ"); - DrawTextF(15*32 + 6, 3*32 + 9 + 7, FONT_TEXT_3, "ONLY"); + DrawTextF(mSX + level_width + 9*32 - 2, + mSY + 3*32 + 1 - 7, FONT_TEXT_3, "READ"); + DrawTextF(mSX + level_width + 9*32 - 2, + mSY + 3*32 + 1 + 7, FONT_TEXT_3, "ONLY"); } for(i=0; i<8; i++) initCursor(i, (i == 1 || i == 6 ? IMG_MENU_BUTTON_RIGHT :IMG_MENU_BUTTON)); -#if 0 - DrawGraphic(10, 3, IMG_MENU_BUTTON_LEFT, 0); - DrawGraphic(14, 3, IMG_MENU_BUTTON_RIGHT, 0); -#else - drawCursorXY(10, 1, IMG_MENU_BUTTON_LEFT); - drawCursorXY(14, 1, IMG_MENU_BUTTON_RIGHT); -#endif + drawCursorXY(level_width/32 + 4, 1, IMG_MENU_BUTTON_LEFT); + drawCursorXY(level_width/32 + 8, 1, IMG_MENU_BUTTON_RIGHT); DrawText(SX + 56, SY + 326, "A Game by Artsoft Entertainment", FONT_TITLE_2); @@ -2305,7 +2313,12 @@ static void drawPlayerSetupInputInfo(int player_nr) custom_key = setup.input[player_nr].key; DrawText(mSX+11*32, mSY+2*32, int2str(player_nr + 1, 1), FONT_INPUT_ACTIVE); +#if 1 + DrawGraphicThruMaskExt(drawto, mSX + 8 * TILEX, mSY + 2 * TILEY, + PLAYER_NR_GFX(IMG_PLAYER_1, player_nr), 0); +#else DrawGraphicThruMask(8, 2, PLAYER_NR_GFX(IMG_PLAYER_1, player_nr), 0); +#endif if (setup.input[player_nr].use_joystick) { diff --git a/src/tape.c b/src/tape.c index d9002605..43c97f5c 100644 --- a/src/tape.c +++ b/src/tape.c @@ -302,6 +302,9 @@ void TapeErase() tape.length = 0; tape.counter = 0; + if (leveldir_current) + setString(&tape.level_identifier, leveldir_current->identifier); + tape.level_nr = level_nr; tape.pos[tape.counter].delay = 0; tape.changed = TRUE; diff --git a/src/tape.h b/src/tape.h index e1482e47..f32ad694 100644 --- a/src/tape.h +++ b/src/tape.h @@ -76,9 +76,11 @@ #define VIDEO_STATE_PBEND (VIDEO_STATE_PBEND_OFF | VIDEO_STATE_PBEND_ON) /* tags to draw video display labels or symbols only */ +/* (negative values to prevent misinterpretation in DrawVideoDisplay(), where + the variable "value" is also used for tape length -- better fix this) */ #define VIDEO_DISPLAY_DEFAULT 0 -#define VIDEO_DISPLAY_LABEL_ONLY 1 -#define VIDEO_DISPLAY_SYMBOL_ONLY 2 +#define VIDEO_DISPLAY_LABEL_ONLY -1 +#define VIDEO_DISPLAY_SYMBOL_ONLY -2 void DrawVideoDisplay(unsigned long, unsigned long); -- 2.34.1