From 5e616edfe5f101927d2ff3f7a14d2c65897de3cc Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 24 Sep 2003 18:07:06 +0200 Subject: [PATCH] rnd-20030924-B-src --- src/conf_e2g.c | 36 +- src/conf_e2s.c | 8 +- src/conf_gfx.c | 28 +- src/conf_gfx.h | 2492 +++++++++++++++++++++--------------------- src/conf_snd.c | 2 +- src/conf_snd.h | 2 +- src/conftime.h | 2 +- src/editor.c | 180 +-- src/files.c | 123 ++- src/game.c | 38 +- src/init.c | 8 +- src/libgame/setup.c | 1 + src/libgame/system.h | 6 + src/main.c | 79 +- src/main.h | 182 +-- src/tools.c | 237 ++-- 16 files changed, 1836 insertions(+), 1588 deletions(-) diff --git a/src/conf_e2g.c b/src/conf_e2g.c index 64d8adaa..8e61f523 100644 --- a/src/conf_e2g.c +++ b/src/conf_e2g.c @@ -189,10 +189,6 @@ element_to_graphic[] = EL_SP_DEFAULT, ACTION_EXPLODING, -1, FALSE, IMG_SP_DEFAULT_EXPLODING }, - { - EL_SP_EMPTY_SPACE, -1, -1, FALSE, - IMG_SP_EMPTY_SPACE - }, { EL_SP_ZONK, -1, -1, FALSE, IMG_SP_ZONK @@ -1290,8 +1286,20 @@ element_to_graphic[] = IMG_TIMEGATE_SWITCH_ACTIVE }, { - EL_ENVELOPE, -1, -1, FALSE, - IMG_ENVELOPE + EL_ENVELOPE_1, -1, -1, FALSE, + IMG_ENVELOPE_1 + }, + { + EL_ENVELOPE_2, -1, -1, FALSE, + IMG_ENVELOPE_2 + }, + { + EL_ENVELOPE_3, -1, -1, FALSE, + IMG_ENVELOPE_3 + }, + { + EL_ENVELOPE_4, -1, -1, FALSE, + IMG_ENVELOPE_4 }, { EL_SIGN_EXCLAMATION, -1, -1, FALSE, @@ -2465,22 +2473,6 @@ element_to_graphic[] = EL_DX_UNKNOWN_42, -1, -1, FALSE, IMG_CHAR_QUESTION }, - { - EL_EM_KEY_1_FILE, -1, -1, FALSE, - IMG_EM_KEY_1 - }, - { - EL_EM_KEY_2_FILE, -1, -1, FALSE, - IMG_EM_KEY_2 - }, - { - EL_EM_KEY_3_FILE, -1, -1, FALSE, - IMG_EM_KEY_3 - }, - { - EL_EM_KEY_4_FILE, -1, -1, FALSE, - IMG_EM_KEY_4 - }, { EL_KEY_WHITE, -1, -1, FALSE, IMG_CHAR_QUESTION diff --git a/src/conf_e2s.c b/src/conf_e2s.c index 9aa8ae90..a986c3d3 100644 --- a/src/conf_e2s.c +++ b/src/conf_e2s.c @@ -225,7 +225,7 @@ element_to_sound[] = SND_CLASS_SOKOBAN_EMPTYING }, { - EL_PLAYER_OBSOLETE, TRUE, ACTION_MOVING, + EL_PLAYER_1, TRUE, ACTION_MOVING, SND_CLASS_PLAYER_MOVING }, { @@ -297,7 +297,7 @@ element_to_sound[] = SND_CLASS_DYNAMITE_ACTIVE }, { - EL_KEY_OBSOLETE, TRUE, ACTION_COLLECTING, + EL_KEY_1, TRUE, ACTION_COLLECTING, SND_CLASS_KEY_COLLECTING }, { @@ -465,8 +465,8 @@ element_to_sound[] = SND_CRYSTAL_IMPACT }, { - EL_ENVELOPE, FALSE, ACTION_COLLECTING, - SND_ENVELOPE_COLLECTING + EL_ENVELOPE_1, TRUE, ACTION_COLLECTING, + SND_CLASS_ENVELOPE_COLLECTING }, { EL_INVISIBLE_SAND, FALSE, ACTION_DIGGING, diff --git a/src/conf_gfx.c b/src/conf_gfx.c index c9f5ceaf..2a129b4f 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -227,11 +227,6 @@ struct ConfigInfo image_config[] = { "[sp_default].exploding.delay", "3" }, { "[sp_default].exploding.anim_mode", "linear" }, - { "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" }, @@ -1451,10 +1446,22 @@ struct ConfigInfo image_config[] = { "timegate_switch.active.ypos", "15" }, { "timegate_switch.active.frames", "4" }, - { "envelope", "RocksDC.pcx" }, - { "envelope.xpos", "4" }, - { "envelope.ypos", "14" }, - { "envelope.frames", "1" }, + { "envelope_1", "RocksDC.pcx" }, + { "envelope_1.xpos", "4" }, + { "envelope_1.ypos", "14" }, + { "envelope_1.frames", "1" }, + { "envelope_2", "RocksDC.pcx" }, + { "envelope_2.xpos", "4" }, + { "envelope_2.ypos", "14" }, + { "envelope_2.frames", "1" }, + { "envelope_3", "RocksDC.pcx" }, + { "envelope_3.xpos", "4" }, + { "envelope_3.ypos", "14" }, + { "envelope_3.frames", "1" }, + { "envelope_4", "RocksDC.pcx" }, + { "envelope_4.xpos", "4" }, + { "envelope_4.ypos", "14" }, + { "envelope_4.frames", "1" }, { "sign_exclamation", "RocksDC.pcx" }, { "sign_exclamation.xpos", "5" }, @@ -3492,6 +3499,9 @@ struct ConfigInfo image_config[] = { "door.step_offset", "2" }, { "door.step_delay", "10" }, + { "door.anim_mode", "default" }, + + { "game.envelope.anim_mode", "full" }, { NULL, NULL } }; diff --git a/src/conf_gfx.h b/src/conf_gfx.h index 0d7a96c2..2ba81c85 100644 --- a/src/conf_gfx.h +++ b/src/conf_gfx.h @@ -50,1251 +50,1253 @@ #define IMG_BD_FIREFLY_DOWN 29 #define IMG_BD_FIREFLY_MOVING 30 #define IMG_SP_DEFAULT_EXPLODING 31 -#define IMG_SP_EMPTY_SPACE 32 -#define IMG_SP_ZONK 33 -#define IMG_SP_ZONK_MOVING_LEFT 34 -#define IMG_SP_ZONK_MOVING_RIGHT 35 -#define IMG_SP_ZONK_PUSHING_LEFT 36 -#define IMG_SP_ZONK_PUSHING_RIGHT 37 -#define IMG_SP_BASE 38 -#define IMG_SP_MURPHY 39 -#define IMG_SP_MURPHY_MOVING_LEFT 40 -#define IMG_SP_MURPHY_MOVING_RIGHT 41 -#define IMG_SP_MURPHY_DIGGING_LEFT 42 -#define IMG_SP_MURPHY_DIGGING_RIGHT 43 -#define IMG_SP_MURPHY_COLLECTING_LEFT 44 -#define IMG_SP_MURPHY_COLLECTING_RIGHT 45 -#define IMG_SP_MURPHY_PUSHING_LEFT 46 -#define IMG_SP_MURPHY_PUSHING_RIGHT 47 -#define IMG_SP_MURPHY_SNAPPING_LEFT 48 -#define IMG_SP_MURPHY_SNAPPING_RIGHT 49 -#define IMG_SP_MURPHY_SNAPPING_UP 50 -#define IMG_SP_MURPHY_SNAPPING_DOWN 51 -#define IMG_SP_MURPHY_CLONE 52 -#define IMG_SP_INFOTRON 53 -#define IMG_SP_INFOTRON_EDITOR 54 -#define IMG_SP_CHIP_SINGLE 55 -#define IMG_SP_CHIP_LEFT 56 -#define IMG_SP_CHIP_RIGHT 57 -#define IMG_SP_CHIP_TOP 58 -#define IMG_SP_CHIP_BOTTOM 59 -#define IMG_SP_HARDWARE_GRAY 60 -#define IMG_SP_HARDWARE_GREEN 61 -#define IMG_SP_HARDWARE_BLUE 62 -#define IMG_SP_HARDWARE_RED 63 -#define IMG_SP_HARDWARE_YELLOW 64 -#define IMG_SP_EXIT_CLOSED 65 -#define IMG_SP_EXIT_OPEN 66 -#define IMG_SP_DISK_ORANGE 67 -#define IMG_SP_DISK_YELLOW 68 -#define IMG_SP_DISK_RED 69 -#define IMG_SP_DISK_RED_COLLECTING 70 -#define IMG_SP_DISK_RED_ACTIVE 71 -#define IMG_SP_PORT_RIGHT 72 -#define IMG_SP_PORT_DOWN 73 -#define IMG_SP_PORT_LEFT 74 -#define IMG_SP_PORT_UP 75 -#define IMG_SP_PORT_HORIZONTAL 76 -#define IMG_SP_PORT_VERTICAL 77 -#define IMG_SP_PORT_ANY 78 -#define IMG_SP_GRAVITY_PORT_RIGHT 79 -#define IMG_SP_GRAVITY_PORT_DOWN 80 -#define IMG_SP_GRAVITY_PORT_LEFT 81 -#define IMG_SP_GRAVITY_PORT_UP 82 -#define IMG_SP_SNIKSNAK 83 -#define IMG_SP_SNIKSNAK_LEFT 84 -#define IMG_SP_SNIKSNAK_RIGHT 85 -#define IMG_SP_SNIKSNAK_UP 86 -#define IMG_SP_SNIKSNAK_DOWN 87 -#define IMG_SP_ELECTRON 88 -#define IMG_SP_ELECTRON_EDITOR 89 -#define IMG_SP_ELECTRON_EXPLODING 90 -#define IMG_SP_TERMINAL 91 -#define IMG_SP_TERMINAL_EDITOR 92 -#define IMG_SP_TERMINAL_ACTIVE 93 -#define IMG_SP_BUGGY_BASE 94 -#define IMG_SP_BUGGY_BASE_EDITOR 95 -#define IMG_SP_BUGGY_BASE_ACTIVATING 96 -#define IMG_SP_BUGGY_BASE_ACTIVE 97 -#define IMG_SP_HARDWARE_BASE_1 98 -#define IMG_SP_HARDWARE_BASE_2 99 -#define IMG_SP_HARDWARE_BASE_3 100 -#define IMG_SP_HARDWARE_BASE_4 101 -#define IMG_SP_HARDWARE_BASE_5 102 -#define IMG_SP_HARDWARE_BASE_6 103 -#define IMG_SOKOBAN_OBJECT 104 -#define IMG_SOKOBAN_OBJECT_EDITOR 105 -#define IMG_SOKOBAN_FIELD_EMPTY 106 -#define IMG_SOKOBAN_FIELD_FULL 107 -#define IMG_EMPTY_SPACE 108 -#define IMG_SAND 109 -#define IMG_SAND_CRUMBLED 110 -#define IMG_SAND_DIGGING_LEFT 111 -#define IMG_SAND_DIGGING_RIGHT 112 -#define IMG_SAND_DIGGING_UP 113 -#define IMG_SAND_DIGGING_DOWN 114 -#define IMG_SAND_DIGGING_LEFT_CRUMBLED 115 -#define IMG_SAND_DIGGING_RIGHT_CRUMBLED 116 -#define IMG_SAND_DIGGING_UP_CRUMBLED 117 -#define IMG_SAND_DIGGING_DOWN_CRUMBLED 118 -#define IMG_WALL 119 -#define IMG_WALL_SLIPPERY 120 -#define IMG_STEELWALL 121 -#define IMG_ROCK 122 -#define IMG_ROCK_MOVING_LEFT 123 -#define IMG_ROCK_MOVING_RIGHT 124 -#define IMG_ROCK_PUSHING_LEFT 125 -#define IMG_ROCK_PUSHING_RIGHT 126 -#define IMG_EMERALD 127 -#define IMG_EMERALD_MOVING 128 -#define IMG_EMERALD_FALLING 129 -#define IMG_EMERALD_COLLECTING 130 -#define IMG_DIAMOND 131 -#define IMG_DIAMOND_MOVING 132 -#define IMG_DIAMOND_FALLING 133 -#define IMG_DIAMOND_COLLECTING 134 -#define IMG_BOMB 135 -#define IMG_NUT 136 -#define IMG_NUT_BREAKING 137 -#define IMG_DYNAMITE 138 -#define IMG_DYNAMITE_EDITOR 139 -#define IMG_DYNAMITE_ACTIVE 140 -#define IMG_DYNAMITE_ACTIVE_EDITOR 141 -#define IMG_WALL_EMERALD 142 -#define IMG_WALL_DIAMOND 143 -#define IMG_BUG 144 -#define IMG_BUG_RIGHT 145 -#define IMG_BUG_UP 146 -#define IMG_BUG_LEFT 147 -#define IMG_BUG_DOWN 148 -#define IMG_BUG_MOVING_RIGHT 149 -#define IMG_BUG_MOVING_UP 150 -#define IMG_BUG_MOVING_LEFT 151 -#define IMG_BUG_MOVING_DOWN 152 -#define IMG_SPACESHIP 153 -#define IMG_SPACESHIP_RIGHT 154 -#define IMG_SPACESHIP_UP 155 -#define IMG_SPACESHIP_LEFT 156 -#define IMG_SPACESHIP_DOWN 157 -#define IMG_SPACESHIP_MOVING_RIGHT 158 -#define IMG_SPACESHIP_MOVING_UP 159 -#define IMG_SPACESHIP_MOVING_LEFT 160 -#define IMG_SPACESHIP_MOVING_DOWN 161 -#define IMG_YAMYAM 162 -#define IMG_YAMYAM_MOVING 163 -#define IMG_ROBOT 164 -#define IMG_ROBOT_MOVING 165 -#define IMG_ROBOT_WHEEL 166 -#define IMG_ROBOT_WHEEL_ACTIVE 167 -#define IMG_MAGIC_WALL 168 -#define IMG_MAGIC_WALL_ACTIVE 169 -#define IMG_MAGIC_WALL_FILLING 170 -#define IMG_MAGIC_WALL_FULL 171 -#define IMG_MAGIC_WALL_EMPTYING 172 -#define IMG_MAGIC_WALL_DEAD 173 -#define IMG_QUICKSAND_EMPTY 174 -#define IMG_QUICKSAND_FILLING 175 -#define IMG_QUICKSAND_FULL 176 -#define IMG_QUICKSAND_FULL_EDITOR 177 -#define IMG_QUICKSAND_EMPTYING 178 -#define IMG_ACID_POOL_TOPLEFT 179 -#define IMG_ACID_POOL_TOPRIGHT 180 -#define IMG_ACID_POOL_BOTTOMLEFT 181 -#define IMG_ACID_POOL_BOTTOM 182 -#define IMG_ACID_POOL_BOTTOMRIGHT 183 -#define IMG_ACID 184 -#define IMG_ACID_SPLASH_LEFT 185 -#define IMG_ACID_SPLASH_RIGHT 186 -#define IMG_AMOEBA_DROP 187 -#define IMG_AMOEBA_GROWING 188 -#define IMG_AMOEBA_SHRINKING 189 -#define IMG_AMOEBA_WET 190 -#define IMG_AMOEBA_WET_EDITOR 191 -#define IMG_AMOEBA_DROPPING 192 -#define IMG_AMOEBA_DRY 193 -#define IMG_AMOEBA_FULL 194 -#define IMG_AMOEBA_FULL_EDITOR 195 -#define IMG_AMOEBA_DEAD 196 -#define IMG_AMOEBA_DEAD_EDITOR 197 -#define IMG_EM_KEY_1 198 -#define IMG_EM_KEY_2 199 -#define IMG_EM_KEY_3 200 -#define IMG_EM_KEY_4 201 -#define IMG_EM_GATE_1 202 -#define IMG_EM_GATE_2 203 -#define IMG_EM_GATE_3 204 -#define IMG_EM_GATE_4 205 -#define IMG_EM_GATE_1_GRAY 206 -#define IMG_EM_GATE_1_GRAY_EDITOR 207 -#define IMG_EM_GATE_2_GRAY 208 -#define IMG_EM_GATE_2_GRAY_EDITOR 209 -#define IMG_EM_GATE_3_GRAY 210 -#define IMG_EM_GATE_3_GRAY_EDITOR 211 -#define IMG_EM_GATE_4_GRAY 212 -#define IMG_EM_GATE_4_GRAY_EDITOR 213 -#define IMG_EXIT_CLOSED 214 -#define IMG_EXIT_OPENING 215 -#define IMG_EXIT_OPEN 216 -#define IMG_EXIT_CLOSING 217 -#define IMG_BALLOON 218 -#define IMG_BALLOON_MOVING 219 -#define IMG_BALLOON_PUSHING 220 -#define IMG_BALLOON_SWITCH_LEFT 221 -#define IMG_BALLOON_SWITCH_RIGHT 222 -#define IMG_BALLOON_SWITCH_UP 223 -#define IMG_BALLOON_SWITCH_DOWN 224 -#define IMG_BALLOON_SWITCH_ANY 225 -#define IMG_SPRING 226 -#define IMG_EMC_STEELWALL_1 227 -#define IMG_EMC_STEELWALL_2 228 -#define IMG_EMC_STEELWALL_3 229 -#define IMG_EMC_STEELWALL_4 230 -#define IMG_EMC_WALL_1 231 -#define IMG_EMC_WALL_2 232 -#define IMG_EMC_WALL_3 233 -#define IMG_EMC_WALL_4 234 -#define IMG_EMC_WALL_5 235 -#define IMG_EMC_WALL_6 236 -#define IMG_EMC_WALL_7 237 -#define IMG_EMC_WALL_8 238 -#define IMG_INVISIBLE_STEELWALL 239 -#define IMG_INVISIBLE_STEELWALL_EDITOR 240 -#define IMG_INVISIBLE_STEELWALL_ACTIVE 241 -#define IMG_INVISIBLE_WALL 242 -#define IMG_INVISIBLE_WALL_EDITOR 243 -#define IMG_INVISIBLE_WALL_ACTIVE 244 -#define IMG_INVISIBLE_SAND 245 -#define IMG_INVISIBLE_SAND_EDITOR 246 -#define IMG_INVISIBLE_SAND_ACTIVE 247 -#define IMG_CONVEYOR_BELT_1_MIDDLE 248 -#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE 249 -#define IMG_CONVEYOR_BELT_1_LEFT 250 -#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE 251 -#define IMG_CONVEYOR_BELT_1_RIGHT 252 -#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE 253 -#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT 254 -#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE 255 -#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT 256 -#define IMG_CONVEYOR_BELT_2_MIDDLE 257 -#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE 258 -#define IMG_CONVEYOR_BELT_2_LEFT 259 -#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE 260 -#define IMG_CONVEYOR_BELT_2_RIGHT 261 -#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE 262 -#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT 263 -#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE 264 -#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT 265 -#define IMG_CONVEYOR_BELT_3_MIDDLE 266 -#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE 267 -#define IMG_CONVEYOR_BELT_3_LEFT 268 -#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE 269 -#define IMG_CONVEYOR_BELT_3_RIGHT 270 -#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE 271 -#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT 272 -#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE 273 -#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT 274 -#define IMG_CONVEYOR_BELT_4_MIDDLE 275 -#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE 276 -#define IMG_CONVEYOR_BELT_4_LEFT 277 -#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE 278 -#define IMG_CONVEYOR_BELT_4_RIGHT 279 -#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE 280 -#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT 281 -#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE 282 -#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT 283 -#define IMG_SWITCHGATE_SWITCH_UP 284 -#define IMG_SWITCHGATE_SWITCH_DOWN 285 -#define IMG_LIGHT_SWITCH 286 -#define IMG_LIGHT_SWITCH_ACTIVE 287 -#define IMG_TIMEGATE_SWITCH 288 -#define IMG_TIMEGATE_SWITCH_ACTIVE 289 -#define IMG_ENVELOPE 290 -#define IMG_SIGN_EXCLAMATION 291 -#define IMG_SIGN_STOP 292 -#define IMG_LANDMINE 293 -#define IMG_STEELWALL_SLIPPERY 294 -#define IMG_EXTRA_TIME 295 -#define IMG_SHIELD_NORMAL 296 -#define IMG_SHIELD_NORMAL_ACTIVE 297 -#define IMG_SHIELD_DEADLY 298 -#define IMG_SHIELD_DEADLY_ACTIVE 299 -#define IMG_SWITCHGATE_CLOSED 300 -#define IMG_SWITCHGATE_OPENING 301 -#define IMG_SWITCHGATE_OPEN 302 -#define IMG_SWITCHGATE_CLOSING 303 -#define IMG_TIMEGATE_CLOSED 304 -#define IMG_TIMEGATE_OPENING 305 -#define IMG_TIMEGATE_OPEN 306 -#define IMG_TIMEGATE_CLOSING 307 -#define IMG_PEARL 308 -#define IMG_PEARL_BREAKING 309 -#define IMG_CRYSTAL 310 -#define IMG_WALL_PEARL 311 -#define IMG_WALL_CRYSTAL 312 -#define IMG_TUBE_RIGHT_DOWN 313 -#define IMG_TUBE_HORIZONTAL_DOWN 314 -#define IMG_TUBE_LEFT_DOWN 315 -#define IMG_TUBE_HORIZONTAL 316 -#define IMG_TUBE_VERTICAL_RIGHT 317 -#define IMG_TUBE_ANY 318 -#define IMG_TUBE_VERTICAL_LEFT 319 -#define IMG_TUBE_VERTICAL 320 -#define IMG_TUBE_RIGHT_UP 321 -#define IMG_TUBE_HORIZONTAL_UP 322 -#define IMG_TUBE_LEFT_UP 323 -#define IMG_TRAP 324 -#define IMG_TRAP_ACTIVE 325 -#define IMG_DX_SUPABOMB 326 -#define IMG_KEY_1 327 -#define IMG_KEY_1_EDITOR 328 -#define IMG_KEY_2 329 -#define IMG_KEY_2_EDITOR 330 -#define IMG_KEY_3 331 -#define IMG_KEY_3_EDITOR 332 -#define IMG_KEY_4 333 -#define IMG_KEY_4_EDITOR 334 -#define IMG_GATE_1 335 -#define IMG_GATE_2 336 -#define IMG_GATE_3 337 -#define IMG_GATE_4 338 -#define IMG_GATE_1_GRAY 339 -#define IMG_GATE_1_GRAY_EDITOR 340 -#define IMG_GATE_2_GRAY 341 -#define IMG_GATE_2_GRAY_EDITOR 342 -#define IMG_GATE_3_GRAY 343 -#define IMG_GATE_3_GRAY_EDITOR 344 -#define IMG_GATE_4_GRAY 345 -#define IMG_GATE_4_GRAY_EDITOR 346 -#define IMG_GAME_OF_LIFE 347 -#define IMG_BIOMAZE 348 -#define IMG_PACMAN 349 -#define IMG_PACMAN_RIGHT 350 -#define IMG_PACMAN_UP 351 -#define IMG_PACMAN_LEFT 352 -#define IMG_PACMAN_DOWN 353 -#define IMG_PACMAN_MOVING_RIGHT 354 -#define IMG_PACMAN_MOVING_UP 355 -#define IMG_PACMAN_MOVING_LEFT 356 -#define IMG_PACMAN_MOVING_DOWN 357 -#define IMG_LAMP 358 -#define IMG_LAMP_EDITOR 359 -#define IMG_LAMP_ACTIVE 360 -#define IMG_TIME_ORB_FULL 361 -#define IMG_TIME_ORB_EMPTY 362 -#define IMG_EMERALD_YELLOW 363 -#define IMG_EMERALD_YELLOW_MOVING 364 -#define IMG_EMERALD_YELLOW_FALLING 365 -#define IMG_EMERALD_RED 366 -#define IMG_EMERALD_RED_MOVING 367 -#define IMG_EMERALD_RED_FALLING 368 -#define IMG_EMERALD_PURPLE 369 -#define IMG_EMERALD_PURPLE_MOVING 370 -#define IMG_EMERALD_PURPLE_FALLING 371 -#define IMG_WALL_EMERALD_YELLOW 372 -#define IMG_WALL_EMERALD_RED 373 -#define IMG_WALL_EMERALD_PURPLE 374 -#define IMG_WALL_BD_DIAMOND 375 -#define IMG_EXPANDABLE_WALL 376 -#define IMG_EXPANDABLE_WALL_HORIZONTAL 377 -#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR 378 -#define IMG_EXPANDABLE_WALL_VERTICAL 379 -#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR 380 -#define IMG_EXPANDABLE_WALL_ANY 381 -#define IMG_EXPANDABLE_WALL_ANY_EDITOR 382 -#define IMG_EXPANDABLE_WALL_GROWING_LEFT 383 -#define IMG_EXPANDABLE_WALL_GROWING_RIGHT 384 -#define IMG_EXPANDABLE_WALL_GROWING_UP 385 -#define IMG_EXPANDABLE_WALL_GROWING_DOWN 386 -#define IMG_BLACK_ORB 387 -#define IMG_SPEED_PILL 388 -#define IMG_DARK_YAMYAM 389 -#define IMG_DYNABOMB 390 -#define IMG_DYNABOMB_ACTIVE 391 -#define IMG_DYNABOMB_PLAYER_1 392 -#define IMG_DYNABOMB_PLAYER_1_ACTIVE 393 -#define IMG_DYNABOMB_PLAYER_2 394 -#define IMG_DYNABOMB_PLAYER_2_ACTIVE 395 -#define IMG_DYNABOMB_PLAYER_3 396 -#define IMG_DYNABOMB_PLAYER_3_ACTIVE 397 -#define IMG_DYNABOMB_PLAYER_4 398 -#define IMG_DYNABOMB_PLAYER_4_ACTIVE 399 -#define IMG_DYNABOMB_INCREASE_NUMBER 400 -#define IMG_DYNABOMB_INCREASE_SIZE 401 -#define IMG_DYNABOMB_INCREASE_POWER 402 -#define IMG_PIG 403 -#define IMG_PIG_DOWN 404 -#define IMG_PIG_UP 405 -#define IMG_PIG_LEFT 406 -#define IMG_PIG_RIGHT 407 -#define IMG_PIG_MOVING_DOWN 408 -#define IMG_PIG_MOVING_UP 409 -#define IMG_PIG_MOVING_LEFT 410 -#define IMG_PIG_MOVING_RIGHT 411 -#define IMG_PIG_DIGGING_DOWN 412 -#define IMG_PIG_DIGGING_UP 413 -#define IMG_PIG_DIGGING_LEFT 414 -#define IMG_PIG_DIGGING_RIGHT 415 -#define IMG_DRAGON 416 -#define IMG_DRAGON_DOWN 417 -#define IMG_DRAGON_UP 418 -#define IMG_DRAGON_LEFT 419 -#define IMG_DRAGON_RIGHT 420 -#define IMG_DRAGON_MOVING_DOWN 421 -#define IMG_DRAGON_MOVING_UP 422 -#define IMG_DRAGON_MOVING_LEFT 423 -#define IMG_DRAGON_MOVING_RIGHT 424 -#define IMG_DRAGON_ATTACKING_DOWN 425 -#define IMG_DRAGON_ATTACKING_UP 426 -#define IMG_DRAGON_ATTACKING_LEFT 427 -#define IMG_DRAGON_ATTACKING_RIGHT 428 -#define IMG_MOLE 429 -#define IMG_MOLE_DOWN 430 -#define IMG_MOLE_UP 431 -#define IMG_MOLE_LEFT 432 -#define IMG_MOLE_RIGHT 433 -#define IMG_MOLE_MOVING_DOWN 434 -#define IMG_MOLE_MOVING_UP 435 -#define IMG_MOLE_MOVING_LEFT 436 -#define IMG_MOLE_MOVING_RIGHT 437 -#define IMG_MOLE_DIGGING_DOWN 438 -#define IMG_MOLE_DIGGING_UP 439 -#define IMG_MOLE_DIGGING_LEFT 440 -#define IMG_MOLE_DIGGING_RIGHT 441 -#define IMG_PENGUIN 442 -#define IMG_PENGUIN_EDITOR 443 -#define IMG_PENGUIN_DOWN 444 -#define IMG_PENGUIN_UP 445 -#define IMG_PENGUIN_LEFT 446 -#define IMG_PENGUIN_RIGHT 447 -#define IMG_PENGUIN_MOVING_DOWN 448 -#define IMG_PENGUIN_MOVING_UP 449 -#define IMG_PENGUIN_MOVING_LEFT 450 -#define IMG_PENGUIN_MOVING_RIGHT 451 -#define IMG_SATELLITE 452 -#define IMG_FLAMES_1_LEFT 453 -#define IMG_FLAMES_2_LEFT 454 -#define IMG_FLAMES_3_LEFT 455 -#define IMG_FLAMES_1_RIGHT 456 -#define IMG_FLAMES_2_RIGHT 457 -#define IMG_FLAMES_3_RIGHT 458 -#define IMG_FLAMES_1_UP 459 -#define IMG_FLAMES_2_UP 460 -#define IMG_FLAMES_3_UP 461 -#define IMG_FLAMES_1_DOWN 462 -#define IMG_FLAMES_2_DOWN 463 -#define IMG_FLAMES_3_DOWN 464 -#define IMG_STONEBLOCK 465 -#define IMG_PLAYER_1 466 -#define IMG_PLAYER_1_EDITOR 467 -#define IMG_PLAYER_1_DOWN 468 -#define IMG_PLAYER_1_UP 469 -#define IMG_PLAYER_1_LEFT 470 -#define IMG_PLAYER_1_RIGHT 471 -#define IMG_PLAYER_1_MOVING_DOWN 472 -#define IMG_PLAYER_1_MOVING_UP 473 -#define IMG_PLAYER_1_MOVING_LEFT 474 -#define IMG_PLAYER_1_MOVING_RIGHT 475 -#define IMG_PLAYER_1_DIGGING_DOWN 476 -#define IMG_PLAYER_1_DIGGING_UP 477 -#define IMG_PLAYER_1_DIGGING_LEFT 478 -#define IMG_PLAYER_1_DIGGING_RIGHT 479 -#define IMG_PLAYER_1_COLLECTING_DOWN 480 -#define IMG_PLAYER_1_COLLECTING_UP 481 -#define IMG_PLAYER_1_COLLECTING_LEFT 482 -#define IMG_PLAYER_1_COLLECTING_RIGHT 483 -#define IMG_PLAYER_1_PUSHING_DOWN 484 -#define IMG_PLAYER_1_PUSHING_UP 485 -#define IMG_PLAYER_1_PUSHING_LEFT 486 -#define IMG_PLAYER_1_PUSHING_RIGHT 487 -#define IMG_PLAYER_1_SNAPPING_DOWN 488 -#define IMG_PLAYER_1_SNAPPING_UP 489 -#define IMG_PLAYER_1_SNAPPING_LEFT 490 -#define IMG_PLAYER_1_SNAPPING_RIGHT 491 -#define IMG_PLAYER_2 492 -#define IMG_PLAYER_2_EDITOR 493 -#define IMG_PLAYER_2_DOWN 494 -#define IMG_PLAYER_2_UP 495 -#define IMG_PLAYER_2_LEFT 496 -#define IMG_PLAYER_2_RIGHT 497 -#define IMG_PLAYER_2_MOVING_DOWN 498 -#define IMG_PLAYER_2_MOVING_UP 499 -#define IMG_PLAYER_2_MOVING_LEFT 500 -#define IMG_PLAYER_2_MOVING_RIGHT 501 -#define IMG_PLAYER_2_DIGGING_DOWN 502 -#define IMG_PLAYER_2_DIGGING_UP 503 -#define IMG_PLAYER_2_DIGGING_LEFT 504 -#define IMG_PLAYER_2_DIGGING_RIGHT 505 -#define IMG_PLAYER_2_COLLECTING_DOWN 506 -#define IMG_PLAYER_2_COLLECTING_UP 507 -#define IMG_PLAYER_2_COLLECTING_LEFT 508 -#define IMG_PLAYER_2_COLLECTING_RIGHT 509 -#define IMG_PLAYER_2_PUSHING_DOWN 510 -#define IMG_PLAYER_2_PUSHING_UP 511 -#define IMG_PLAYER_2_PUSHING_LEFT 512 -#define IMG_PLAYER_2_PUSHING_RIGHT 513 -#define IMG_PLAYER_2_SNAPPING_DOWN 514 -#define IMG_PLAYER_2_SNAPPING_UP 515 -#define IMG_PLAYER_2_SNAPPING_LEFT 516 -#define IMG_PLAYER_2_SNAPPING_RIGHT 517 -#define IMG_PLAYER_3 518 -#define IMG_PLAYER_3_EDITOR 519 -#define IMG_PLAYER_3_DOWN 520 -#define IMG_PLAYER_3_UP 521 -#define IMG_PLAYER_3_LEFT 522 -#define IMG_PLAYER_3_RIGHT 523 -#define IMG_PLAYER_3_MOVING_DOWN 524 -#define IMG_PLAYER_3_MOVING_UP 525 -#define IMG_PLAYER_3_MOVING_LEFT 526 -#define IMG_PLAYER_3_MOVING_RIGHT 527 -#define IMG_PLAYER_3_DIGGING_DOWN 528 -#define IMG_PLAYER_3_DIGGING_UP 529 -#define IMG_PLAYER_3_DIGGING_LEFT 530 -#define IMG_PLAYER_3_DIGGING_RIGHT 531 -#define IMG_PLAYER_3_COLLECTING_DOWN 532 -#define IMG_PLAYER_3_COLLECTING_UP 533 -#define IMG_PLAYER_3_COLLECTING_LEFT 534 -#define IMG_PLAYER_3_COLLECTING_RIGHT 535 -#define IMG_PLAYER_3_PUSHING_DOWN 536 -#define IMG_PLAYER_3_PUSHING_UP 537 -#define IMG_PLAYER_3_PUSHING_LEFT 538 -#define IMG_PLAYER_3_PUSHING_RIGHT 539 -#define IMG_PLAYER_3_SNAPPING_DOWN 540 -#define IMG_PLAYER_3_SNAPPING_UP 541 -#define IMG_PLAYER_3_SNAPPING_LEFT 542 -#define IMG_PLAYER_3_SNAPPING_RIGHT 543 -#define IMG_PLAYER_4 544 -#define IMG_PLAYER_4_EDITOR 545 -#define IMG_PLAYER_4_DOWN 546 -#define IMG_PLAYER_4_UP 547 -#define IMG_PLAYER_4_LEFT 548 -#define IMG_PLAYER_4_RIGHT 549 -#define IMG_PLAYER_4_MOVING_DOWN 550 -#define IMG_PLAYER_4_MOVING_UP 551 -#define IMG_PLAYER_4_MOVING_LEFT 552 -#define IMG_PLAYER_4_MOVING_RIGHT 553 -#define IMG_PLAYER_4_DIGGING_DOWN 554 -#define IMG_PLAYER_4_DIGGING_UP 555 -#define IMG_PLAYER_4_DIGGING_LEFT 556 -#define IMG_PLAYER_4_DIGGING_RIGHT 557 -#define IMG_PLAYER_4_COLLECTING_DOWN 558 -#define IMG_PLAYER_4_COLLECTING_UP 559 -#define IMG_PLAYER_4_COLLECTING_LEFT 560 -#define IMG_PLAYER_4_COLLECTING_RIGHT 561 -#define IMG_PLAYER_4_PUSHING_DOWN 562 -#define IMG_PLAYER_4_PUSHING_UP 563 -#define IMG_PLAYER_4_PUSHING_LEFT 564 -#define IMG_PLAYER_4_PUSHING_RIGHT 565 -#define IMG_PLAYER_4_SNAPPING_DOWN 566 -#define IMG_PLAYER_4_SNAPPING_UP 567 -#define IMG_PLAYER_4_SNAPPING_LEFT 568 -#define IMG_PLAYER_4_SNAPPING_RIGHT 569 -#define IMG_DEFAULT_EXPLODING 570 -#define IMG_TWINKLE_BLUE 571 -#define IMG_TWINKLE_WHITE 572 -#define IMG_STEELWALL_TOPLEFT 573 -#define IMG_STEELWALL_TOPRIGHT 574 -#define IMG_STEELWALL_BOTTOMLEFT 575 -#define IMG_STEELWALL_BOTTOMRIGHT 576 -#define IMG_STEELWALL_HORIZONTAL 577 -#define IMG_STEELWALL_VERTICAL 578 -#define IMG_STEELWALL_TOPLEFT_EDITOR 579 -#define IMG_STEELWALL_TOPRIGHT_EDITOR 580 -#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 581 -#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 582 -#define IMG_STEELWALL_HORIZONTAL_EDITOR 583 -#define IMG_STEELWALL_VERTICAL_EDITOR 584 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT 585 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 586 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 587 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 588 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 589 -#define IMG_INVISIBLE_STEELWALL_VERTICAL 590 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 591 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 592 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 593 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 594 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 595 -#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 596 -#define IMG_ARROW_LEFT 597 -#define IMG_ARROW_RIGHT 598 -#define IMG_ARROW_UP 599 -#define IMG_ARROW_DOWN 600 -#define IMG_CHAR_SPACE 601 -#define IMG_CHAR_EXCLAM 602 -#define IMG_CHAR_QUOTEDBL 603 -#define IMG_CHAR_NUMBERSIGN 604 -#define IMG_CHAR_DOLLAR 605 -#define IMG_CHAR_PROCENT 606 -#define IMG_CHAR_AMPERSAND 607 -#define IMG_CHAR_APOSTROPHE 608 -#define IMG_CHAR_PARENLEFT 609 -#define IMG_CHAR_PARENRIGHT 610 -#define IMG_CHAR_ASTERISK 611 -#define IMG_CHAR_PLUS 612 -#define IMG_CHAR_COMMA 613 -#define IMG_CHAR_MINUS 614 -#define IMG_CHAR_PERIOD 615 -#define IMG_CHAR_SLASH 616 -#define IMG_CHAR_0 617 -#define IMG_CHAR_1 618 -#define IMG_CHAR_2 619 -#define IMG_CHAR_3 620 -#define IMG_CHAR_4 621 -#define IMG_CHAR_5 622 -#define IMG_CHAR_6 623 -#define IMG_CHAR_7 624 -#define IMG_CHAR_8 625 -#define IMG_CHAR_9 626 -#define IMG_CHAR_COLON 627 -#define IMG_CHAR_SEMICOLON 628 -#define IMG_CHAR_LESS 629 -#define IMG_CHAR_EQUAL 630 -#define IMG_CHAR_GREATER 631 -#define IMG_CHAR_QUESTION 632 -#define IMG_CHAR_AT 633 -#define IMG_CHAR_A 634 -#define IMG_CHAR_B 635 -#define IMG_CHAR_C 636 -#define IMG_CHAR_D 637 -#define IMG_CHAR_E 638 -#define IMG_CHAR_F 639 -#define IMG_CHAR_G 640 -#define IMG_CHAR_H 641 -#define IMG_CHAR_I 642 -#define IMG_CHAR_J 643 -#define IMG_CHAR_K 644 -#define IMG_CHAR_L 645 -#define IMG_CHAR_M 646 -#define IMG_CHAR_N 647 -#define IMG_CHAR_O 648 -#define IMG_CHAR_P 649 -#define IMG_CHAR_Q 650 -#define IMG_CHAR_R 651 -#define IMG_CHAR_S 652 -#define IMG_CHAR_T 653 -#define IMG_CHAR_U 654 -#define IMG_CHAR_V 655 -#define IMG_CHAR_W 656 -#define IMG_CHAR_X 657 -#define IMG_CHAR_Y 658 -#define IMG_CHAR_Z 659 -#define IMG_CHAR_BRACKETLEFT 660 -#define IMG_CHAR_BACKSLASH 661 -#define IMG_CHAR_BRACKETRIGHT 662 -#define IMG_CHAR_ASCIICIRCUM 663 -#define IMG_CHAR_UNDERSCORE 664 -#define IMG_CHAR_COPYRIGHT 665 -#define IMG_CHAR_AUMLAUT 666 -#define IMG_CHAR_OUMLAUT 667 -#define IMG_CHAR_UUMLAUT 668 -#define IMG_CHAR_DEGREE 669 -#define IMG_CHAR_TRADEMARK 670 -#define IMG_CHAR_CURSOR 671 -#define IMG_CUSTOM_1 672 -#define IMG_CUSTOM_1_EDITOR 673 -#define IMG_CUSTOM_2 674 -#define IMG_CUSTOM_2_EDITOR 675 -#define IMG_CUSTOM_3 676 -#define IMG_CUSTOM_3_EDITOR 677 -#define IMG_CUSTOM_4 678 -#define IMG_CUSTOM_4_EDITOR 679 -#define IMG_CUSTOM_5 680 -#define IMG_CUSTOM_5_EDITOR 681 -#define IMG_CUSTOM_6 682 -#define IMG_CUSTOM_6_EDITOR 683 -#define IMG_CUSTOM_7 684 -#define IMG_CUSTOM_7_EDITOR 685 -#define IMG_CUSTOM_8 686 -#define IMG_CUSTOM_8_EDITOR 687 -#define IMG_CUSTOM_9 688 -#define IMG_CUSTOM_9_EDITOR 689 -#define IMG_CUSTOM_10 690 -#define IMG_CUSTOM_10_EDITOR 691 -#define IMG_CUSTOM_11 692 -#define IMG_CUSTOM_11_EDITOR 693 -#define IMG_CUSTOM_12 694 -#define IMG_CUSTOM_12_EDITOR 695 -#define IMG_CUSTOM_13 696 -#define IMG_CUSTOM_13_EDITOR 697 -#define IMG_CUSTOM_14 698 -#define IMG_CUSTOM_14_EDITOR 699 -#define IMG_CUSTOM_15 700 -#define IMG_CUSTOM_15_EDITOR 701 -#define IMG_CUSTOM_16 702 -#define IMG_CUSTOM_16_EDITOR 703 -#define IMG_CUSTOM_17 704 -#define IMG_CUSTOM_17_EDITOR 705 -#define IMG_CUSTOM_18 706 -#define IMG_CUSTOM_18_EDITOR 707 -#define IMG_CUSTOM_19 708 -#define IMG_CUSTOM_19_EDITOR 709 -#define IMG_CUSTOM_20 710 -#define IMG_CUSTOM_20_EDITOR 711 -#define IMG_CUSTOM_21 712 -#define IMG_CUSTOM_21_EDITOR 713 -#define IMG_CUSTOM_22 714 -#define IMG_CUSTOM_22_EDITOR 715 -#define IMG_CUSTOM_23 716 -#define IMG_CUSTOM_23_EDITOR 717 -#define IMG_CUSTOM_24 718 -#define IMG_CUSTOM_24_EDITOR 719 -#define IMG_CUSTOM_25 720 -#define IMG_CUSTOM_25_EDITOR 721 -#define IMG_CUSTOM_26 722 -#define IMG_CUSTOM_26_EDITOR 723 -#define IMG_CUSTOM_27 724 -#define IMG_CUSTOM_27_EDITOR 725 -#define IMG_CUSTOM_28 726 -#define IMG_CUSTOM_28_EDITOR 727 -#define IMG_CUSTOM_29 728 -#define IMG_CUSTOM_29_EDITOR 729 -#define IMG_CUSTOM_30 730 -#define IMG_CUSTOM_30_EDITOR 731 -#define IMG_CUSTOM_31 732 -#define IMG_CUSTOM_31_EDITOR 733 -#define IMG_CUSTOM_32 734 -#define IMG_CUSTOM_32_EDITOR 735 -#define IMG_CUSTOM_33 736 -#define IMG_CUSTOM_33_EDITOR 737 -#define IMG_CUSTOM_34 738 -#define IMG_CUSTOM_34_EDITOR 739 -#define IMG_CUSTOM_35 740 -#define IMG_CUSTOM_35_EDITOR 741 -#define IMG_CUSTOM_36 742 -#define IMG_CUSTOM_36_EDITOR 743 -#define IMG_CUSTOM_37 744 -#define IMG_CUSTOM_37_EDITOR 745 -#define IMG_CUSTOM_38 746 -#define IMG_CUSTOM_38_EDITOR 747 -#define IMG_CUSTOM_39 748 -#define IMG_CUSTOM_39_EDITOR 749 -#define IMG_CUSTOM_40 750 -#define IMG_CUSTOM_40_EDITOR 751 -#define IMG_CUSTOM_41 752 -#define IMG_CUSTOM_41_EDITOR 753 -#define IMG_CUSTOM_42 754 -#define IMG_CUSTOM_42_EDITOR 755 -#define IMG_CUSTOM_43 756 -#define IMG_CUSTOM_43_EDITOR 757 -#define IMG_CUSTOM_44 758 -#define IMG_CUSTOM_44_EDITOR 759 -#define IMG_CUSTOM_45 760 -#define IMG_CUSTOM_45_EDITOR 761 -#define IMG_CUSTOM_46 762 -#define IMG_CUSTOM_46_EDITOR 763 -#define IMG_CUSTOM_47 764 -#define IMG_CUSTOM_47_EDITOR 765 -#define IMG_CUSTOM_48 766 -#define IMG_CUSTOM_48_EDITOR 767 -#define IMG_CUSTOM_49 768 -#define IMG_CUSTOM_49_EDITOR 769 -#define IMG_CUSTOM_50 770 -#define IMG_CUSTOM_50_EDITOR 771 -#define IMG_CUSTOM_51 772 -#define IMG_CUSTOM_51_EDITOR 773 -#define IMG_CUSTOM_52 774 -#define IMG_CUSTOM_52_EDITOR 775 -#define IMG_CUSTOM_53 776 -#define IMG_CUSTOM_53_EDITOR 777 -#define IMG_CUSTOM_54 778 -#define IMG_CUSTOM_54_EDITOR 779 -#define IMG_CUSTOM_55 780 -#define IMG_CUSTOM_55_EDITOR 781 -#define IMG_CUSTOM_56 782 -#define IMG_CUSTOM_56_EDITOR 783 -#define IMG_CUSTOM_57 784 -#define IMG_CUSTOM_57_EDITOR 785 -#define IMG_CUSTOM_58 786 -#define IMG_CUSTOM_58_EDITOR 787 -#define IMG_CUSTOM_59 788 -#define IMG_CUSTOM_59_EDITOR 789 -#define IMG_CUSTOM_60 790 -#define IMG_CUSTOM_60_EDITOR 791 -#define IMG_CUSTOM_61 792 -#define IMG_CUSTOM_61_EDITOR 793 -#define IMG_CUSTOM_62 794 -#define IMG_CUSTOM_62_EDITOR 795 -#define IMG_CUSTOM_63 796 -#define IMG_CUSTOM_63_EDITOR 797 -#define IMG_CUSTOM_64 798 -#define IMG_CUSTOM_64_EDITOR 799 -#define IMG_CUSTOM_65 800 -#define IMG_CUSTOM_65_EDITOR 801 -#define IMG_CUSTOM_66 802 -#define IMG_CUSTOM_66_EDITOR 803 -#define IMG_CUSTOM_67 804 -#define IMG_CUSTOM_67_EDITOR 805 -#define IMG_CUSTOM_68 806 -#define IMG_CUSTOM_68_EDITOR 807 -#define IMG_CUSTOM_69 808 -#define IMG_CUSTOM_69_EDITOR 809 -#define IMG_CUSTOM_70 810 -#define IMG_CUSTOM_70_EDITOR 811 -#define IMG_CUSTOM_71 812 -#define IMG_CUSTOM_71_EDITOR 813 -#define IMG_CUSTOM_72 814 -#define IMG_CUSTOM_72_EDITOR 815 -#define IMG_CUSTOM_73 816 -#define IMG_CUSTOM_73_EDITOR 817 -#define IMG_CUSTOM_74 818 -#define IMG_CUSTOM_74_EDITOR 819 -#define IMG_CUSTOM_75 820 -#define IMG_CUSTOM_75_EDITOR 821 -#define IMG_CUSTOM_76 822 -#define IMG_CUSTOM_76_EDITOR 823 -#define IMG_CUSTOM_77 824 -#define IMG_CUSTOM_77_EDITOR 825 -#define IMG_CUSTOM_78 826 -#define IMG_CUSTOM_78_EDITOR 827 -#define IMG_CUSTOM_79 828 -#define IMG_CUSTOM_79_EDITOR 829 -#define IMG_CUSTOM_80 830 -#define IMG_CUSTOM_80_EDITOR 831 -#define IMG_CUSTOM_81 832 -#define IMG_CUSTOM_81_EDITOR 833 -#define IMG_CUSTOM_82 834 -#define IMG_CUSTOM_82_EDITOR 835 -#define IMG_CUSTOM_83 836 -#define IMG_CUSTOM_83_EDITOR 837 -#define IMG_CUSTOM_84 838 -#define IMG_CUSTOM_84_EDITOR 839 -#define IMG_CUSTOM_85 840 -#define IMG_CUSTOM_85_EDITOR 841 -#define IMG_CUSTOM_86 842 -#define IMG_CUSTOM_86_EDITOR 843 -#define IMG_CUSTOM_87 844 -#define IMG_CUSTOM_87_EDITOR 845 -#define IMG_CUSTOM_88 846 -#define IMG_CUSTOM_88_EDITOR 847 -#define IMG_CUSTOM_89 848 -#define IMG_CUSTOM_89_EDITOR 849 -#define IMG_CUSTOM_90 850 -#define IMG_CUSTOM_90_EDITOR 851 -#define IMG_CUSTOM_91 852 -#define IMG_CUSTOM_91_EDITOR 853 -#define IMG_CUSTOM_92 854 -#define IMG_CUSTOM_92_EDITOR 855 -#define IMG_CUSTOM_93 856 -#define IMG_CUSTOM_93_EDITOR 857 -#define IMG_CUSTOM_94 858 -#define IMG_CUSTOM_94_EDITOR 859 -#define IMG_CUSTOM_95 860 -#define IMG_CUSTOM_95_EDITOR 861 -#define IMG_CUSTOM_96 862 -#define IMG_CUSTOM_96_EDITOR 863 -#define IMG_CUSTOM_97 864 -#define IMG_CUSTOM_97_EDITOR 865 -#define IMG_CUSTOM_98 866 -#define IMG_CUSTOM_98_EDITOR 867 -#define IMG_CUSTOM_99 868 -#define IMG_CUSTOM_99_EDITOR 869 -#define IMG_CUSTOM_100 870 -#define IMG_CUSTOM_100_EDITOR 871 -#define IMG_CUSTOM_101 872 -#define IMG_CUSTOM_101_EDITOR 873 -#define IMG_CUSTOM_102 874 -#define IMG_CUSTOM_102_EDITOR 875 -#define IMG_CUSTOM_103 876 -#define IMG_CUSTOM_103_EDITOR 877 -#define IMG_CUSTOM_104 878 -#define IMG_CUSTOM_104_EDITOR 879 -#define IMG_CUSTOM_105 880 -#define IMG_CUSTOM_105_EDITOR 881 -#define IMG_CUSTOM_106 882 -#define IMG_CUSTOM_106_EDITOR 883 -#define IMG_CUSTOM_107 884 -#define IMG_CUSTOM_107_EDITOR 885 -#define IMG_CUSTOM_108 886 -#define IMG_CUSTOM_108_EDITOR 887 -#define IMG_CUSTOM_109 888 -#define IMG_CUSTOM_109_EDITOR 889 -#define IMG_CUSTOM_110 890 -#define IMG_CUSTOM_110_EDITOR 891 -#define IMG_CUSTOM_111 892 -#define IMG_CUSTOM_111_EDITOR 893 -#define IMG_CUSTOM_112 894 -#define IMG_CUSTOM_112_EDITOR 895 -#define IMG_CUSTOM_113 896 -#define IMG_CUSTOM_113_EDITOR 897 -#define IMG_CUSTOM_114 898 -#define IMG_CUSTOM_114_EDITOR 899 -#define IMG_CUSTOM_115 900 -#define IMG_CUSTOM_115_EDITOR 901 -#define IMG_CUSTOM_116 902 -#define IMG_CUSTOM_116_EDITOR 903 -#define IMG_CUSTOM_117 904 -#define IMG_CUSTOM_117_EDITOR 905 -#define IMG_CUSTOM_118 906 -#define IMG_CUSTOM_118_EDITOR 907 -#define IMG_CUSTOM_119 908 -#define IMG_CUSTOM_119_EDITOR 909 -#define IMG_CUSTOM_120 910 -#define IMG_CUSTOM_120_EDITOR 911 -#define IMG_CUSTOM_121 912 -#define IMG_CUSTOM_121_EDITOR 913 -#define IMG_CUSTOM_122 914 -#define IMG_CUSTOM_122_EDITOR 915 -#define IMG_CUSTOM_123 916 -#define IMG_CUSTOM_123_EDITOR 917 -#define IMG_CUSTOM_124 918 -#define IMG_CUSTOM_124_EDITOR 919 -#define IMG_CUSTOM_125 920 -#define IMG_CUSTOM_125_EDITOR 921 -#define IMG_CUSTOM_126 922 -#define IMG_CUSTOM_126_EDITOR 923 -#define IMG_CUSTOM_127 924 -#define IMG_CUSTOM_127_EDITOR 925 -#define IMG_CUSTOM_128 926 -#define IMG_CUSTOM_128_EDITOR 927 -#define IMG_CUSTOM_129 928 -#define IMG_CUSTOM_129_EDITOR 929 -#define IMG_CUSTOM_130 930 -#define IMG_CUSTOM_130_EDITOR 931 -#define IMG_CUSTOM_131 932 -#define IMG_CUSTOM_131_EDITOR 933 -#define IMG_CUSTOM_132 934 -#define IMG_CUSTOM_132_EDITOR 935 -#define IMG_CUSTOM_133 936 -#define IMG_CUSTOM_133_EDITOR 937 -#define IMG_CUSTOM_134 938 -#define IMG_CUSTOM_134_EDITOR 939 -#define IMG_CUSTOM_135 940 -#define IMG_CUSTOM_135_EDITOR 941 -#define IMG_CUSTOM_136 942 -#define IMG_CUSTOM_136_EDITOR 943 -#define IMG_CUSTOM_137 944 -#define IMG_CUSTOM_137_EDITOR 945 -#define IMG_CUSTOM_138 946 -#define IMG_CUSTOM_138_EDITOR 947 -#define IMG_CUSTOM_139 948 -#define IMG_CUSTOM_139_EDITOR 949 -#define IMG_CUSTOM_140 950 -#define IMG_CUSTOM_140_EDITOR 951 -#define IMG_CUSTOM_141 952 -#define IMG_CUSTOM_141_EDITOR 953 -#define IMG_CUSTOM_142 954 -#define IMG_CUSTOM_142_EDITOR 955 -#define IMG_CUSTOM_143 956 -#define IMG_CUSTOM_143_EDITOR 957 -#define IMG_CUSTOM_144 958 -#define IMG_CUSTOM_144_EDITOR 959 -#define IMG_CUSTOM_145 960 -#define IMG_CUSTOM_145_EDITOR 961 -#define IMG_CUSTOM_146 962 -#define IMG_CUSTOM_146_EDITOR 963 -#define IMG_CUSTOM_147 964 -#define IMG_CUSTOM_147_EDITOR 965 -#define IMG_CUSTOM_148 966 -#define IMG_CUSTOM_148_EDITOR 967 -#define IMG_CUSTOM_149 968 -#define IMG_CUSTOM_149_EDITOR 969 -#define IMG_CUSTOM_150 970 -#define IMG_CUSTOM_150_EDITOR 971 -#define IMG_CUSTOM_151 972 -#define IMG_CUSTOM_151_EDITOR 973 -#define IMG_CUSTOM_152 974 -#define IMG_CUSTOM_152_EDITOR 975 -#define IMG_CUSTOM_153 976 -#define IMG_CUSTOM_153_EDITOR 977 -#define IMG_CUSTOM_154 978 -#define IMG_CUSTOM_154_EDITOR 979 -#define IMG_CUSTOM_155 980 -#define IMG_CUSTOM_155_EDITOR 981 -#define IMG_CUSTOM_156 982 -#define IMG_CUSTOM_156_EDITOR 983 -#define IMG_CUSTOM_157 984 -#define IMG_CUSTOM_157_EDITOR 985 -#define IMG_CUSTOM_158 986 -#define IMG_CUSTOM_158_EDITOR 987 -#define IMG_CUSTOM_159 988 -#define IMG_CUSTOM_159_EDITOR 989 -#define IMG_CUSTOM_160 990 -#define IMG_CUSTOM_160_EDITOR 991 -#define IMG_CUSTOM_161 992 -#define IMG_CUSTOM_161_EDITOR 993 -#define IMG_CUSTOM_162 994 -#define IMG_CUSTOM_162_EDITOR 995 -#define IMG_CUSTOM_163 996 -#define IMG_CUSTOM_163_EDITOR 997 -#define IMG_CUSTOM_164 998 -#define IMG_CUSTOM_164_EDITOR 999 -#define IMG_CUSTOM_165 1000 -#define IMG_CUSTOM_165_EDITOR 1001 -#define IMG_CUSTOM_166 1002 -#define IMG_CUSTOM_166_EDITOR 1003 -#define IMG_CUSTOM_167 1004 -#define IMG_CUSTOM_167_EDITOR 1005 -#define IMG_CUSTOM_168 1006 -#define IMG_CUSTOM_168_EDITOR 1007 -#define IMG_CUSTOM_169 1008 -#define IMG_CUSTOM_169_EDITOR 1009 -#define IMG_CUSTOM_170 1010 -#define IMG_CUSTOM_170_EDITOR 1011 -#define IMG_CUSTOM_171 1012 -#define IMG_CUSTOM_171_EDITOR 1013 -#define IMG_CUSTOM_172 1014 -#define IMG_CUSTOM_172_EDITOR 1015 -#define IMG_CUSTOM_173 1016 -#define IMG_CUSTOM_173_EDITOR 1017 -#define IMG_CUSTOM_174 1018 -#define IMG_CUSTOM_174_EDITOR 1019 -#define IMG_CUSTOM_175 1020 -#define IMG_CUSTOM_175_EDITOR 1021 -#define IMG_CUSTOM_176 1022 -#define IMG_CUSTOM_176_EDITOR 1023 -#define IMG_CUSTOM_177 1024 -#define IMG_CUSTOM_177_EDITOR 1025 -#define IMG_CUSTOM_178 1026 -#define IMG_CUSTOM_178_EDITOR 1027 -#define IMG_CUSTOM_179 1028 -#define IMG_CUSTOM_179_EDITOR 1029 -#define IMG_CUSTOM_180 1030 -#define IMG_CUSTOM_180_EDITOR 1031 -#define IMG_CUSTOM_181 1032 -#define IMG_CUSTOM_181_EDITOR 1033 -#define IMG_CUSTOM_182 1034 -#define IMG_CUSTOM_182_EDITOR 1035 -#define IMG_CUSTOM_183 1036 -#define IMG_CUSTOM_183_EDITOR 1037 -#define IMG_CUSTOM_184 1038 -#define IMG_CUSTOM_184_EDITOR 1039 -#define IMG_CUSTOM_185 1040 -#define IMG_CUSTOM_185_EDITOR 1041 -#define IMG_CUSTOM_186 1042 -#define IMG_CUSTOM_186_EDITOR 1043 -#define IMG_CUSTOM_187 1044 -#define IMG_CUSTOM_187_EDITOR 1045 -#define IMG_CUSTOM_188 1046 -#define IMG_CUSTOM_188_EDITOR 1047 -#define IMG_CUSTOM_189 1048 -#define IMG_CUSTOM_189_EDITOR 1049 -#define IMG_CUSTOM_190 1050 -#define IMG_CUSTOM_190_EDITOR 1051 -#define IMG_CUSTOM_191 1052 -#define IMG_CUSTOM_191_EDITOR 1053 -#define IMG_CUSTOM_192 1054 -#define IMG_CUSTOM_192_EDITOR 1055 -#define IMG_CUSTOM_193 1056 -#define IMG_CUSTOM_193_EDITOR 1057 -#define IMG_CUSTOM_194 1058 -#define IMG_CUSTOM_194_EDITOR 1059 -#define IMG_CUSTOM_195 1060 -#define IMG_CUSTOM_195_EDITOR 1061 -#define IMG_CUSTOM_196 1062 -#define IMG_CUSTOM_196_EDITOR 1063 -#define IMG_CUSTOM_197 1064 -#define IMG_CUSTOM_197_EDITOR 1065 -#define IMG_CUSTOM_198 1066 -#define IMG_CUSTOM_198_EDITOR 1067 -#define IMG_CUSTOM_199 1068 -#define IMG_CUSTOM_199_EDITOR 1069 -#define IMG_CUSTOM_200 1070 -#define IMG_CUSTOM_200_EDITOR 1071 -#define IMG_CUSTOM_201 1072 -#define IMG_CUSTOM_201_EDITOR 1073 -#define IMG_CUSTOM_202 1074 -#define IMG_CUSTOM_202_EDITOR 1075 -#define IMG_CUSTOM_203 1076 -#define IMG_CUSTOM_203_EDITOR 1077 -#define IMG_CUSTOM_204 1078 -#define IMG_CUSTOM_204_EDITOR 1079 -#define IMG_CUSTOM_205 1080 -#define IMG_CUSTOM_205_EDITOR 1081 -#define IMG_CUSTOM_206 1082 -#define IMG_CUSTOM_206_EDITOR 1083 -#define IMG_CUSTOM_207 1084 -#define IMG_CUSTOM_207_EDITOR 1085 -#define IMG_CUSTOM_208 1086 -#define IMG_CUSTOM_208_EDITOR 1087 -#define IMG_CUSTOM_209 1088 -#define IMG_CUSTOM_209_EDITOR 1089 -#define IMG_CUSTOM_210 1090 -#define IMG_CUSTOM_210_EDITOR 1091 -#define IMG_CUSTOM_211 1092 -#define IMG_CUSTOM_211_EDITOR 1093 -#define IMG_CUSTOM_212 1094 -#define IMG_CUSTOM_212_EDITOR 1095 -#define IMG_CUSTOM_213 1096 -#define IMG_CUSTOM_213_EDITOR 1097 -#define IMG_CUSTOM_214 1098 -#define IMG_CUSTOM_214_EDITOR 1099 -#define IMG_CUSTOM_215 1100 -#define IMG_CUSTOM_215_EDITOR 1101 -#define IMG_CUSTOM_216 1102 -#define IMG_CUSTOM_216_EDITOR 1103 -#define IMG_CUSTOM_217 1104 -#define IMG_CUSTOM_217_EDITOR 1105 -#define IMG_CUSTOM_218 1106 -#define IMG_CUSTOM_218_EDITOR 1107 -#define IMG_CUSTOM_219 1108 -#define IMG_CUSTOM_219_EDITOR 1109 -#define IMG_CUSTOM_220 1110 -#define IMG_CUSTOM_220_EDITOR 1111 -#define IMG_CUSTOM_221 1112 -#define IMG_CUSTOM_221_EDITOR 1113 -#define IMG_CUSTOM_222 1114 -#define IMG_CUSTOM_222_EDITOR 1115 -#define IMG_CUSTOM_223 1116 -#define IMG_CUSTOM_223_EDITOR 1117 -#define IMG_CUSTOM_224 1118 -#define IMG_CUSTOM_224_EDITOR 1119 -#define IMG_CUSTOM_225 1120 -#define IMG_CUSTOM_225_EDITOR 1121 -#define IMG_CUSTOM_226 1122 -#define IMG_CUSTOM_226_EDITOR 1123 -#define IMG_CUSTOM_227 1124 -#define IMG_CUSTOM_227_EDITOR 1125 -#define IMG_CUSTOM_228 1126 -#define IMG_CUSTOM_228_EDITOR 1127 -#define IMG_CUSTOM_229 1128 -#define IMG_CUSTOM_229_EDITOR 1129 -#define IMG_CUSTOM_230 1130 -#define IMG_CUSTOM_230_EDITOR 1131 -#define IMG_CUSTOM_231 1132 -#define IMG_CUSTOM_231_EDITOR 1133 -#define IMG_CUSTOM_232 1134 -#define IMG_CUSTOM_232_EDITOR 1135 -#define IMG_CUSTOM_233 1136 -#define IMG_CUSTOM_233_EDITOR 1137 -#define IMG_CUSTOM_234 1138 -#define IMG_CUSTOM_234_EDITOR 1139 -#define IMG_CUSTOM_235 1140 -#define IMG_CUSTOM_235_EDITOR 1141 -#define IMG_CUSTOM_236 1142 -#define IMG_CUSTOM_236_EDITOR 1143 -#define IMG_CUSTOM_237 1144 -#define IMG_CUSTOM_237_EDITOR 1145 -#define IMG_CUSTOM_238 1146 -#define IMG_CUSTOM_238_EDITOR 1147 -#define IMG_CUSTOM_239 1148 -#define IMG_CUSTOM_239_EDITOR 1149 -#define IMG_CUSTOM_240 1150 -#define IMG_CUSTOM_240_EDITOR 1151 -#define IMG_CUSTOM_241 1152 -#define IMG_CUSTOM_241_EDITOR 1153 -#define IMG_CUSTOM_242 1154 -#define IMG_CUSTOM_242_EDITOR 1155 -#define IMG_CUSTOM_243 1156 -#define IMG_CUSTOM_243_EDITOR 1157 -#define IMG_CUSTOM_244 1158 -#define IMG_CUSTOM_244_EDITOR 1159 -#define IMG_CUSTOM_245 1160 -#define IMG_CUSTOM_245_EDITOR 1161 -#define IMG_CUSTOM_246 1162 -#define IMG_CUSTOM_246_EDITOR 1163 -#define IMG_CUSTOM_247 1164 -#define IMG_CUSTOM_247_EDITOR 1165 -#define IMG_CUSTOM_248 1166 -#define IMG_CUSTOM_248_EDITOR 1167 -#define IMG_CUSTOM_249 1168 -#define IMG_CUSTOM_249_EDITOR 1169 -#define IMG_CUSTOM_250 1170 -#define IMG_CUSTOM_250_EDITOR 1171 -#define IMG_CUSTOM_251 1172 -#define IMG_CUSTOM_251_EDITOR 1173 -#define IMG_CUSTOM_252 1174 -#define IMG_CUSTOM_252_EDITOR 1175 -#define IMG_CUSTOM_253 1176 -#define IMG_CUSTOM_253_EDITOR 1177 -#define IMG_CUSTOM_254 1178 -#define IMG_CUSTOM_254_EDITOR 1179 -#define IMG_CUSTOM_255 1180 -#define IMG_CUSTOM_255_EDITOR 1181 -#define IMG_CUSTOM_256 1182 -#define IMG_CUSTOM_256_EDITOR 1183 -#define IMG_TOON_1 1184 -#define IMG_TOON_2 1185 -#define IMG_TOON_3 1186 -#define IMG_TOON_4 1187 -#define IMG_TOON_5 1188 -#define IMG_TOON_6 1189 -#define IMG_TOON_7 1190 -#define IMG_TOON_8 1191 -#define IMG_TOON_9 1192 -#define IMG_TOON_10 1193 -#define IMG_TOON_11 1194 -#define IMG_TOON_12 1195 -#define IMG_TOON_13 1196 -#define IMG_TOON_14 1197 -#define IMG_TOON_15 1198 -#define IMG_TOON_16 1199 -#define IMG_TOON_17 1200 -#define IMG_TOON_18 1201 -#define IMG_TOON_19 1202 -#define IMG_TOON_20 1203 -#define IMG_MENU_CALIBRATE_RED 1204 -#define IMG_MENU_CALIBRATE_BLUE 1205 -#define IMG_MENU_CALIBRATE_YELLOW 1206 -#define IMG_MENU_BUTTON 1207 -#define IMG_MENU_BUTTON_ACTIVE 1208 -#define IMG_MENU_BUTTON_LEFT 1209 -#define IMG_MENU_BUTTON_RIGHT 1210 -#define IMG_MENU_BUTTON_UP 1211 -#define IMG_MENU_BUTTON_DOWN 1212 -#define IMG_MENU_BUTTON_LEFT_ACTIVE 1213 -#define IMG_MENU_BUTTON_RIGHT_ACTIVE 1214 -#define IMG_MENU_BUTTON_UP_ACTIVE 1215 -#define IMG_MENU_BUTTON_DOWN_ACTIVE 1216 -#define IMG_MENU_SCROLLBAR 1217 -#define IMG_MENU_SCROLLBAR_ACTIVE 1218 -#define IMG_FONT_INITIAL_1 1219 -#define IMG_FONT_INITIAL_2 1220 -#define IMG_FONT_INITIAL_3 1221 -#define IMG_FONT_INITIAL_4 1222 -#define IMG_FONT_TITLE_1 1223 -#define IMG_FONT_TITLE_1_LEVELS 1224 -#define IMG_FONT_TITLE_2 1225 -#define IMG_FONT_MENU_1 1226 -#define IMG_FONT_MENU_2 1227 -#define IMG_FONT_TEXT_1 1228 -#define IMG_FONT_TEXT_1_LEVELS 1229 -#define IMG_FONT_TEXT_1_PREVIEW 1230 -#define IMG_FONT_TEXT_1_PLAYING 1231 -#define IMG_FONT_TEXT_1_SCORES 1232 -#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1233 -#define IMG_FONT_TEXT_2 1234 -#define IMG_FONT_TEXT_2_LEVELS 1235 -#define IMG_FONT_TEXT_2_PREVIEW 1236 -#define IMG_FONT_TEXT_2_SCORES 1237 -#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1238 -#define IMG_FONT_TEXT_3 1239 -#define IMG_FONT_TEXT_3_LEVELS 1240 -#define IMG_FONT_TEXT_3_PREVIEW 1241 -#define IMG_FONT_TEXT_3_SCORES 1242 -#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1243 -#define IMG_FONT_TEXT_4 1244 -#define IMG_FONT_TEXT_4_LEVELS 1245 -#define IMG_FONT_TEXT_4_SCORES 1246 -#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1247 -#define IMG_FONT_INPUT_1 1248 -#define IMG_FONT_INPUT_1_MAIN 1249 -#define IMG_FONT_INPUT_1_ACTIVE 1250 -#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1251 -#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1252 -#define IMG_FONT_INPUT_2 1253 -#define IMG_FONT_INPUT_2_ACTIVE 1254 -#define IMG_FONT_OPTION_OFF 1255 -#define IMG_FONT_OPTION_ON 1256 -#define IMG_FONT_VALUE_1 1257 -#define IMG_FONT_VALUE_2 1258 -#define IMG_FONT_VALUE_OLD 1259 -#define IMG_FONT_LEVEL_NUMBER 1260 -#define IMG_FONT_TAPE_RECORDER 1261 -#define IMG_FONT_GAME_INFO 1262 -#define IMG_GLOBAL_BORDER 1263 -#define IMG_GLOBAL_DOOR 1264 -#define IMG_EDITOR_ELEMENT_BORDER 1265 -#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1266 -#define IMG_GAME_ENVELOPE_BACKGROUND 1267 -#define IMG_BACKGROUND 1268 -#define IMG_BACKGROUND_MAIN 1269 -#define IMG_BACKGROUND_LEVELS 1270 -#define IMG_BACKGROUND_SCORES 1271 -#define IMG_BACKGROUND_EDITOR 1272 -#define IMG_BACKGROUND_INFO 1273 -#define IMG_BACKGROUND_SETUP 1274 -#define IMG_BACKGROUND_DOOR 1275 +#define IMG_SP_ZONK 32 +#define IMG_SP_ZONK_MOVING_LEFT 33 +#define IMG_SP_ZONK_MOVING_RIGHT 34 +#define IMG_SP_ZONK_PUSHING_LEFT 35 +#define IMG_SP_ZONK_PUSHING_RIGHT 36 +#define IMG_SP_BASE 37 +#define IMG_SP_MURPHY 38 +#define IMG_SP_MURPHY_MOVING_LEFT 39 +#define IMG_SP_MURPHY_MOVING_RIGHT 40 +#define IMG_SP_MURPHY_DIGGING_LEFT 41 +#define IMG_SP_MURPHY_DIGGING_RIGHT 42 +#define IMG_SP_MURPHY_COLLECTING_LEFT 43 +#define IMG_SP_MURPHY_COLLECTING_RIGHT 44 +#define IMG_SP_MURPHY_PUSHING_LEFT 45 +#define IMG_SP_MURPHY_PUSHING_RIGHT 46 +#define IMG_SP_MURPHY_SNAPPING_LEFT 47 +#define IMG_SP_MURPHY_SNAPPING_RIGHT 48 +#define IMG_SP_MURPHY_SNAPPING_UP 49 +#define IMG_SP_MURPHY_SNAPPING_DOWN 50 +#define IMG_SP_MURPHY_CLONE 51 +#define IMG_SP_INFOTRON 52 +#define IMG_SP_INFOTRON_EDITOR 53 +#define IMG_SP_CHIP_SINGLE 54 +#define IMG_SP_CHIP_LEFT 55 +#define IMG_SP_CHIP_RIGHT 56 +#define IMG_SP_CHIP_TOP 57 +#define IMG_SP_CHIP_BOTTOM 58 +#define IMG_SP_HARDWARE_GRAY 59 +#define IMG_SP_HARDWARE_GREEN 60 +#define IMG_SP_HARDWARE_BLUE 61 +#define IMG_SP_HARDWARE_RED 62 +#define IMG_SP_HARDWARE_YELLOW 63 +#define IMG_SP_EXIT_CLOSED 64 +#define IMG_SP_EXIT_OPEN 65 +#define IMG_SP_DISK_ORANGE 66 +#define IMG_SP_DISK_YELLOW 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_ELECTRON_EXPLODING 89 +#define IMG_SP_TERMINAL 90 +#define IMG_SP_TERMINAL_EDITOR 91 +#define IMG_SP_TERMINAL_ACTIVE 92 +#define IMG_SP_BUGGY_BASE 93 +#define IMG_SP_BUGGY_BASE_EDITOR 94 +#define IMG_SP_BUGGY_BASE_ACTIVATING 95 +#define IMG_SP_BUGGY_BASE_ACTIVE 96 +#define IMG_SP_HARDWARE_BASE_1 97 +#define IMG_SP_HARDWARE_BASE_2 98 +#define IMG_SP_HARDWARE_BASE_3 99 +#define IMG_SP_HARDWARE_BASE_4 100 +#define IMG_SP_HARDWARE_BASE_5 101 +#define IMG_SP_HARDWARE_BASE_6 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_SAND_DIGGING_LEFT_CRUMBLED 114 +#define IMG_SAND_DIGGING_RIGHT_CRUMBLED 115 +#define IMG_SAND_DIGGING_UP_CRUMBLED 116 +#define IMG_SAND_DIGGING_DOWN_CRUMBLED 117 +#define IMG_WALL 118 +#define IMG_WALL_SLIPPERY 119 +#define IMG_STEELWALL 120 +#define IMG_ROCK 121 +#define IMG_ROCK_MOVING_LEFT 122 +#define IMG_ROCK_MOVING_RIGHT 123 +#define IMG_ROCK_PUSHING_LEFT 124 +#define IMG_ROCK_PUSHING_RIGHT 125 +#define IMG_EMERALD 126 +#define IMG_EMERALD_MOVING 127 +#define IMG_EMERALD_FALLING 128 +#define IMG_EMERALD_COLLECTING 129 +#define IMG_DIAMOND 130 +#define IMG_DIAMOND_MOVING 131 +#define IMG_DIAMOND_FALLING 132 +#define IMG_DIAMOND_COLLECTING 133 +#define IMG_BOMB 134 +#define IMG_NUT 135 +#define IMG_NUT_BREAKING 136 +#define IMG_DYNAMITE 137 +#define IMG_DYNAMITE_EDITOR 138 +#define IMG_DYNAMITE_ACTIVE 139 +#define IMG_DYNAMITE_ACTIVE_EDITOR 140 +#define IMG_WALL_EMERALD 141 +#define IMG_WALL_DIAMOND 142 +#define IMG_BUG 143 +#define IMG_BUG_RIGHT 144 +#define IMG_BUG_UP 145 +#define IMG_BUG_LEFT 146 +#define IMG_BUG_DOWN 147 +#define IMG_BUG_MOVING_RIGHT 148 +#define IMG_BUG_MOVING_UP 149 +#define IMG_BUG_MOVING_LEFT 150 +#define IMG_BUG_MOVING_DOWN 151 +#define IMG_SPACESHIP 152 +#define IMG_SPACESHIP_RIGHT 153 +#define IMG_SPACESHIP_UP 154 +#define IMG_SPACESHIP_LEFT 155 +#define IMG_SPACESHIP_DOWN 156 +#define IMG_SPACESHIP_MOVING_RIGHT 157 +#define IMG_SPACESHIP_MOVING_UP 158 +#define IMG_SPACESHIP_MOVING_LEFT 159 +#define IMG_SPACESHIP_MOVING_DOWN 160 +#define IMG_YAMYAM 161 +#define IMG_YAMYAM_MOVING 162 +#define IMG_ROBOT 163 +#define IMG_ROBOT_MOVING 164 +#define IMG_ROBOT_WHEEL 165 +#define IMG_ROBOT_WHEEL_ACTIVE 166 +#define IMG_MAGIC_WALL 167 +#define IMG_MAGIC_WALL_ACTIVE 168 +#define IMG_MAGIC_WALL_FILLING 169 +#define IMG_MAGIC_WALL_FULL 170 +#define IMG_MAGIC_WALL_EMPTYING 171 +#define IMG_MAGIC_WALL_DEAD 172 +#define IMG_QUICKSAND_EMPTY 173 +#define IMG_QUICKSAND_FILLING 174 +#define IMG_QUICKSAND_FULL 175 +#define IMG_QUICKSAND_FULL_EDITOR 176 +#define IMG_QUICKSAND_EMPTYING 177 +#define IMG_ACID_POOL_TOPLEFT 178 +#define IMG_ACID_POOL_TOPRIGHT 179 +#define IMG_ACID_POOL_BOTTOMLEFT 180 +#define IMG_ACID_POOL_BOTTOM 181 +#define IMG_ACID_POOL_BOTTOMRIGHT 182 +#define IMG_ACID 183 +#define IMG_ACID_SPLASH_LEFT 184 +#define IMG_ACID_SPLASH_RIGHT 185 +#define IMG_AMOEBA_DROP 186 +#define IMG_AMOEBA_GROWING 187 +#define IMG_AMOEBA_SHRINKING 188 +#define IMG_AMOEBA_WET 189 +#define IMG_AMOEBA_WET_EDITOR 190 +#define IMG_AMOEBA_DROPPING 191 +#define IMG_AMOEBA_DRY 192 +#define IMG_AMOEBA_FULL 193 +#define IMG_AMOEBA_FULL_EDITOR 194 +#define IMG_AMOEBA_DEAD 195 +#define IMG_AMOEBA_DEAD_EDITOR 196 +#define IMG_EM_KEY_1 197 +#define IMG_EM_KEY_2 198 +#define IMG_EM_KEY_3 199 +#define IMG_EM_KEY_4 200 +#define IMG_EM_GATE_1 201 +#define IMG_EM_GATE_2 202 +#define IMG_EM_GATE_3 203 +#define IMG_EM_GATE_4 204 +#define IMG_EM_GATE_1_GRAY 205 +#define IMG_EM_GATE_1_GRAY_EDITOR 206 +#define IMG_EM_GATE_2_GRAY 207 +#define IMG_EM_GATE_2_GRAY_EDITOR 208 +#define IMG_EM_GATE_3_GRAY 209 +#define IMG_EM_GATE_3_GRAY_EDITOR 210 +#define IMG_EM_GATE_4_GRAY 211 +#define IMG_EM_GATE_4_GRAY_EDITOR 212 +#define IMG_EXIT_CLOSED 213 +#define IMG_EXIT_OPENING 214 +#define IMG_EXIT_OPEN 215 +#define IMG_EXIT_CLOSING 216 +#define IMG_BALLOON 217 +#define IMG_BALLOON_MOVING 218 +#define IMG_BALLOON_PUSHING 219 +#define IMG_BALLOON_SWITCH_LEFT 220 +#define IMG_BALLOON_SWITCH_RIGHT 221 +#define IMG_BALLOON_SWITCH_UP 222 +#define IMG_BALLOON_SWITCH_DOWN 223 +#define IMG_BALLOON_SWITCH_ANY 224 +#define IMG_SPRING 225 +#define IMG_EMC_STEELWALL_1 226 +#define IMG_EMC_STEELWALL_2 227 +#define IMG_EMC_STEELWALL_3 228 +#define IMG_EMC_STEELWALL_4 229 +#define IMG_EMC_WALL_1 230 +#define IMG_EMC_WALL_2 231 +#define IMG_EMC_WALL_3 232 +#define IMG_EMC_WALL_4 233 +#define IMG_EMC_WALL_5 234 +#define IMG_EMC_WALL_6 235 +#define IMG_EMC_WALL_7 236 +#define IMG_EMC_WALL_8 237 +#define IMG_INVISIBLE_STEELWALL 238 +#define IMG_INVISIBLE_STEELWALL_EDITOR 239 +#define IMG_INVISIBLE_STEELWALL_ACTIVE 240 +#define IMG_INVISIBLE_WALL 241 +#define IMG_INVISIBLE_WALL_EDITOR 242 +#define IMG_INVISIBLE_WALL_ACTIVE 243 +#define IMG_INVISIBLE_SAND 244 +#define IMG_INVISIBLE_SAND_EDITOR 245 +#define IMG_INVISIBLE_SAND_ACTIVE 246 +#define IMG_CONVEYOR_BELT_1_MIDDLE 247 +#define IMG_CONVEYOR_BELT_1_MIDDLE_ACTIVE 248 +#define IMG_CONVEYOR_BELT_1_LEFT 249 +#define IMG_CONVEYOR_BELT_1_LEFT_ACTIVE 250 +#define IMG_CONVEYOR_BELT_1_RIGHT 251 +#define IMG_CONVEYOR_BELT_1_RIGHT_ACTIVE 252 +#define IMG_CONVEYOR_BELT_1_SWITCH_LEFT 253 +#define IMG_CONVEYOR_BELT_1_SWITCH_MIDDLE 254 +#define IMG_CONVEYOR_BELT_1_SWITCH_RIGHT 255 +#define IMG_CONVEYOR_BELT_2_MIDDLE 256 +#define IMG_CONVEYOR_BELT_2_MIDDLE_ACTIVE 257 +#define IMG_CONVEYOR_BELT_2_LEFT 258 +#define IMG_CONVEYOR_BELT_2_LEFT_ACTIVE 259 +#define IMG_CONVEYOR_BELT_2_RIGHT 260 +#define IMG_CONVEYOR_BELT_2_RIGHT_ACTIVE 261 +#define IMG_CONVEYOR_BELT_2_SWITCH_LEFT 262 +#define IMG_CONVEYOR_BELT_2_SWITCH_MIDDLE 263 +#define IMG_CONVEYOR_BELT_2_SWITCH_RIGHT 264 +#define IMG_CONVEYOR_BELT_3_MIDDLE 265 +#define IMG_CONVEYOR_BELT_3_MIDDLE_ACTIVE 266 +#define IMG_CONVEYOR_BELT_3_LEFT 267 +#define IMG_CONVEYOR_BELT_3_LEFT_ACTIVE 268 +#define IMG_CONVEYOR_BELT_3_RIGHT 269 +#define IMG_CONVEYOR_BELT_3_RIGHT_ACTIVE 270 +#define IMG_CONVEYOR_BELT_3_SWITCH_LEFT 271 +#define IMG_CONVEYOR_BELT_3_SWITCH_MIDDLE 272 +#define IMG_CONVEYOR_BELT_3_SWITCH_RIGHT 273 +#define IMG_CONVEYOR_BELT_4_MIDDLE 274 +#define IMG_CONVEYOR_BELT_4_MIDDLE_ACTIVE 275 +#define IMG_CONVEYOR_BELT_4_LEFT 276 +#define IMG_CONVEYOR_BELT_4_LEFT_ACTIVE 277 +#define IMG_CONVEYOR_BELT_4_RIGHT 278 +#define IMG_CONVEYOR_BELT_4_RIGHT_ACTIVE 279 +#define IMG_CONVEYOR_BELT_4_SWITCH_LEFT 280 +#define IMG_CONVEYOR_BELT_4_SWITCH_MIDDLE 281 +#define IMG_CONVEYOR_BELT_4_SWITCH_RIGHT 282 +#define IMG_SWITCHGATE_SWITCH_UP 283 +#define IMG_SWITCHGATE_SWITCH_DOWN 284 +#define IMG_LIGHT_SWITCH 285 +#define IMG_LIGHT_SWITCH_ACTIVE 286 +#define IMG_TIMEGATE_SWITCH 287 +#define IMG_TIMEGATE_SWITCH_ACTIVE 288 +#define IMG_ENVELOPE_1 289 +#define IMG_ENVELOPE_2 290 +#define IMG_ENVELOPE_3 291 +#define IMG_ENVELOPE_4 292 +#define IMG_SIGN_EXCLAMATION 293 +#define IMG_SIGN_STOP 294 +#define IMG_LANDMINE 295 +#define IMG_STEELWALL_SLIPPERY 296 +#define IMG_EXTRA_TIME 297 +#define IMG_SHIELD_NORMAL 298 +#define IMG_SHIELD_NORMAL_ACTIVE 299 +#define IMG_SHIELD_DEADLY 300 +#define IMG_SHIELD_DEADLY_ACTIVE 301 +#define IMG_SWITCHGATE_CLOSED 302 +#define IMG_SWITCHGATE_OPENING 303 +#define IMG_SWITCHGATE_OPEN 304 +#define IMG_SWITCHGATE_CLOSING 305 +#define IMG_TIMEGATE_CLOSED 306 +#define IMG_TIMEGATE_OPENING 307 +#define IMG_TIMEGATE_OPEN 308 +#define IMG_TIMEGATE_CLOSING 309 +#define IMG_PEARL 310 +#define IMG_PEARL_BREAKING 311 +#define IMG_CRYSTAL 312 +#define IMG_WALL_PEARL 313 +#define IMG_WALL_CRYSTAL 314 +#define IMG_TUBE_RIGHT_DOWN 315 +#define IMG_TUBE_HORIZONTAL_DOWN 316 +#define IMG_TUBE_LEFT_DOWN 317 +#define IMG_TUBE_HORIZONTAL 318 +#define IMG_TUBE_VERTICAL_RIGHT 319 +#define IMG_TUBE_ANY 320 +#define IMG_TUBE_VERTICAL_LEFT 321 +#define IMG_TUBE_VERTICAL 322 +#define IMG_TUBE_RIGHT_UP 323 +#define IMG_TUBE_HORIZONTAL_UP 324 +#define IMG_TUBE_LEFT_UP 325 +#define IMG_TRAP 326 +#define IMG_TRAP_ACTIVE 327 +#define IMG_DX_SUPABOMB 328 +#define IMG_KEY_1 329 +#define IMG_KEY_1_EDITOR 330 +#define IMG_KEY_2 331 +#define IMG_KEY_2_EDITOR 332 +#define IMG_KEY_3 333 +#define IMG_KEY_3_EDITOR 334 +#define IMG_KEY_4 335 +#define IMG_KEY_4_EDITOR 336 +#define IMG_GATE_1 337 +#define IMG_GATE_2 338 +#define IMG_GATE_3 339 +#define IMG_GATE_4 340 +#define IMG_GATE_1_GRAY 341 +#define IMG_GATE_1_GRAY_EDITOR 342 +#define IMG_GATE_2_GRAY 343 +#define IMG_GATE_2_GRAY_EDITOR 344 +#define IMG_GATE_3_GRAY 345 +#define IMG_GATE_3_GRAY_EDITOR 346 +#define IMG_GATE_4_GRAY 347 +#define IMG_GATE_4_GRAY_EDITOR 348 +#define IMG_GAME_OF_LIFE 349 +#define IMG_BIOMAZE 350 +#define IMG_PACMAN 351 +#define IMG_PACMAN_RIGHT 352 +#define IMG_PACMAN_UP 353 +#define IMG_PACMAN_LEFT 354 +#define IMG_PACMAN_DOWN 355 +#define IMG_PACMAN_MOVING_RIGHT 356 +#define IMG_PACMAN_MOVING_UP 357 +#define IMG_PACMAN_MOVING_LEFT 358 +#define IMG_PACMAN_MOVING_DOWN 359 +#define IMG_LAMP 360 +#define IMG_LAMP_EDITOR 361 +#define IMG_LAMP_ACTIVE 362 +#define IMG_TIME_ORB_FULL 363 +#define IMG_TIME_ORB_EMPTY 364 +#define IMG_EMERALD_YELLOW 365 +#define IMG_EMERALD_YELLOW_MOVING 366 +#define IMG_EMERALD_YELLOW_FALLING 367 +#define IMG_EMERALD_RED 368 +#define IMG_EMERALD_RED_MOVING 369 +#define IMG_EMERALD_RED_FALLING 370 +#define IMG_EMERALD_PURPLE 371 +#define IMG_EMERALD_PURPLE_MOVING 372 +#define IMG_EMERALD_PURPLE_FALLING 373 +#define IMG_WALL_EMERALD_YELLOW 374 +#define IMG_WALL_EMERALD_RED 375 +#define IMG_WALL_EMERALD_PURPLE 376 +#define IMG_WALL_BD_DIAMOND 377 +#define IMG_EXPANDABLE_WALL 378 +#define IMG_EXPANDABLE_WALL_HORIZONTAL 379 +#define IMG_EXPANDABLE_WALL_HORIZONTAL_EDITOR 380 +#define IMG_EXPANDABLE_WALL_VERTICAL 381 +#define IMG_EXPANDABLE_WALL_VERTICAL_EDITOR 382 +#define IMG_EXPANDABLE_WALL_ANY 383 +#define IMG_EXPANDABLE_WALL_ANY_EDITOR 384 +#define IMG_EXPANDABLE_WALL_GROWING_LEFT 385 +#define IMG_EXPANDABLE_WALL_GROWING_RIGHT 386 +#define IMG_EXPANDABLE_WALL_GROWING_UP 387 +#define IMG_EXPANDABLE_WALL_GROWING_DOWN 388 +#define IMG_BLACK_ORB 389 +#define IMG_SPEED_PILL 390 +#define IMG_DARK_YAMYAM 391 +#define IMG_DYNABOMB 392 +#define IMG_DYNABOMB_ACTIVE 393 +#define IMG_DYNABOMB_PLAYER_1 394 +#define IMG_DYNABOMB_PLAYER_1_ACTIVE 395 +#define IMG_DYNABOMB_PLAYER_2 396 +#define IMG_DYNABOMB_PLAYER_2_ACTIVE 397 +#define IMG_DYNABOMB_PLAYER_3 398 +#define IMG_DYNABOMB_PLAYER_3_ACTIVE 399 +#define IMG_DYNABOMB_PLAYER_4 400 +#define IMG_DYNABOMB_PLAYER_4_ACTIVE 401 +#define IMG_DYNABOMB_INCREASE_NUMBER 402 +#define IMG_DYNABOMB_INCREASE_SIZE 403 +#define IMG_DYNABOMB_INCREASE_POWER 404 +#define IMG_PIG 405 +#define IMG_PIG_DOWN 406 +#define IMG_PIG_UP 407 +#define IMG_PIG_LEFT 408 +#define IMG_PIG_RIGHT 409 +#define IMG_PIG_MOVING_DOWN 410 +#define IMG_PIG_MOVING_UP 411 +#define IMG_PIG_MOVING_LEFT 412 +#define IMG_PIG_MOVING_RIGHT 413 +#define IMG_PIG_DIGGING_DOWN 414 +#define IMG_PIG_DIGGING_UP 415 +#define IMG_PIG_DIGGING_LEFT 416 +#define IMG_PIG_DIGGING_RIGHT 417 +#define IMG_DRAGON 418 +#define IMG_DRAGON_DOWN 419 +#define IMG_DRAGON_UP 420 +#define IMG_DRAGON_LEFT 421 +#define IMG_DRAGON_RIGHT 422 +#define IMG_DRAGON_MOVING_DOWN 423 +#define IMG_DRAGON_MOVING_UP 424 +#define IMG_DRAGON_MOVING_LEFT 425 +#define IMG_DRAGON_MOVING_RIGHT 426 +#define IMG_DRAGON_ATTACKING_DOWN 427 +#define IMG_DRAGON_ATTACKING_UP 428 +#define IMG_DRAGON_ATTACKING_LEFT 429 +#define IMG_DRAGON_ATTACKING_RIGHT 430 +#define IMG_MOLE 431 +#define IMG_MOLE_DOWN 432 +#define IMG_MOLE_UP 433 +#define IMG_MOLE_LEFT 434 +#define IMG_MOLE_RIGHT 435 +#define IMG_MOLE_MOVING_DOWN 436 +#define IMG_MOLE_MOVING_UP 437 +#define IMG_MOLE_MOVING_LEFT 438 +#define IMG_MOLE_MOVING_RIGHT 439 +#define IMG_MOLE_DIGGING_DOWN 440 +#define IMG_MOLE_DIGGING_UP 441 +#define IMG_MOLE_DIGGING_LEFT 442 +#define IMG_MOLE_DIGGING_RIGHT 443 +#define IMG_PENGUIN 444 +#define IMG_PENGUIN_EDITOR 445 +#define IMG_PENGUIN_DOWN 446 +#define IMG_PENGUIN_UP 447 +#define IMG_PENGUIN_LEFT 448 +#define IMG_PENGUIN_RIGHT 449 +#define IMG_PENGUIN_MOVING_DOWN 450 +#define IMG_PENGUIN_MOVING_UP 451 +#define IMG_PENGUIN_MOVING_LEFT 452 +#define IMG_PENGUIN_MOVING_RIGHT 453 +#define IMG_SATELLITE 454 +#define IMG_FLAMES_1_LEFT 455 +#define IMG_FLAMES_2_LEFT 456 +#define IMG_FLAMES_3_LEFT 457 +#define IMG_FLAMES_1_RIGHT 458 +#define IMG_FLAMES_2_RIGHT 459 +#define IMG_FLAMES_3_RIGHT 460 +#define IMG_FLAMES_1_UP 461 +#define IMG_FLAMES_2_UP 462 +#define IMG_FLAMES_3_UP 463 +#define IMG_FLAMES_1_DOWN 464 +#define IMG_FLAMES_2_DOWN 465 +#define IMG_FLAMES_3_DOWN 466 +#define IMG_STONEBLOCK 467 +#define IMG_PLAYER_1 468 +#define IMG_PLAYER_1_EDITOR 469 +#define IMG_PLAYER_1_DOWN 470 +#define IMG_PLAYER_1_UP 471 +#define IMG_PLAYER_1_LEFT 472 +#define IMG_PLAYER_1_RIGHT 473 +#define IMG_PLAYER_1_MOVING_DOWN 474 +#define IMG_PLAYER_1_MOVING_UP 475 +#define IMG_PLAYER_1_MOVING_LEFT 476 +#define IMG_PLAYER_1_MOVING_RIGHT 477 +#define IMG_PLAYER_1_DIGGING_DOWN 478 +#define IMG_PLAYER_1_DIGGING_UP 479 +#define IMG_PLAYER_1_DIGGING_LEFT 480 +#define IMG_PLAYER_1_DIGGING_RIGHT 481 +#define IMG_PLAYER_1_COLLECTING_DOWN 482 +#define IMG_PLAYER_1_COLLECTING_UP 483 +#define IMG_PLAYER_1_COLLECTING_LEFT 484 +#define IMG_PLAYER_1_COLLECTING_RIGHT 485 +#define IMG_PLAYER_1_PUSHING_DOWN 486 +#define IMG_PLAYER_1_PUSHING_UP 487 +#define IMG_PLAYER_1_PUSHING_LEFT 488 +#define IMG_PLAYER_1_PUSHING_RIGHT 489 +#define IMG_PLAYER_1_SNAPPING_DOWN 490 +#define IMG_PLAYER_1_SNAPPING_UP 491 +#define IMG_PLAYER_1_SNAPPING_LEFT 492 +#define IMG_PLAYER_1_SNAPPING_RIGHT 493 +#define IMG_PLAYER_2 494 +#define IMG_PLAYER_2_EDITOR 495 +#define IMG_PLAYER_2_DOWN 496 +#define IMG_PLAYER_2_UP 497 +#define IMG_PLAYER_2_LEFT 498 +#define IMG_PLAYER_2_RIGHT 499 +#define IMG_PLAYER_2_MOVING_DOWN 500 +#define IMG_PLAYER_2_MOVING_UP 501 +#define IMG_PLAYER_2_MOVING_LEFT 502 +#define IMG_PLAYER_2_MOVING_RIGHT 503 +#define IMG_PLAYER_2_DIGGING_DOWN 504 +#define IMG_PLAYER_2_DIGGING_UP 505 +#define IMG_PLAYER_2_DIGGING_LEFT 506 +#define IMG_PLAYER_2_DIGGING_RIGHT 507 +#define IMG_PLAYER_2_COLLECTING_DOWN 508 +#define IMG_PLAYER_2_COLLECTING_UP 509 +#define IMG_PLAYER_2_COLLECTING_LEFT 510 +#define IMG_PLAYER_2_COLLECTING_RIGHT 511 +#define IMG_PLAYER_2_PUSHING_DOWN 512 +#define IMG_PLAYER_2_PUSHING_UP 513 +#define IMG_PLAYER_2_PUSHING_LEFT 514 +#define IMG_PLAYER_2_PUSHING_RIGHT 515 +#define IMG_PLAYER_2_SNAPPING_DOWN 516 +#define IMG_PLAYER_2_SNAPPING_UP 517 +#define IMG_PLAYER_2_SNAPPING_LEFT 518 +#define IMG_PLAYER_2_SNAPPING_RIGHT 519 +#define IMG_PLAYER_3 520 +#define IMG_PLAYER_3_EDITOR 521 +#define IMG_PLAYER_3_DOWN 522 +#define IMG_PLAYER_3_UP 523 +#define IMG_PLAYER_3_LEFT 524 +#define IMG_PLAYER_3_RIGHT 525 +#define IMG_PLAYER_3_MOVING_DOWN 526 +#define IMG_PLAYER_3_MOVING_UP 527 +#define IMG_PLAYER_3_MOVING_LEFT 528 +#define IMG_PLAYER_3_MOVING_RIGHT 529 +#define IMG_PLAYER_3_DIGGING_DOWN 530 +#define IMG_PLAYER_3_DIGGING_UP 531 +#define IMG_PLAYER_3_DIGGING_LEFT 532 +#define IMG_PLAYER_3_DIGGING_RIGHT 533 +#define IMG_PLAYER_3_COLLECTING_DOWN 534 +#define IMG_PLAYER_3_COLLECTING_UP 535 +#define IMG_PLAYER_3_COLLECTING_LEFT 536 +#define IMG_PLAYER_3_COLLECTING_RIGHT 537 +#define IMG_PLAYER_3_PUSHING_DOWN 538 +#define IMG_PLAYER_3_PUSHING_UP 539 +#define IMG_PLAYER_3_PUSHING_LEFT 540 +#define IMG_PLAYER_3_PUSHING_RIGHT 541 +#define IMG_PLAYER_3_SNAPPING_DOWN 542 +#define IMG_PLAYER_3_SNAPPING_UP 543 +#define IMG_PLAYER_3_SNAPPING_LEFT 544 +#define IMG_PLAYER_3_SNAPPING_RIGHT 545 +#define IMG_PLAYER_4 546 +#define IMG_PLAYER_4_EDITOR 547 +#define IMG_PLAYER_4_DOWN 548 +#define IMG_PLAYER_4_UP 549 +#define IMG_PLAYER_4_LEFT 550 +#define IMG_PLAYER_4_RIGHT 551 +#define IMG_PLAYER_4_MOVING_DOWN 552 +#define IMG_PLAYER_4_MOVING_UP 553 +#define IMG_PLAYER_4_MOVING_LEFT 554 +#define IMG_PLAYER_4_MOVING_RIGHT 555 +#define IMG_PLAYER_4_DIGGING_DOWN 556 +#define IMG_PLAYER_4_DIGGING_UP 557 +#define IMG_PLAYER_4_DIGGING_LEFT 558 +#define IMG_PLAYER_4_DIGGING_RIGHT 559 +#define IMG_PLAYER_4_COLLECTING_DOWN 560 +#define IMG_PLAYER_4_COLLECTING_UP 561 +#define IMG_PLAYER_4_COLLECTING_LEFT 562 +#define IMG_PLAYER_4_COLLECTING_RIGHT 563 +#define IMG_PLAYER_4_PUSHING_DOWN 564 +#define IMG_PLAYER_4_PUSHING_UP 565 +#define IMG_PLAYER_4_PUSHING_LEFT 566 +#define IMG_PLAYER_4_PUSHING_RIGHT 567 +#define IMG_PLAYER_4_SNAPPING_DOWN 568 +#define IMG_PLAYER_4_SNAPPING_UP 569 +#define IMG_PLAYER_4_SNAPPING_LEFT 570 +#define IMG_PLAYER_4_SNAPPING_RIGHT 571 +#define IMG_DEFAULT_EXPLODING 572 +#define IMG_TWINKLE_BLUE 573 +#define IMG_TWINKLE_WHITE 574 +#define IMG_STEELWALL_TOPLEFT 575 +#define IMG_STEELWALL_TOPRIGHT 576 +#define IMG_STEELWALL_BOTTOMLEFT 577 +#define IMG_STEELWALL_BOTTOMRIGHT 578 +#define IMG_STEELWALL_HORIZONTAL 579 +#define IMG_STEELWALL_VERTICAL 580 +#define IMG_STEELWALL_TOPLEFT_EDITOR 581 +#define IMG_STEELWALL_TOPRIGHT_EDITOR 582 +#define IMG_STEELWALL_BOTTOMLEFT_EDITOR 583 +#define IMG_STEELWALL_BOTTOMRIGHT_EDITOR 584 +#define IMG_STEELWALL_HORIZONTAL_EDITOR 585 +#define IMG_STEELWALL_VERTICAL_EDITOR 586 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT 587 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 588 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 589 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 590 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 591 +#define IMG_INVISIBLE_STEELWALL_VERTICAL 592 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT_EDITOR 593 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT_EDITOR 594 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT_EDITOR 595 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT_EDITOR 596 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL_EDITOR 597 +#define IMG_INVISIBLE_STEELWALL_VERTICAL_EDITOR 598 +#define IMG_ARROW_LEFT 599 +#define IMG_ARROW_RIGHT 600 +#define IMG_ARROW_UP 601 +#define IMG_ARROW_DOWN 602 +#define IMG_CHAR_SPACE 603 +#define IMG_CHAR_EXCLAM 604 +#define IMG_CHAR_QUOTEDBL 605 +#define IMG_CHAR_NUMBERSIGN 606 +#define IMG_CHAR_DOLLAR 607 +#define IMG_CHAR_PROCENT 608 +#define IMG_CHAR_AMPERSAND 609 +#define IMG_CHAR_APOSTROPHE 610 +#define IMG_CHAR_PARENLEFT 611 +#define IMG_CHAR_PARENRIGHT 612 +#define IMG_CHAR_ASTERISK 613 +#define IMG_CHAR_PLUS 614 +#define IMG_CHAR_COMMA 615 +#define IMG_CHAR_MINUS 616 +#define IMG_CHAR_PERIOD 617 +#define IMG_CHAR_SLASH 618 +#define IMG_CHAR_0 619 +#define IMG_CHAR_1 620 +#define IMG_CHAR_2 621 +#define IMG_CHAR_3 622 +#define IMG_CHAR_4 623 +#define IMG_CHAR_5 624 +#define IMG_CHAR_6 625 +#define IMG_CHAR_7 626 +#define IMG_CHAR_8 627 +#define IMG_CHAR_9 628 +#define IMG_CHAR_COLON 629 +#define IMG_CHAR_SEMICOLON 630 +#define IMG_CHAR_LESS 631 +#define IMG_CHAR_EQUAL 632 +#define IMG_CHAR_GREATER 633 +#define IMG_CHAR_QUESTION 634 +#define IMG_CHAR_AT 635 +#define IMG_CHAR_A 636 +#define IMG_CHAR_B 637 +#define IMG_CHAR_C 638 +#define IMG_CHAR_D 639 +#define IMG_CHAR_E 640 +#define IMG_CHAR_F 641 +#define IMG_CHAR_G 642 +#define IMG_CHAR_H 643 +#define IMG_CHAR_I 644 +#define IMG_CHAR_J 645 +#define IMG_CHAR_K 646 +#define IMG_CHAR_L 647 +#define IMG_CHAR_M 648 +#define IMG_CHAR_N 649 +#define IMG_CHAR_O 650 +#define IMG_CHAR_P 651 +#define IMG_CHAR_Q 652 +#define IMG_CHAR_R 653 +#define IMG_CHAR_S 654 +#define IMG_CHAR_T 655 +#define IMG_CHAR_U 656 +#define IMG_CHAR_V 657 +#define IMG_CHAR_W 658 +#define IMG_CHAR_X 659 +#define IMG_CHAR_Y 660 +#define IMG_CHAR_Z 661 +#define IMG_CHAR_BRACKETLEFT 662 +#define IMG_CHAR_BACKSLASH 663 +#define IMG_CHAR_BRACKETRIGHT 664 +#define IMG_CHAR_ASCIICIRCUM 665 +#define IMG_CHAR_UNDERSCORE 666 +#define IMG_CHAR_COPYRIGHT 667 +#define IMG_CHAR_AUMLAUT 668 +#define IMG_CHAR_OUMLAUT 669 +#define IMG_CHAR_UUMLAUT 670 +#define IMG_CHAR_DEGREE 671 +#define IMG_CHAR_TRADEMARK 672 +#define IMG_CHAR_CURSOR 673 +#define IMG_CUSTOM_1 674 +#define IMG_CUSTOM_1_EDITOR 675 +#define IMG_CUSTOM_2 676 +#define IMG_CUSTOM_2_EDITOR 677 +#define IMG_CUSTOM_3 678 +#define IMG_CUSTOM_3_EDITOR 679 +#define IMG_CUSTOM_4 680 +#define IMG_CUSTOM_4_EDITOR 681 +#define IMG_CUSTOM_5 682 +#define IMG_CUSTOM_5_EDITOR 683 +#define IMG_CUSTOM_6 684 +#define IMG_CUSTOM_6_EDITOR 685 +#define IMG_CUSTOM_7 686 +#define IMG_CUSTOM_7_EDITOR 687 +#define IMG_CUSTOM_8 688 +#define IMG_CUSTOM_8_EDITOR 689 +#define IMG_CUSTOM_9 690 +#define IMG_CUSTOM_9_EDITOR 691 +#define IMG_CUSTOM_10 692 +#define IMG_CUSTOM_10_EDITOR 693 +#define IMG_CUSTOM_11 694 +#define IMG_CUSTOM_11_EDITOR 695 +#define IMG_CUSTOM_12 696 +#define IMG_CUSTOM_12_EDITOR 697 +#define IMG_CUSTOM_13 698 +#define IMG_CUSTOM_13_EDITOR 699 +#define IMG_CUSTOM_14 700 +#define IMG_CUSTOM_14_EDITOR 701 +#define IMG_CUSTOM_15 702 +#define IMG_CUSTOM_15_EDITOR 703 +#define IMG_CUSTOM_16 704 +#define IMG_CUSTOM_16_EDITOR 705 +#define IMG_CUSTOM_17 706 +#define IMG_CUSTOM_17_EDITOR 707 +#define IMG_CUSTOM_18 708 +#define IMG_CUSTOM_18_EDITOR 709 +#define IMG_CUSTOM_19 710 +#define IMG_CUSTOM_19_EDITOR 711 +#define IMG_CUSTOM_20 712 +#define IMG_CUSTOM_20_EDITOR 713 +#define IMG_CUSTOM_21 714 +#define IMG_CUSTOM_21_EDITOR 715 +#define IMG_CUSTOM_22 716 +#define IMG_CUSTOM_22_EDITOR 717 +#define IMG_CUSTOM_23 718 +#define IMG_CUSTOM_23_EDITOR 719 +#define IMG_CUSTOM_24 720 +#define IMG_CUSTOM_24_EDITOR 721 +#define IMG_CUSTOM_25 722 +#define IMG_CUSTOM_25_EDITOR 723 +#define IMG_CUSTOM_26 724 +#define IMG_CUSTOM_26_EDITOR 725 +#define IMG_CUSTOM_27 726 +#define IMG_CUSTOM_27_EDITOR 727 +#define IMG_CUSTOM_28 728 +#define IMG_CUSTOM_28_EDITOR 729 +#define IMG_CUSTOM_29 730 +#define IMG_CUSTOM_29_EDITOR 731 +#define IMG_CUSTOM_30 732 +#define IMG_CUSTOM_30_EDITOR 733 +#define IMG_CUSTOM_31 734 +#define IMG_CUSTOM_31_EDITOR 735 +#define IMG_CUSTOM_32 736 +#define IMG_CUSTOM_32_EDITOR 737 +#define IMG_CUSTOM_33 738 +#define IMG_CUSTOM_33_EDITOR 739 +#define IMG_CUSTOM_34 740 +#define IMG_CUSTOM_34_EDITOR 741 +#define IMG_CUSTOM_35 742 +#define IMG_CUSTOM_35_EDITOR 743 +#define IMG_CUSTOM_36 744 +#define IMG_CUSTOM_36_EDITOR 745 +#define IMG_CUSTOM_37 746 +#define IMG_CUSTOM_37_EDITOR 747 +#define IMG_CUSTOM_38 748 +#define IMG_CUSTOM_38_EDITOR 749 +#define IMG_CUSTOM_39 750 +#define IMG_CUSTOM_39_EDITOR 751 +#define IMG_CUSTOM_40 752 +#define IMG_CUSTOM_40_EDITOR 753 +#define IMG_CUSTOM_41 754 +#define IMG_CUSTOM_41_EDITOR 755 +#define IMG_CUSTOM_42 756 +#define IMG_CUSTOM_42_EDITOR 757 +#define IMG_CUSTOM_43 758 +#define IMG_CUSTOM_43_EDITOR 759 +#define IMG_CUSTOM_44 760 +#define IMG_CUSTOM_44_EDITOR 761 +#define IMG_CUSTOM_45 762 +#define IMG_CUSTOM_45_EDITOR 763 +#define IMG_CUSTOM_46 764 +#define IMG_CUSTOM_46_EDITOR 765 +#define IMG_CUSTOM_47 766 +#define IMG_CUSTOM_47_EDITOR 767 +#define IMG_CUSTOM_48 768 +#define IMG_CUSTOM_48_EDITOR 769 +#define IMG_CUSTOM_49 770 +#define IMG_CUSTOM_49_EDITOR 771 +#define IMG_CUSTOM_50 772 +#define IMG_CUSTOM_50_EDITOR 773 +#define IMG_CUSTOM_51 774 +#define IMG_CUSTOM_51_EDITOR 775 +#define IMG_CUSTOM_52 776 +#define IMG_CUSTOM_52_EDITOR 777 +#define IMG_CUSTOM_53 778 +#define IMG_CUSTOM_53_EDITOR 779 +#define IMG_CUSTOM_54 780 +#define IMG_CUSTOM_54_EDITOR 781 +#define IMG_CUSTOM_55 782 +#define IMG_CUSTOM_55_EDITOR 783 +#define IMG_CUSTOM_56 784 +#define IMG_CUSTOM_56_EDITOR 785 +#define IMG_CUSTOM_57 786 +#define IMG_CUSTOM_57_EDITOR 787 +#define IMG_CUSTOM_58 788 +#define IMG_CUSTOM_58_EDITOR 789 +#define IMG_CUSTOM_59 790 +#define IMG_CUSTOM_59_EDITOR 791 +#define IMG_CUSTOM_60 792 +#define IMG_CUSTOM_60_EDITOR 793 +#define IMG_CUSTOM_61 794 +#define IMG_CUSTOM_61_EDITOR 795 +#define IMG_CUSTOM_62 796 +#define IMG_CUSTOM_62_EDITOR 797 +#define IMG_CUSTOM_63 798 +#define IMG_CUSTOM_63_EDITOR 799 +#define IMG_CUSTOM_64 800 +#define IMG_CUSTOM_64_EDITOR 801 +#define IMG_CUSTOM_65 802 +#define IMG_CUSTOM_65_EDITOR 803 +#define IMG_CUSTOM_66 804 +#define IMG_CUSTOM_66_EDITOR 805 +#define IMG_CUSTOM_67 806 +#define IMG_CUSTOM_67_EDITOR 807 +#define IMG_CUSTOM_68 808 +#define IMG_CUSTOM_68_EDITOR 809 +#define IMG_CUSTOM_69 810 +#define IMG_CUSTOM_69_EDITOR 811 +#define IMG_CUSTOM_70 812 +#define IMG_CUSTOM_70_EDITOR 813 +#define IMG_CUSTOM_71 814 +#define IMG_CUSTOM_71_EDITOR 815 +#define IMG_CUSTOM_72 816 +#define IMG_CUSTOM_72_EDITOR 817 +#define IMG_CUSTOM_73 818 +#define IMG_CUSTOM_73_EDITOR 819 +#define IMG_CUSTOM_74 820 +#define IMG_CUSTOM_74_EDITOR 821 +#define IMG_CUSTOM_75 822 +#define IMG_CUSTOM_75_EDITOR 823 +#define IMG_CUSTOM_76 824 +#define IMG_CUSTOM_76_EDITOR 825 +#define IMG_CUSTOM_77 826 +#define IMG_CUSTOM_77_EDITOR 827 +#define IMG_CUSTOM_78 828 +#define IMG_CUSTOM_78_EDITOR 829 +#define IMG_CUSTOM_79 830 +#define IMG_CUSTOM_79_EDITOR 831 +#define IMG_CUSTOM_80 832 +#define IMG_CUSTOM_80_EDITOR 833 +#define IMG_CUSTOM_81 834 +#define IMG_CUSTOM_81_EDITOR 835 +#define IMG_CUSTOM_82 836 +#define IMG_CUSTOM_82_EDITOR 837 +#define IMG_CUSTOM_83 838 +#define IMG_CUSTOM_83_EDITOR 839 +#define IMG_CUSTOM_84 840 +#define IMG_CUSTOM_84_EDITOR 841 +#define IMG_CUSTOM_85 842 +#define IMG_CUSTOM_85_EDITOR 843 +#define IMG_CUSTOM_86 844 +#define IMG_CUSTOM_86_EDITOR 845 +#define IMG_CUSTOM_87 846 +#define IMG_CUSTOM_87_EDITOR 847 +#define IMG_CUSTOM_88 848 +#define IMG_CUSTOM_88_EDITOR 849 +#define IMG_CUSTOM_89 850 +#define IMG_CUSTOM_89_EDITOR 851 +#define IMG_CUSTOM_90 852 +#define IMG_CUSTOM_90_EDITOR 853 +#define IMG_CUSTOM_91 854 +#define IMG_CUSTOM_91_EDITOR 855 +#define IMG_CUSTOM_92 856 +#define IMG_CUSTOM_92_EDITOR 857 +#define IMG_CUSTOM_93 858 +#define IMG_CUSTOM_93_EDITOR 859 +#define IMG_CUSTOM_94 860 +#define IMG_CUSTOM_94_EDITOR 861 +#define IMG_CUSTOM_95 862 +#define IMG_CUSTOM_95_EDITOR 863 +#define IMG_CUSTOM_96 864 +#define IMG_CUSTOM_96_EDITOR 865 +#define IMG_CUSTOM_97 866 +#define IMG_CUSTOM_97_EDITOR 867 +#define IMG_CUSTOM_98 868 +#define IMG_CUSTOM_98_EDITOR 869 +#define IMG_CUSTOM_99 870 +#define IMG_CUSTOM_99_EDITOR 871 +#define IMG_CUSTOM_100 872 +#define IMG_CUSTOM_100_EDITOR 873 +#define IMG_CUSTOM_101 874 +#define IMG_CUSTOM_101_EDITOR 875 +#define IMG_CUSTOM_102 876 +#define IMG_CUSTOM_102_EDITOR 877 +#define IMG_CUSTOM_103 878 +#define IMG_CUSTOM_103_EDITOR 879 +#define IMG_CUSTOM_104 880 +#define IMG_CUSTOM_104_EDITOR 881 +#define IMG_CUSTOM_105 882 +#define IMG_CUSTOM_105_EDITOR 883 +#define IMG_CUSTOM_106 884 +#define IMG_CUSTOM_106_EDITOR 885 +#define IMG_CUSTOM_107 886 +#define IMG_CUSTOM_107_EDITOR 887 +#define IMG_CUSTOM_108 888 +#define IMG_CUSTOM_108_EDITOR 889 +#define IMG_CUSTOM_109 890 +#define IMG_CUSTOM_109_EDITOR 891 +#define IMG_CUSTOM_110 892 +#define IMG_CUSTOM_110_EDITOR 893 +#define IMG_CUSTOM_111 894 +#define IMG_CUSTOM_111_EDITOR 895 +#define IMG_CUSTOM_112 896 +#define IMG_CUSTOM_112_EDITOR 897 +#define IMG_CUSTOM_113 898 +#define IMG_CUSTOM_113_EDITOR 899 +#define IMG_CUSTOM_114 900 +#define IMG_CUSTOM_114_EDITOR 901 +#define IMG_CUSTOM_115 902 +#define IMG_CUSTOM_115_EDITOR 903 +#define IMG_CUSTOM_116 904 +#define IMG_CUSTOM_116_EDITOR 905 +#define IMG_CUSTOM_117 906 +#define IMG_CUSTOM_117_EDITOR 907 +#define IMG_CUSTOM_118 908 +#define IMG_CUSTOM_118_EDITOR 909 +#define IMG_CUSTOM_119 910 +#define IMG_CUSTOM_119_EDITOR 911 +#define IMG_CUSTOM_120 912 +#define IMG_CUSTOM_120_EDITOR 913 +#define IMG_CUSTOM_121 914 +#define IMG_CUSTOM_121_EDITOR 915 +#define IMG_CUSTOM_122 916 +#define IMG_CUSTOM_122_EDITOR 917 +#define IMG_CUSTOM_123 918 +#define IMG_CUSTOM_123_EDITOR 919 +#define IMG_CUSTOM_124 920 +#define IMG_CUSTOM_124_EDITOR 921 +#define IMG_CUSTOM_125 922 +#define IMG_CUSTOM_125_EDITOR 923 +#define IMG_CUSTOM_126 924 +#define IMG_CUSTOM_126_EDITOR 925 +#define IMG_CUSTOM_127 926 +#define IMG_CUSTOM_127_EDITOR 927 +#define IMG_CUSTOM_128 928 +#define IMG_CUSTOM_128_EDITOR 929 +#define IMG_CUSTOM_129 930 +#define IMG_CUSTOM_129_EDITOR 931 +#define IMG_CUSTOM_130 932 +#define IMG_CUSTOM_130_EDITOR 933 +#define IMG_CUSTOM_131 934 +#define IMG_CUSTOM_131_EDITOR 935 +#define IMG_CUSTOM_132 936 +#define IMG_CUSTOM_132_EDITOR 937 +#define IMG_CUSTOM_133 938 +#define IMG_CUSTOM_133_EDITOR 939 +#define IMG_CUSTOM_134 940 +#define IMG_CUSTOM_134_EDITOR 941 +#define IMG_CUSTOM_135 942 +#define IMG_CUSTOM_135_EDITOR 943 +#define IMG_CUSTOM_136 944 +#define IMG_CUSTOM_136_EDITOR 945 +#define IMG_CUSTOM_137 946 +#define IMG_CUSTOM_137_EDITOR 947 +#define IMG_CUSTOM_138 948 +#define IMG_CUSTOM_138_EDITOR 949 +#define IMG_CUSTOM_139 950 +#define IMG_CUSTOM_139_EDITOR 951 +#define IMG_CUSTOM_140 952 +#define IMG_CUSTOM_140_EDITOR 953 +#define IMG_CUSTOM_141 954 +#define IMG_CUSTOM_141_EDITOR 955 +#define IMG_CUSTOM_142 956 +#define IMG_CUSTOM_142_EDITOR 957 +#define IMG_CUSTOM_143 958 +#define IMG_CUSTOM_143_EDITOR 959 +#define IMG_CUSTOM_144 960 +#define IMG_CUSTOM_144_EDITOR 961 +#define IMG_CUSTOM_145 962 +#define IMG_CUSTOM_145_EDITOR 963 +#define IMG_CUSTOM_146 964 +#define IMG_CUSTOM_146_EDITOR 965 +#define IMG_CUSTOM_147 966 +#define IMG_CUSTOM_147_EDITOR 967 +#define IMG_CUSTOM_148 968 +#define IMG_CUSTOM_148_EDITOR 969 +#define IMG_CUSTOM_149 970 +#define IMG_CUSTOM_149_EDITOR 971 +#define IMG_CUSTOM_150 972 +#define IMG_CUSTOM_150_EDITOR 973 +#define IMG_CUSTOM_151 974 +#define IMG_CUSTOM_151_EDITOR 975 +#define IMG_CUSTOM_152 976 +#define IMG_CUSTOM_152_EDITOR 977 +#define IMG_CUSTOM_153 978 +#define IMG_CUSTOM_153_EDITOR 979 +#define IMG_CUSTOM_154 980 +#define IMG_CUSTOM_154_EDITOR 981 +#define IMG_CUSTOM_155 982 +#define IMG_CUSTOM_155_EDITOR 983 +#define IMG_CUSTOM_156 984 +#define IMG_CUSTOM_156_EDITOR 985 +#define IMG_CUSTOM_157 986 +#define IMG_CUSTOM_157_EDITOR 987 +#define IMG_CUSTOM_158 988 +#define IMG_CUSTOM_158_EDITOR 989 +#define IMG_CUSTOM_159 990 +#define IMG_CUSTOM_159_EDITOR 991 +#define IMG_CUSTOM_160 992 +#define IMG_CUSTOM_160_EDITOR 993 +#define IMG_CUSTOM_161 994 +#define IMG_CUSTOM_161_EDITOR 995 +#define IMG_CUSTOM_162 996 +#define IMG_CUSTOM_162_EDITOR 997 +#define IMG_CUSTOM_163 998 +#define IMG_CUSTOM_163_EDITOR 999 +#define IMG_CUSTOM_164 1000 +#define IMG_CUSTOM_164_EDITOR 1001 +#define IMG_CUSTOM_165 1002 +#define IMG_CUSTOM_165_EDITOR 1003 +#define IMG_CUSTOM_166 1004 +#define IMG_CUSTOM_166_EDITOR 1005 +#define IMG_CUSTOM_167 1006 +#define IMG_CUSTOM_167_EDITOR 1007 +#define IMG_CUSTOM_168 1008 +#define IMG_CUSTOM_168_EDITOR 1009 +#define IMG_CUSTOM_169 1010 +#define IMG_CUSTOM_169_EDITOR 1011 +#define IMG_CUSTOM_170 1012 +#define IMG_CUSTOM_170_EDITOR 1013 +#define IMG_CUSTOM_171 1014 +#define IMG_CUSTOM_171_EDITOR 1015 +#define IMG_CUSTOM_172 1016 +#define IMG_CUSTOM_172_EDITOR 1017 +#define IMG_CUSTOM_173 1018 +#define IMG_CUSTOM_173_EDITOR 1019 +#define IMG_CUSTOM_174 1020 +#define IMG_CUSTOM_174_EDITOR 1021 +#define IMG_CUSTOM_175 1022 +#define IMG_CUSTOM_175_EDITOR 1023 +#define IMG_CUSTOM_176 1024 +#define IMG_CUSTOM_176_EDITOR 1025 +#define IMG_CUSTOM_177 1026 +#define IMG_CUSTOM_177_EDITOR 1027 +#define IMG_CUSTOM_178 1028 +#define IMG_CUSTOM_178_EDITOR 1029 +#define IMG_CUSTOM_179 1030 +#define IMG_CUSTOM_179_EDITOR 1031 +#define IMG_CUSTOM_180 1032 +#define IMG_CUSTOM_180_EDITOR 1033 +#define IMG_CUSTOM_181 1034 +#define IMG_CUSTOM_181_EDITOR 1035 +#define IMG_CUSTOM_182 1036 +#define IMG_CUSTOM_182_EDITOR 1037 +#define IMG_CUSTOM_183 1038 +#define IMG_CUSTOM_183_EDITOR 1039 +#define IMG_CUSTOM_184 1040 +#define IMG_CUSTOM_184_EDITOR 1041 +#define IMG_CUSTOM_185 1042 +#define IMG_CUSTOM_185_EDITOR 1043 +#define IMG_CUSTOM_186 1044 +#define IMG_CUSTOM_186_EDITOR 1045 +#define IMG_CUSTOM_187 1046 +#define IMG_CUSTOM_187_EDITOR 1047 +#define IMG_CUSTOM_188 1048 +#define IMG_CUSTOM_188_EDITOR 1049 +#define IMG_CUSTOM_189 1050 +#define IMG_CUSTOM_189_EDITOR 1051 +#define IMG_CUSTOM_190 1052 +#define IMG_CUSTOM_190_EDITOR 1053 +#define IMG_CUSTOM_191 1054 +#define IMG_CUSTOM_191_EDITOR 1055 +#define IMG_CUSTOM_192 1056 +#define IMG_CUSTOM_192_EDITOR 1057 +#define IMG_CUSTOM_193 1058 +#define IMG_CUSTOM_193_EDITOR 1059 +#define IMG_CUSTOM_194 1060 +#define IMG_CUSTOM_194_EDITOR 1061 +#define IMG_CUSTOM_195 1062 +#define IMG_CUSTOM_195_EDITOR 1063 +#define IMG_CUSTOM_196 1064 +#define IMG_CUSTOM_196_EDITOR 1065 +#define IMG_CUSTOM_197 1066 +#define IMG_CUSTOM_197_EDITOR 1067 +#define IMG_CUSTOM_198 1068 +#define IMG_CUSTOM_198_EDITOR 1069 +#define IMG_CUSTOM_199 1070 +#define IMG_CUSTOM_199_EDITOR 1071 +#define IMG_CUSTOM_200 1072 +#define IMG_CUSTOM_200_EDITOR 1073 +#define IMG_CUSTOM_201 1074 +#define IMG_CUSTOM_201_EDITOR 1075 +#define IMG_CUSTOM_202 1076 +#define IMG_CUSTOM_202_EDITOR 1077 +#define IMG_CUSTOM_203 1078 +#define IMG_CUSTOM_203_EDITOR 1079 +#define IMG_CUSTOM_204 1080 +#define IMG_CUSTOM_204_EDITOR 1081 +#define IMG_CUSTOM_205 1082 +#define IMG_CUSTOM_205_EDITOR 1083 +#define IMG_CUSTOM_206 1084 +#define IMG_CUSTOM_206_EDITOR 1085 +#define IMG_CUSTOM_207 1086 +#define IMG_CUSTOM_207_EDITOR 1087 +#define IMG_CUSTOM_208 1088 +#define IMG_CUSTOM_208_EDITOR 1089 +#define IMG_CUSTOM_209 1090 +#define IMG_CUSTOM_209_EDITOR 1091 +#define IMG_CUSTOM_210 1092 +#define IMG_CUSTOM_210_EDITOR 1093 +#define IMG_CUSTOM_211 1094 +#define IMG_CUSTOM_211_EDITOR 1095 +#define IMG_CUSTOM_212 1096 +#define IMG_CUSTOM_212_EDITOR 1097 +#define IMG_CUSTOM_213 1098 +#define IMG_CUSTOM_213_EDITOR 1099 +#define IMG_CUSTOM_214 1100 +#define IMG_CUSTOM_214_EDITOR 1101 +#define IMG_CUSTOM_215 1102 +#define IMG_CUSTOM_215_EDITOR 1103 +#define IMG_CUSTOM_216 1104 +#define IMG_CUSTOM_216_EDITOR 1105 +#define IMG_CUSTOM_217 1106 +#define IMG_CUSTOM_217_EDITOR 1107 +#define IMG_CUSTOM_218 1108 +#define IMG_CUSTOM_218_EDITOR 1109 +#define IMG_CUSTOM_219 1110 +#define IMG_CUSTOM_219_EDITOR 1111 +#define IMG_CUSTOM_220 1112 +#define IMG_CUSTOM_220_EDITOR 1113 +#define IMG_CUSTOM_221 1114 +#define IMG_CUSTOM_221_EDITOR 1115 +#define IMG_CUSTOM_222 1116 +#define IMG_CUSTOM_222_EDITOR 1117 +#define IMG_CUSTOM_223 1118 +#define IMG_CUSTOM_223_EDITOR 1119 +#define IMG_CUSTOM_224 1120 +#define IMG_CUSTOM_224_EDITOR 1121 +#define IMG_CUSTOM_225 1122 +#define IMG_CUSTOM_225_EDITOR 1123 +#define IMG_CUSTOM_226 1124 +#define IMG_CUSTOM_226_EDITOR 1125 +#define IMG_CUSTOM_227 1126 +#define IMG_CUSTOM_227_EDITOR 1127 +#define IMG_CUSTOM_228 1128 +#define IMG_CUSTOM_228_EDITOR 1129 +#define IMG_CUSTOM_229 1130 +#define IMG_CUSTOM_229_EDITOR 1131 +#define IMG_CUSTOM_230 1132 +#define IMG_CUSTOM_230_EDITOR 1133 +#define IMG_CUSTOM_231 1134 +#define IMG_CUSTOM_231_EDITOR 1135 +#define IMG_CUSTOM_232 1136 +#define IMG_CUSTOM_232_EDITOR 1137 +#define IMG_CUSTOM_233 1138 +#define IMG_CUSTOM_233_EDITOR 1139 +#define IMG_CUSTOM_234 1140 +#define IMG_CUSTOM_234_EDITOR 1141 +#define IMG_CUSTOM_235 1142 +#define IMG_CUSTOM_235_EDITOR 1143 +#define IMG_CUSTOM_236 1144 +#define IMG_CUSTOM_236_EDITOR 1145 +#define IMG_CUSTOM_237 1146 +#define IMG_CUSTOM_237_EDITOR 1147 +#define IMG_CUSTOM_238 1148 +#define IMG_CUSTOM_238_EDITOR 1149 +#define IMG_CUSTOM_239 1150 +#define IMG_CUSTOM_239_EDITOR 1151 +#define IMG_CUSTOM_240 1152 +#define IMG_CUSTOM_240_EDITOR 1153 +#define IMG_CUSTOM_241 1154 +#define IMG_CUSTOM_241_EDITOR 1155 +#define IMG_CUSTOM_242 1156 +#define IMG_CUSTOM_242_EDITOR 1157 +#define IMG_CUSTOM_243 1158 +#define IMG_CUSTOM_243_EDITOR 1159 +#define IMG_CUSTOM_244 1160 +#define IMG_CUSTOM_244_EDITOR 1161 +#define IMG_CUSTOM_245 1162 +#define IMG_CUSTOM_245_EDITOR 1163 +#define IMG_CUSTOM_246 1164 +#define IMG_CUSTOM_246_EDITOR 1165 +#define IMG_CUSTOM_247 1166 +#define IMG_CUSTOM_247_EDITOR 1167 +#define IMG_CUSTOM_248 1168 +#define IMG_CUSTOM_248_EDITOR 1169 +#define IMG_CUSTOM_249 1170 +#define IMG_CUSTOM_249_EDITOR 1171 +#define IMG_CUSTOM_250 1172 +#define IMG_CUSTOM_250_EDITOR 1173 +#define IMG_CUSTOM_251 1174 +#define IMG_CUSTOM_251_EDITOR 1175 +#define IMG_CUSTOM_252 1176 +#define IMG_CUSTOM_252_EDITOR 1177 +#define IMG_CUSTOM_253 1178 +#define IMG_CUSTOM_253_EDITOR 1179 +#define IMG_CUSTOM_254 1180 +#define IMG_CUSTOM_254_EDITOR 1181 +#define IMG_CUSTOM_255 1182 +#define IMG_CUSTOM_255_EDITOR 1183 +#define IMG_CUSTOM_256 1184 +#define IMG_CUSTOM_256_EDITOR 1185 +#define IMG_TOON_1 1186 +#define IMG_TOON_2 1187 +#define IMG_TOON_3 1188 +#define IMG_TOON_4 1189 +#define IMG_TOON_5 1190 +#define IMG_TOON_6 1191 +#define IMG_TOON_7 1192 +#define IMG_TOON_8 1193 +#define IMG_TOON_9 1194 +#define IMG_TOON_10 1195 +#define IMG_TOON_11 1196 +#define IMG_TOON_12 1197 +#define IMG_TOON_13 1198 +#define IMG_TOON_14 1199 +#define IMG_TOON_15 1200 +#define IMG_TOON_16 1201 +#define IMG_TOON_17 1202 +#define IMG_TOON_18 1203 +#define IMG_TOON_19 1204 +#define IMG_TOON_20 1205 +#define IMG_MENU_CALIBRATE_RED 1206 +#define IMG_MENU_CALIBRATE_BLUE 1207 +#define IMG_MENU_CALIBRATE_YELLOW 1208 +#define IMG_MENU_BUTTON 1209 +#define IMG_MENU_BUTTON_ACTIVE 1210 +#define IMG_MENU_BUTTON_LEFT 1211 +#define IMG_MENU_BUTTON_RIGHT 1212 +#define IMG_MENU_BUTTON_UP 1213 +#define IMG_MENU_BUTTON_DOWN 1214 +#define IMG_MENU_BUTTON_LEFT_ACTIVE 1215 +#define IMG_MENU_BUTTON_RIGHT_ACTIVE 1216 +#define IMG_MENU_BUTTON_UP_ACTIVE 1217 +#define IMG_MENU_BUTTON_DOWN_ACTIVE 1218 +#define IMG_MENU_SCROLLBAR 1219 +#define IMG_MENU_SCROLLBAR_ACTIVE 1220 +#define IMG_FONT_INITIAL_1 1221 +#define IMG_FONT_INITIAL_2 1222 +#define IMG_FONT_INITIAL_3 1223 +#define IMG_FONT_INITIAL_4 1224 +#define IMG_FONT_TITLE_1 1225 +#define IMG_FONT_TITLE_1_LEVELS 1226 +#define IMG_FONT_TITLE_2 1227 +#define IMG_FONT_MENU_1 1228 +#define IMG_FONT_MENU_2 1229 +#define IMG_FONT_TEXT_1 1230 +#define IMG_FONT_TEXT_1_LEVELS 1231 +#define IMG_FONT_TEXT_1_PREVIEW 1232 +#define IMG_FONT_TEXT_1_PLAYING 1233 +#define IMG_FONT_TEXT_1_SCORES 1234 +#define IMG_FONT_TEXT_1_ACTIVE_SCORES 1235 +#define IMG_FONT_TEXT_2 1236 +#define IMG_FONT_TEXT_2_LEVELS 1237 +#define IMG_FONT_TEXT_2_PREVIEW 1238 +#define IMG_FONT_TEXT_2_SCORES 1239 +#define IMG_FONT_TEXT_2_ACTIVE_SCORES 1240 +#define IMG_FONT_TEXT_3 1241 +#define IMG_FONT_TEXT_3_LEVELS 1242 +#define IMG_FONT_TEXT_3_PREVIEW 1243 +#define IMG_FONT_TEXT_3_SCORES 1244 +#define IMG_FONT_TEXT_3_ACTIVE_SCORES 1245 +#define IMG_FONT_TEXT_4 1246 +#define IMG_FONT_TEXT_4_LEVELS 1247 +#define IMG_FONT_TEXT_4_SCORES 1248 +#define IMG_FONT_TEXT_4_ACTIVE_SCORES 1249 +#define IMG_FONT_INPUT_1 1250 +#define IMG_FONT_INPUT_1_MAIN 1251 +#define IMG_FONT_INPUT_1_ACTIVE 1252 +#define IMG_FONT_INPUT_1_ACTIVE_MAIN 1253 +#define IMG_FONT_INPUT_1_ACTIVE_SETUP 1254 +#define IMG_FONT_INPUT_2 1255 +#define IMG_FONT_INPUT_2_ACTIVE 1256 +#define IMG_FONT_OPTION_OFF 1257 +#define IMG_FONT_OPTION_ON 1258 +#define IMG_FONT_VALUE_1 1259 +#define IMG_FONT_VALUE_2 1260 +#define IMG_FONT_VALUE_OLD 1261 +#define IMG_FONT_LEVEL_NUMBER 1262 +#define IMG_FONT_TAPE_RECORDER 1263 +#define IMG_FONT_GAME_INFO 1264 +#define IMG_GLOBAL_BORDER 1265 +#define IMG_GLOBAL_DOOR 1266 +#define IMG_EDITOR_ELEMENT_BORDER 1267 +#define IMG_EDITOR_ELEMENT_BORDER_INPUT 1268 +#define IMG_GAME_ENVELOPE_BACKGROUND 1269 +#define IMG_BACKGROUND 1270 +#define IMG_BACKGROUND_MAIN 1271 +#define IMG_BACKGROUND_LEVELS 1272 +#define IMG_BACKGROUND_SCORES 1273 +#define IMG_BACKGROUND_EDITOR 1274 +#define IMG_BACKGROUND_INFO 1275 +#define IMG_BACKGROUND_SETUP 1276 +#define IMG_BACKGROUND_DOOR 1277 -#define NUM_IMAGE_FILES 1276 +#define NUM_IMAGE_FILES 1278 #endif /* CONF_GFX_H */ diff --git a/src/conf_snd.c b/src/conf_snd.c index 2ec9147c..6597db53 100644 --- a/src/conf_snd.c +++ b/src/conf_snd.c @@ -145,7 +145,7 @@ struct ConfigInfo sound_config[] = { "pearl.impact", "pling.wav" }, { "crystal.collecting", "pong.wav" }, { "crystal.impact", "pling.wav" }, - { "envelope.collecting", "pong.wav" }, + { "[envelope].collecting", "pong.wav" }, { "invisible_sand.digging", "schlurf.wav" }, { "shield_normal.collecting", "pong.wav" }, { "shield_normal.active", UNDEFINED_FILENAME }, diff --git a/src/conf_snd.h b/src/conf_snd.h index 79634e7a..c5b448bd 100644 --- a/src/conf_snd.h +++ b/src/conf_snd.h @@ -120,7 +120,7 @@ #define SND_PEARL_IMPACT 99 #define SND_CRYSTAL_COLLECTING 100 #define SND_CRYSTAL_IMPACT 101 -#define SND_ENVELOPE_COLLECTING 102 +#define SND_CLASS_ENVELOPE_COLLECTING 102 #define SND_INVISIBLE_SAND_DIGGING 103 #define SND_SHIELD_NORMAL_COLLECTING 104 #define SND_SHIELD_NORMAL_ACTIVE 105 diff --git a/src/conftime.h b/src/conftime.h index 65d91c0e..4d1bfbba 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-09-23 01:50]" +#define COMPILE_DATE_STRING "[2003-09-24 18:05]" diff --git a/src/editor.c b/src/editor.c index fe8df680..0fb85a1a 100644 --- a/src/editor.c +++ b/src/editor.c @@ -24,6 +24,9 @@ #include "tape.h" +#define INFOTEXT_UNKNOWN_ELEMENT "unknown" + + /* ----------------------------------------------------------------------------- screen and artwork graphic pixel position definitions @@ -860,7 +863,7 @@ static struct MIN_ENVELOPE_XSIZE, MAX_ENVELOPE_XSIZE, GADGET_ID_ENVELOPE_XSIZE_DOWN, GADGET_ID_ENVELOPE_XSIZE_UP, GADGET_ID_ENVELOPE_XSIZE_TEXT, GADGET_ID_NONE, - &level.envelope_xsize, + NULL, NULL, NULL, "width", }, { @@ -868,7 +871,7 @@ static struct MIN_ENVELOPE_YSIZE, MAX_ENVELOPE_YSIZE, GADGET_ID_ENVELOPE_YSIZE_DOWN, GADGET_ID_ENVELOPE_YSIZE_UP, GADGET_ID_ENVELOPE_YSIZE_TEXT, GADGET_ID_ENVELOPE_XSIZE_UP, - &level.envelope_ysize, + NULL, NULL, " ", "height", }, @@ -996,7 +999,7 @@ static struct ED_SETTINGS_XPOS(0), ED_SETTINGS_YPOS(2), GADGET_ID_ENVELOPE_INFO, MAX_ENVELOPE_XSIZE, MAX_ENVELOPE_YSIZE, - level.envelope, + NULL, "Envelope Info:", "Envelope Info" } }; @@ -1999,10 +2002,17 @@ static int editor_el_emerald_mine[] = EL_AMOEBA_WET, EL_AMOEBA_DRY, +#if 1 + EL_EM_KEY_1, + EL_EM_KEY_2, + EL_EM_KEY_3, + EL_EM_KEY_4, +#else EL_EM_KEY_1_FILE, EL_EM_KEY_2_FILE, EL_EM_KEY_3_FILE, EL_EM_KEY_4_FILE, +#endif EL_EM_GATE_1, EL_EM_GATE_2, @@ -2163,7 +2173,11 @@ static int editor_hl_supaplex[] = static int editor_el_supaplex[] = { +#if 1 + EL_EMPTY, +#else EL_SP_EMPTY, +#endif EL_SP_ZONK, EL_SP_BASE, EL_SP_MURPHY, @@ -2279,7 +2293,12 @@ static int editor_el_diamond_caves[] = EL_SWITCHGATE_OPEN, EL_SWITCHGATE_CLOSED, EL_SWITCHGATE_SWITCH_UP, - EL_ENVELOPE, + EL_EMPTY, + + EL_ENVELOPE_1, + EL_ENVELOPE_2, + EL_ENVELOPE_3, + EL_ENVELOPE_4, EL_TIMEGATE_CLOSED, EL_TIMEGATE_OPEN, @@ -2893,14 +2912,81 @@ editor_elements_info[] = ----------------------------------------------------------------------------- */ +static int getMaxInfoTextLength() +{ + return (SXSIZE / getFontWidth(FONT_TEXT_2)); +} + +static int getTextWidthForGadget(char *text) +{ + if (text == NULL) + return 0; + + return (getTextWidth(text, FONT_TEXT_1) + ED_GADGET_TEXT_DISTANCE); +} + +static int getTextWidthForDrawingArea(char *text) +{ + if (text == NULL) + return 0; + + return (getTextWidth(text, FONT_TEXT_1) + ED_DRAWINGAREA_TEXT_DISTANCE); +} + +static int getRightGadgetBorder(struct GadgetInfo *gi, char *text) +{ + return (gi->x + gi->width + getTextWidthForGadget(text)); +} + +static char *getElementInfoText(int element) +{ + char *info_text = NULL; + + if (element < NUM_FILE_ELEMENTS) + { + if (strlen(element_info[element].description) > 0) + info_text = element_info[element].description; + else if (element_info[element].custom_description != NULL) + info_text = element_info[element].custom_description; + else if (element_info[element].editor_description != NULL) + info_text = element_info[element].editor_description; + } + + if (info_text == NULL) + info_text = INFOTEXT_UNKNOWN_ELEMENT; + + return info_text; +} + static void ReinitializeElementList() { + static boolean initialized = FALSE; int pos = 0; int i, j; if (editor_elements != NULL) free(editor_elements); + /* do some sanity check for each element from element list at startup */ + if (!initialized) + { + for (i=0; editor_elements_info[i].setup_value != NULL; i++) + { + for (j=0; j < *editor_elements_info[i].element_list_size; j++) + { + int element = editor_elements_info[i].element_list[j]; + + if (element >= NUM_FILE_ELEMENTS) + Error(ERR_WARN, "editor element %d is runtime element", element); + + if (strcmp(getElementInfoText(element), INFOTEXT_UNKNOWN_ELEMENT) == 0) + Error(ERR_WARN, "no element description for element %d", element); + } + } + + initialized = TRUE; + } + num_editor_elements = 0; /* determine size of element list */ @@ -2979,56 +3065,6 @@ static void ReinitializeElementListButtons() initialization_needed = FALSE; } -static int getMaxInfoTextLength() -{ - return (SXSIZE / getFontWidth(FONT_TEXT_2)); -} - -static int getTextWidthForGadget(char *text) -{ - if (text == NULL) - return 0; - - return (getTextWidth(text, FONT_TEXT_1) + ED_GADGET_TEXT_DISTANCE); -} - -static int getTextWidthForDrawingArea(char *text) -{ - if (text == NULL) - return 0; - - return (getTextWidth(text, FONT_TEXT_1) + ED_DRAWINGAREA_TEXT_DISTANCE); -} - -static int getRightGadgetBorder(struct GadgetInfo *gi, char *text) -{ - return (gi->x + gi->width + getTextWidthForGadget(text)); -} - -static char *getElementInfoText(int element) -{ - char *info_text = NULL; - - if (element < NUM_FILE_ELEMENTS) - { - if (strlen(element_info[element].description) > 0) - info_text = element_info[element].description; - else if (element_info[element].custom_description != NULL) - info_text = element_info[element].custom_description; - else if (element_info[element].editor_description != NULL) - info_text = element_info[element].editor_description; - } - - if (info_text == NULL) - { - info_text = "unknown"; - - Error(ERR_WARN, "no element description for element %d", element); - } - - return info_text; -} - static void DrawElementBorder(int dest_x, int dest_y, int width, int height, boolean input) { @@ -3285,7 +3321,7 @@ static void CreateControlButtons() } /* create buttons for element list */ - for (i=0; ix, gi->y, gi->width, gi->height); - ModifyGadget(gi, GDI_AREA_SIZE, level.envelope_xsize, level.envelope_ysize, + if (envelope_nr != -1) + textarea_info[id].value = level.envelope_text[envelope_nr]; + + ModifyGadget(gi, GDI_AREA_SIZE, + *counterbutton_info[ED_COUNTER_ID_ENVELOPE_XSIZE].value, + *counterbutton_info[ED_COUNTER_ID_ENVELOPE_YSIZE].value, GDI_END); + MapTextAreaGadget(ED_TEXTAREA_ID_ENVELOPE_INFO); } @@ -5467,10 +5509,17 @@ static struct { EL_KEY_2, &level.score[SC_KEY], TEXT_COLLECTING }, { EL_KEY_3, &level.score[SC_KEY], TEXT_COLLECTING }, { EL_KEY_4, &level.score[SC_KEY], TEXT_COLLECTING }, +#if 1 + { EL_EM_KEY_1, &level.score[SC_KEY], TEXT_COLLECTING }, + { EL_EM_KEY_2, &level.score[SC_KEY], TEXT_COLLECTING }, + { EL_EM_KEY_3, &level.score[SC_KEY], TEXT_COLLECTING }, + { EL_EM_KEY_4, &level.score[SC_KEY], TEXT_COLLECTING }, +#else { EL_EM_KEY_1_FILE, &level.score[SC_KEY], TEXT_COLLECTING }, { EL_EM_KEY_2_FILE, &level.score[SC_KEY], TEXT_COLLECTING }, { EL_EM_KEY_3_FILE, &level.score[SC_KEY], TEXT_COLLECTING }, { EL_EM_KEY_4_FILE, &level.score[SC_KEY], TEXT_COLLECTING }, +#endif { EL_AMOEBA_WET, &level.amoeba_speed, TEXT_SPEED }, { EL_AMOEBA_DRY, &level.amoeba_speed, TEXT_SPEED }, { EL_AMOEBA_FULL, &level.amoeba_speed, TEXT_SPEED }, @@ -5486,8 +5535,8 @@ static boolean checkPropertiesConfig() if (IS_GEM(properties_element) || IS_CUSTOM_ELEMENT(properties_element) || - HAS_CONTENT(properties_element) || - properties_element == EL_ENVELOPE) + IS_ENVELOPE(properties_element) || + HAS_CONTENT(properties_element)) return TRUE; else for (i=0; elements_with_counter[i].element != -1; i++) @@ -5539,13 +5588,20 @@ static void DrawPropertiesConfig() if (IS_GEM(properties_element)) MapCheckbuttonGadget(ED_CHECKBUTTON_ID_EM_SLIPPERY_GEMS); - if (properties_element == EL_ENVELOPE) + if (IS_ENVELOPE(properties_element)) { + int counter1_id = ED_COUNTER_ID_ENVELOPE_XSIZE; + int counter2_id = ED_COUNTER_ID_ENVELOPE_YSIZE; + int envelope_nr = properties_element - EL_ENVELOPE_1; + + counterbutton_info[counter1_id].value = &level.envelope_xsize[envelope_nr]; + counterbutton_info[counter2_id].value = &level.envelope_ysize[envelope_nr]; + /* display counter to choose size of envelope text area */ MapCounterButtons(ED_COUNTER_ID_ENVELOPE_XSIZE); MapCounterButtons(ED_COUNTER_ID_ENVELOPE_YSIZE); - DrawEnvelopeTextArea(); + DrawEnvelopeTextArea(envelope_nr); } if (IS_CUSTOM_ELEMENT(properties_element)) @@ -6661,7 +6717,7 @@ static void HandleCounterButtons(struct GadgetInfo *gi) case ED_COUNTER_ID_ENVELOPE_XSIZE: case ED_COUNTER_ID_ENVELOPE_YSIZE: - DrawEnvelopeTextArea(); + DrawEnvelopeTextArea(-1); break; case ED_COUNTER_ID_LEVEL_XSIZE: diff --git a/src/files.c b/src/files.c index 64c1c632..ef7fa51f 100644 --- a/src/files.c +++ b/src/files.c @@ -143,9 +143,12 @@ static void setLevelInfoToDefaults(struct LevelInfo *level) strcpy(level->name, NAMELESS_LEVEL_NAME); strcpy(level->author, ANONYMOUS_NAME); - level->envelope[0] = '\0'; - level->envelope_xsize = MAX_ENVELOPE_XSIZE; - level->envelope_ysize = MAX_ENVELOPE_YSIZE; + for (i=0; i<4; i++) + { + level->envelope_text[i][0] = '\0'; + level->envelope_xsize[i] = MAX_ENVELOPE_XSIZE; + level->envelope_ysize[i] = MAX_ENVELOPE_YSIZE; + } for(i=0; iscore[i] = 10; @@ -274,15 +277,63 @@ boolean LevelFileExists(int level_nr) static int checkLevelElement(int element) { + /* map some (historic, now obsolete) elements */ + +#if 1 + switch (element) + { + case EL_PLAYER_OBSOLETE: + element = EL_PLAYER_1; + break; + + case EL_KEY_OBSOLETE: + element = EL_KEY_1; + + case EL_EM_KEY_1_FILE_OBSOLETE: + element = EL_EM_KEY_1; + break; + + case EL_EM_KEY_2_FILE_OBSOLETE: + element = EL_EM_KEY_2; + break; + + case EL_EM_KEY_3_FILE_OBSOLETE: + element = EL_EM_KEY_3; + break; + + case EL_EM_KEY_4_FILE_OBSOLETE: + element = EL_EM_KEY_4; + break; + + case EL_ENVELOPE_OBSOLETE: + element = EL_ENVELOPE_1; + break; + + case EL_SP_EMPTY: + element = EL_EMPTY; + break; + + default: + if (element >= NUM_FILE_ELEMENTS) + { + Error(ERR_WARN, "invalid level element %d", element); + + element = EL_CHAR_QUESTION; + } + break; + } +#else if (element >= NUM_FILE_ELEMENTS) { Error(ERR_WARN, "invalid level element %d", element); + element = EL_CHAR_QUESTION; } else if (element == EL_PLAYER_OBSOLETE) element = EL_PLAYER_1; else if (element == EL_KEY_OBSOLETE) element = EL_KEY_1; +#endif return element; } @@ -460,13 +511,20 @@ static int LoadLevel_CNT3(FILE *file, int chunk_size, struct LevelInfo *level) { int i; int element; + int envelope_nr; int envelope_len; int chunk_size_expected; element = checkLevelElement(getFile16BitBE(file)); + if (!IS_ENVELOPE(element)) + element = EL_ENVELOPE_1; + + envelope_nr = element - EL_ENVELOPE_1; + envelope_len = getFile16BitBE(file); - level->envelope_xsize = getFile8Bit(file); - level->envelope_ysize = getFile8Bit(file); + + level->envelope_xsize[envelope_nr] = getFile8Bit(file); + level->envelope_ysize[envelope_nr] = getFile8Bit(file); ReadUnusedBytesFromFile(file, LEVEL_CHUNK_CNT3_UNUSED); @@ -479,7 +537,7 @@ static int LoadLevel_CNT3(FILE *file, int chunk_size, struct LevelInfo *level) } for(i=0; i < envelope_len; i++) - level->envelope[i] = getFile8Bit(file); + level->envelope_text[envelope_nr][i] = getFile8Bit(file); return chunk_size; } @@ -1363,17 +1421,18 @@ static void SaveLevel_CNT2(FILE *file, struct LevelInfo *level, int element) static void SaveLevel_CNT3(FILE *file, struct LevelInfo *level, int element) { int i; - int envelope_len = strlen(level->envelope) + 1; + int envelope_nr = element - EL_ENVELOPE_1; + int envelope_len = strlen(level->envelope_text[envelope_nr]) + 1; putFile16BitBE(file, element); putFile16BitBE(file, envelope_len); - putFile8Bit(file, level->envelope_xsize); - putFile8Bit(file, level->envelope_ysize); + putFile8Bit(file, level->envelope_xsize[envelope_nr]); + putFile8Bit(file, level->envelope_ysize[envelope_nr]); WriteUnusedBytesToFile(file, LEVEL_CHUNK_CNT3_UNUSED); for(i=0; i < envelope_len; i++) - putFile8Bit(file, level->envelope[i]); + putFile8Bit(file, level->envelope_text[envelope_nr][i]); } #if 0 @@ -1663,12 +1722,15 @@ static void SaveLevelFromFilename(struct LevelInfo *level, char *filename) } /* check for envelope content */ - if (strlen(level->envelope) > 0) + for (i=0; i<4; i++) { - int envelope_len = strlen(level->envelope) + 1; + if (strlen(level->envelope_text[i]) > 0) + { + int envelope_len = strlen(level->envelope_text[i]) + 1; - putFileChunkBE(file, "CNT3", LEVEL_CHUNK_CNT3_HEADER + envelope_len); - SaveLevel_CNT3(file, level, EL_ENVELOPE); + putFileChunkBE(file, "CNT3", LEVEL_CHUNK_CNT3_HEADER + envelope_len); + SaveLevel_CNT3(file, level, EL_ENVELOPE_1 + i); + } } /* check for non-default custom elements (unless using template level) */ @@ -2749,6 +2811,20 @@ void LoadCustomElementDescriptions() freeSetupFileHash(setup_file_hash); } +static int get_special_integer_from_string(char *string_raw) +{ + char *string = getStringToLower(string_raw); + int value = (strcmp(string, "none") == 0 ? 0 : + strcmp(string, "short") == 0 ? 1 : + strcmp(string, "full") == 0 ? 2 : + strcmp(string, "default") == 0 ? 0 : + strcmp(string, "curtain") == 0 ? 1 : -1); + + free(string); + + return value; +} + void LoadSpecialMenuDesignSettings() { char *filename = getCustomArtworkConfigFilename(ARTWORK_TYPE_GRAPHICS); @@ -2759,8 +2835,15 @@ void LoadSpecialMenuDesignSettings() for (i=0; image_config_vars[i].token != NULL; i++) for (j=0; image_config[j].token != NULL; j++) if (strcmp(image_config_vars[i].token, image_config[j].token) == 0) - *image_config_vars[i].value = - get_integer_from_string(image_config[j].value); + { + if (strcmp(image_config_vars[i].token, "game.envelope.anim_mode") == 0 + || strcmp(image_config_vars[i].token, "door.anim_mode") == 0) + *image_config_vars[i].value = + get_special_integer_from_string(image_config[j].value); + else + *image_config_vars[i].value = + get_integer_from_string(image_config[j].value); + } if ((setup_file_hash = loadSetupFileHash(filename)) == NULL) return; @@ -2786,7 +2869,13 @@ void LoadSpecialMenuDesignSettings() char *value = getHashEntry(setup_file_hash, image_config_vars[i].token); if (value != NULL) - *image_config_vars[i].value = get_integer_from_string(value); + { + if (strcmp(image_config_vars[i].token, "game.envelope.anim_mode") == 0 + || strcmp(image_config_vars[i].token, "door.anim_mode") == 0) + *image_config_vars[i].value = get_special_integer_from_string(value); + else + *image_config_vars[i].value = get_integer_from_string(value); + } } freeSetupFileHash(setup_file_hash); diff --git a/src/game.c b/src/game.c index 05325ad7..71aab9a6 100644 --- a/src/game.c +++ b/src/game.c @@ -658,10 +658,13 @@ static void InitField(int x, int y, boolean init_game) MovDir[x][y] = 1 << RND(4); break; +#if 0 case EL_SP_EMPTY: Feld[x][y] = EL_EMPTY; break; +#endif +#if 0 case EL_EM_KEY_1_FILE: Feld[x][y] = EL_EM_KEY_1; break; @@ -674,6 +677,7 @@ static void InitField(int x, int y, boolean init_game) case EL_EM_KEY_4_FILE: Feld[x][y] = EL_EM_KEY_4; break; +#endif case EL_CONVEYOR_BELT_1_SWITCH_LEFT: case EL_CONVEYOR_BELT_1_SWITCH_MIDDLE: @@ -802,7 +806,7 @@ static void InitGameEngine() ei->change_events = CE_BITMASK_DEFAULT; for (j=0; j < NUM_CHANGE_EVENTS; j++) { - ei->event_page_num[j] = 0; + ei->event_page_nr[j] = 0; ei->event_page[j] = &ei->change_page[0]; } } @@ -841,7 +845,7 @@ static void InitGameEngine() !(ei->change_events & CH_EVENT_BIT(k))) { ei->change_events |= CH_EVENT_BIT(k); - ei->event_page_num[k] = j; + ei->event_page_nr[k] = j; ei->event_page[k] = &ei->change_page[j]; } } @@ -1024,7 +1028,7 @@ void InitGame() player->is_digging = FALSE; player->is_collecting = FALSE; - player->show_envelope = FALSE; + player->show_envelope = 0; player->move_delay = game.initial_move_delay; player->move_delay_value = game.initial_move_delay_value; @@ -4418,12 +4422,14 @@ void ContinueMoving(int x, int y) /* copy element change control values to new field */ ChangeDelay[newx][newy] = ChangeDelay[x][y]; +#if 1 Changed[newx][newy] = Changed[x][y]; ChangeEvent[newx][newy] = ChangeEvent[x][y]; ChangeDelay[x][y] = 0; Changed[x][y] = CE_BITMASK_DEFAULT; ChangeEvent[x][y] = CE_BITMASK_DEFAULT; +#endif /* copy animation control values to new field */ GfxFrame[newx][newy] = GfxFrame[x][y]; @@ -5545,6 +5551,16 @@ static void ChangeElement(int x, int y, int page) int element = MovingOrBlocked2Element(x, y); struct ElementChangeInfo *change = &element_info[element].change_page[page]; +#ifdef DEBUG + if (!CAN_CHANGE(element)) + { + printf("\n\n\n"); + printf("ChangeElement(): element = %d\n", element); + printf("Explode(): This should never happen!\n"); + printf("\n\n\n"); + } +#endif + if (ChangeDelay[x][y] == 0) /* initialize element change */ { ChangeDelay[x][y] = ( change->delay_fixed * change->delay_frames + @@ -5663,7 +5679,7 @@ static boolean CheckElementSideChange(int x, int y, int element, int side, } if (page < 0) - page = element_info[element].event_page_num[trigger_event]; + page = element_info[element].event_page_nr[trigger_event]; if (!(element_info[element].change_page[page].sides & side)) return FALSE; @@ -5946,7 +5962,7 @@ void GameActions() /* this may take place after moving, so 'element' may have changed */ if (IS_CHANGING(x, y)) { - ChangeElement(x, y, element_info[element].event_page_num[CE_DELAY]); + ChangeElement(x, y, element_info[element].event_page_nr[CE_DELAY]); element = Feld[x][y]; graphic = el_act_dir2img(element, GfxAction[x][y], MovDir[x][y]); } @@ -6284,11 +6300,11 @@ void GameActions() #endif #if 1 - if (local_player->show_envelope && local_player->MovPos == 0) + if (local_player->show_envelope != 0 && local_player->MovPos == 0) { - ShowEnvelope(); + ShowEnvelope(local_player->show_envelope - EL_ENVELOPE_1); - local_player->show_envelope = FALSE; + local_player->show_envelope = 0; } #endif } @@ -7681,12 +7697,12 @@ int DigField(struct PlayerInfo *player, el2edimg(EL_KEY_1 + key_nr)); redraw_mask |= REDRAW_DOOR_1; } - else if (element == EL_ENVELOPE) + else if (IS_ENVELOPE(element)) { #if 1 - player->show_envelope = TRUE; + player->show_envelope = element; #else - ShowEnvelope(); + ShowEnvelope(element - EL_ENVELOPE_1); #endif } else if (IS_DROPPABLE(element)) /* can be collected and dropped */ diff --git a/src/init.c b/src/init.c index 93aceacd..3c91f4f5 100644 --- a/src/init.c +++ b/src/init.c @@ -1363,7 +1363,10 @@ void InitElementPropertiesStatic() EL_SHIELD_NORMAL, EL_SHIELD_DEADLY, EL_EXTRA_TIME, - EL_ENVELOPE, + EL_ENVELOPE_1, + EL_ENVELOPE_2, + EL_ENVELOPE_3, + EL_ENVELOPE_4, EL_SPEED_PILL, -1 }; @@ -1904,6 +1907,9 @@ void InitElementPropertiesStatic() static int ep_sp_element[] = { + /* should always be valid */ + EL_EMPTY, + EL_SP_EMPTY, EL_SP_ZONK, EL_SP_BASE, diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 4d8abb26..e8ae45f2 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -2401,6 +2401,7 @@ void LoadLevelArtworkInfo() LoadArtworkInfoFromLevelInfo(&artwork.mus_first, leveldir_first); /* needed for reloading level artwork not known at ealier stage */ + if (strcmp(artwork.gfx_current_identifier, setup.graphics_set) != 0) { artwork.gfx_current = diff --git a/src/libgame/system.h b/src/libgame/system.h index 73ec0f79..a48ccf05 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -126,6 +126,12 @@ #define ANIM_RANDOM (1 << 4) #define ANIM_REVERSE (1 << 5) +#if 0 +/* values for special animation modes */ +#define ANIM_DEFAULT (1 << 6) +#define ANIM_QUICK (1 << 7) +#define ANIM_SPECIAL1 (1 << 8) +#endif /* values for redraw_mask */ #define REDRAW_NONE (0) diff --git a/src/main.c b/src/main.c index f5f60a7b..f3c946f4 100644 --- a/src/main.c +++ b/src/main.c @@ -140,8 +140,8 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = }, { "key_obsolete", - "key", - "key" + "obsolete", + "key (OBSOLETE)" }, { "emerald", @@ -155,8 +155,8 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = }, { "player_obsolete", - "player", - "player" + "obsolete", + "player (OBSOLETE)" }, { "bug", @@ -700,9 +700,9 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = "fire breathing dragon" }, { - "em_key_1_file", - "key", - "red key (EM style)" + "em_key_1_file_obsolete", + "obsolete", + "key (OBSOLETE)" }, { "char_space", @@ -1140,19 +1140,19 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = "blue door (EM style)" }, { - "em_key_2_file", - "key", - "yellow key (EM style)" + "em_key_2_file_obsolete", + "obsolete", + "key (OBSOLETE)" }, { - "em_key_3_file", - "key", - "green key (EM style)" + "em_key_3_file_obsolete", + "obsolete", + "key (OBSOLETE)" }, { - "em_key_4_file", - "key", - "blue key (EM style)" + "em_key_4_file_obsolete", + "obsolete", + "key (OBSOLETE)" }, { "sp_empty_space", @@ -1585,9 +1585,9 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = "land mine" }, { - "envelope", - "envelope", - "mail envelope" + "envelope_obsolete", + "obsolete", + "envelope (OBSOLETE)" }, { "light_switch", @@ -3184,31 +3184,51 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS + 1] = "custom", "custom element 256" }, - - /* ----------------------------------------------------------------------- */ - /* "real" (and therefore drawable) runtime elements */ - /* ----------------------------------------------------------------------- */ - { "em_key_1", "key", - "-" + "red key (EM style)" }, { "em_key_2", "key", - "-" + "yellow key (EM style)" }, { "em_key_3", "key", - "-" + "green key (EM style)" }, { "em_key_4", "key", - "-" + "blue key (EM style)" + }, + { + "envelope_1", + "envelope", + "mail envelope 1" }, + { + "envelope_2", + "envelope", + "mail envelope 2" + }, + { + "envelope_3", + "envelope", + "mail envelope 3" + }, + { + "envelope_4", + "envelope", + "mail envelope 4" + }, + + /* ----------------------------------------------------------------------- */ + /* "real" (and therefore drawable) runtime elements */ + /* ----------------------------------------------------------------------- */ + { "dynabomb_player_1_active", "dynabomb", @@ -3729,6 +3749,9 @@ struct TokenIntPtrInfo image_config_vars[] = { "door.step_offset", &door.step_offset }, { "door.step_delay", &door.step_delay }, + { "door.anim_mode", &door.anim_mode }, + + { "game.envelope.anim_mode", &game.envelope.anim_mode }, { NULL, NULL, } }; diff --git a/src/main.h b/src/main.h index bfb43280..9739a87c 100644 --- a/src/main.h +++ b/src/main.h @@ -173,8 +173,8 @@ #define CE_OTHER_GETS_PUSHED 13 #define CE_OTHER_GETS_COLLECTED 14 #define CE_OTHER_GETS_DROPPED 15 -#define CE_BY_PLAYER 16 /* obsolete; map'd to CE_BY_DIRECT_ACTION */ -#define CE_BY_COLLISION 17 /* obsolete; map'd to CE_BY_DIRECT_ACTION */ +#define CE_BY_PLAYER 16 /* obsolete; now CE_BY_DIRECT_ACTION */ +#define CE_BY_COLLISION 17 /* obsolete; now CE_BY_DIRECT_ACTION */ #define CE_BY_OTHER_ACTION 18 /* activates other element events */ #define CE_BY_DIRECT_ACTION 19 /* activates direct element events */ #define CE_OTHER_GETS_DIGGED 20 @@ -323,6 +323,9 @@ #define IS_CUSTOM_ELEMENT(e) ((e) >= EL_CUSTOM_START && \ (e) <= EL_CUSTOM_END) +#define IS_ENVELOPE(e) ((e) >= EL_ENVELOPE_1 && \ + (e) <= EL_ENVELOPE_4) + #define GFX_ELEMENT(e) (element_info[e].use_gfx_element ? \ element_info[e].gfx_element : e) @@ -448,10 +451,10 @@ #define EL_WALL 2 #define EL_WALL_SLIPPERY 3 #define EL_ROCK 4 -#define EL_KEY_OBSOLETE 5 /* obsolete; mapped to EL_KEY_1 */ +#define EL_KEY_OBSOLETE 5 /* obsolete; now EL_KEY_1 */ #define EL_EMERALD 6 #define EL_EXIT_CLOSED 7 -#define EL_PLAYER_OBSOLETE 8 /* obsolete; mapped to EL_PLAYER_1 */ +#define EL_PLAYER_OBSOLETE 8 /* obsolete; now EL_PLAYER_1 */ #define EL_BUG 9 #define EL_SPACESHIP 10 #define EL_YAMYAM 11 @@ -573,7 +576,7 @@ #define EL_PIG 117 #define EL_DRAGON 118 -#define EL_EM_KEY_1_FILE 119 +#define EL_EM_KEY_1_FILE_OBSOLETE 119 /* obsolete; now EL_EM_KEY_1 */ #define EL_CHAR_START 120 #define EL_CHAR_ASCII0 (EL_CHAR_START - 32) @@ -595,9 +598,9 @@ #define EL_EM_GATE_3 205 #define EL_EM_GATE_4 206 -#define EL_EM_KEY_2_FILE 207 -#define EL_EM_KEY_3_FILE 208 -#define EL_EM_KEY_4_FILE 209 +#define EL_EM_KEY_2_FILE_OBSOLETE 207 /* obsolete; now EL_EM_KEY_2 */ +#define EL_EM_KEY_3_FILE_OBSOLETE 208 /* obsolete; now EL_EM_KEY_3 */ +#define EL_EM_KEY_4_FILE_OBSOLETE 209 /* obsolete; now EL_EM_KEY_4 */ #define EL_SP_START 210 #define EL_SP_EMPTY_SPACE (EL_SP_START + 0) @@ -693,7 +696,7 @@ #define EL_CONVEYOR_BELT_4_SWITCH_MIDDLE 293 #define EL_CONVEYOR_BELT_4_SWITCH_RIGHT 294 #define EL_LANDMINE 295 -#define EL_ENVELOPE 296 +#define EL_ENVELOPE_OBSOLETE 296 /* obsolete; now EL_ENVELOPE_1 */ #define EL_LIGHT_SWITCH 297 #define EL_LIGHT_SWITCH_ACTIVE 298 #define EL_SIGN_EXCLAMATION 299 @@ -764,69 +767,76 @@ #define EL_UNUSED_358 358 #define EL_UNUSED_359 359 +/* ---------- begin of custom elements section ----------------------------- */ #define EL_CUSTOM_START 360 #include "conf_cus.h" /* include auto-generated data structure definitions */ #define NUM_CUSTOM_ELEMENTS 256 +#define EL_CUSTOM_END 615 +/* ---------- end of custom elements section ------------------------------- */ + +#define EL_EM_KEY_1 616 +#define EL_EM_KEY_2 617 +#define EL_EM_KEY_3 618 +#define EL_EM_KEY_4 619 +#define EL_ENVELOPE_1 620 +#define EL_ENVELOPE_2 621 +#define EL_ENVELOPE_3 622 +#define EL_ENVELOPE_4 623 -#define EL_CUSTOM_END (EL_CUSTOM_START + NUM_CUSTOM_ELEMENTS - 1) -#define NUM_FILE_ELEMENTS (EL_CUSTOM_START + NUM_CUSTOM_ELEMENTS) +#define NUM_FILE_ELEMENTS 624 /* "real" (and therefore drawable) runtime elements */ #define EL_FIRST_RUNTIME_REAL NUM_FILE_ELEMENTS -#define EL_EM_KEY_1 (EL_FIRST_RUNTIME_REAL + 0) -#define EL_EM_KEY_2 (EL_FIRST_RUNTIME_REAL + 1) -#define EL_EM_KEY_3 (EL_FIRST_RUNTIME_REAL + 2) -#define EL_EM_KEY_4 (EL_FIRST_RUNTIME_REAL + 3) -#define EL_DYNABOMB_PLAYER_1_ACTIVE (EL_FIRST_RUNTIME_REAL + 4) -#define EL_DYNABOMB_PLAYER_2_ACTIVE (EL_FIRST_RUNTIME_REAL + 5) -#define EL_DYNABOMB_PLAYER_3_ACTIVE (EL_FIRST_RUNTIME_REAL + 6) -#define EL_DYNABOMB_PLAYER_4_ACTIVE (EL_FIRST_RUNTIME_REAL + 7) -#define EL_SP_DISK_RED_ACTIVE (EL_FIRST_RUNTIME_REAL + 8) -#define EL_SWITCHGATE_OPENING (EL_FIRST_RUNTIME_REAL + 9) -#define EL_SWITCHGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 10) -#define EL_TIMEGATE_OPENING (EL_FIRST_RUNTIME_REAL + 11) -#define EL_TIMEGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 12) -#define EL_PEARL_BREAKING (EL_FIRST_RUNTIME_REAL + 13) -#define EL_TRAP_ACTIVE (EL_FIRST_RUNTIME_REAL + 14) -#define EL_INVISIBLE_STEELWALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 15) -#define EL_INVISIBLE_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 16) -#define EL_INVISIBLE_SAND_ACTIVE (EL_FIRST_RUNTIME_REAL + 17) -#define EL_CONVEYOR_BELT_1_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 18) -#define EL_CONVEYOR_BELT_1_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 19) -#define EL_CONVEYOR_BELT_1_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 20) -#define EL_CONVEYOR_BELT_2_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 21) -#define EL_CONVEYOR_BELT_2_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 22) -#define EL_CONVEYOR_BELT_2_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 23) -#define EL_CONVEYOR_BELT_3_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 24) -#define EL_CONVEYOR_BELT_3_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 25) -#define EL_CONVEYOR_BELT_3_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 26) -#define EL_CONVEYOR_BELT_4_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 27) -#define EL_CONVEYOR_BELT_4_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 28) -#define EL_CONVEYOR_BELT_4_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 29) -#define EL_EXIT_OPENING (EL_FIRST_RUNTIME_REAL + 30) -#define EL_EXIT_CLOSING (EL_FIRST_RUNTIME_REAL + 31) -#define EL_SP_EXIT_OPEN (EL_FIRST_RUNTIME_REAL + 32) -#define EL_SP_TERMINAL_ACTIVE (EL_FIRST_RUNTIME_REAL + 33) -#define EL_SP_BUGGY_BASE_ACTIVATING (EL_FIRST_RUNTIME_REAL + 34) -#define EL_SP_BUGGY_BASE_ACTIVE (EL_FIRST_RUNTIME_REAL + 35) -#define EL_SP_MURPHY_CLONE (EL_FIRST_RUNTIME_REAL + 36) -#define EL_AMOEBA_DROPPING (EL_FIRST_RUNTIME_REAL + 37) -#define EL_QUICKSAND_EMPTYING (EL_FIRST_RUNTIME_REAL + 38) -#define EL_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 39) -#define EL_BD_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 40) -#define EL_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 41) -#define EL_BD_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 42) -#define EL_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 43) -#define EL_BD_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 44) -#define EL_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 45) -#define EL_BD_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 46) +#define EL_DYNABOMB_PLAYER_1_ACTIVE (EL_FIRST_RUNTIME_REAL + 0) +#define EL_DYNABOMB_PLAYER_2_ACTIVE (EL_FIRST_RUNTIME_REAL + 1) +#define EL_DYNABOMB_PLAYER_3_ACTIVE (EL_FIRST_RUNTIME_REAL + 2) +#define EL_DYNABOMB_PLAYER_4_ACTIVE (EL_FIRST_RUNTIME_REAL + 3) +#define EL_SP_DISK_RED_ACTIVE (EL_FIRST_RUNTIME_REAL + 4) +#define EL_SWITCHGATE_OPENING (EL_FIRST_RUNTIME_REAL + 5) +#define EL_SWITCHGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 6) +#define EL_TIMEGATE_OPENING (EL_FIRST_RUNTIME_REAL + 7) +#define EL_TIMEGATE_CLOSING (EL_FIRST_RUNTIME_REAL + 8) +#define EL_PEARL_BREAKING (EL_FIRST_RUNTIME_REAL + 9) +#define EL_TRAP_ACTIVE (EL_FIRST_RUNTIME_REAL + 10) +#define EL_INVISIBLE_STEELWALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 11) +#define EL_INVISIBLE_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 12) +#define EL_INVISIBLE_SAND_ACTIVE (EL_FIRST_RUNTIME_REAL + 13) +#define EL_CONVEYOR_BELT_1_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 14) +#define EL_CONVEYOR_BELT_1_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 15) +#define EL_CONVEYOR_BELT_1_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 16) +#define EL_CONVEYOR_BELT_2_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 17) +#define EL_CONVEYOR_BELT_2_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 18) +#define EL_CONVEYOR_BELT_2_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 19) +#define EL_CONVEYOR_BELT_3_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 20) +#define EL_CONVEYOR_BELT_3_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 21) +#define EL_CONVEYOR_BELT_3_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 22) +#define EL_CONVEYOR_BELT_4_LEFT_ACTIVE (EL_FIRST_RUNTIME_REAL + 23) +#define EL_CONVEYOR_BELT_4_MIDDLE_ACTIVE (EL_FIRST_RUNTIME_REAL + 24) +#define EL_CONVEYOR_BELT_4_RIGHT_ACTIVE (EL_FIRST_RUNTIME_REAL + 25) +#define EL_EXIT_OPENING (EL_FIRST_RUNTIME_REAL + 26) +#define EL_EXIT_CLOSING (EL_FIRST_RUNTIME_REAL + 27) +#define EL_SP_EXIT_OPEN (EL_FIRST_RUNTIME_REAL + 28) +#define EL_SP_TERMINAL_ACTIVE (EL_FIRST_RUNTIME_REAL + 29) +#define EL_SP_BUGGY_BASE_ACTIVATING (EL_FIRST_RUNTIME_REAL + 30) +#define EL_SP_BUGGY_BASE_ACTIVE (EL_FIRST_RUNTIME_REAL + 31) +#define EL_SP_MURPHY_CLONE (EL_FIRST_RUNTIME_REAL + 32) +#define EL_AMOEBA_DROPPING (EL_FIRST_RUNTIME_REAL + 33) +#define EL_QUICKSAND_EMPTYING (EL_FIRST_RUNTIME_REAL + 34) +#define EL_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 35) +#define EL_BD_MAGIC_WALL_ACTIVE (EL_FIRST_RUNTIME_REAL + 36) +#define EL_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 37) +#define EL_BD_MAGIC_WALL_FULL (EL_FIRST_RUNTIME_REAL + 38) +#define EL_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 39) +#define EL_BD_MAGIC_WALL_EMPTYING (EL_FIRST_RUNTIME_REAL + 40) +#define EL_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 41) +#define EL_BD_MAGIC_WALL_DEAD (EL_FIRST_RUNTIME_REAL + 42) /* "unreal" (and therefore not drawable) runtime elements */ -#define EL_FIRST_RUNTIME_UNREAL (EL_FIRST_RUNTIME_REAL + 47) +#define EL_FIRST_RUNTIME_UNREAL (EL_FIRST_RUNTIME_REAL + 43) #define EL_BLOCKED (EL_FIRST_RUNTIME_UNREAL + 0) #define EL_EXPLOSION (EL_FIRST_RUNTIME_UNREAL + 1) @@ -1070,6 +1080,31 @@ #define EMU_SOKOBAN 2 #define EMU_SUPAPLEX 3 +struct MenuInfo +{ + int draw_xoffset_default; + int draw_yoffset_default; + int draw_xoffset[NUM_SPECIAL_GFX_ARGS]; + int draw_yoffset[NUM_SPECIAL_GFX_ARGS]; + + int scrollbar_xoffset; + + int list_size_default; + int list_size[NUM_SPECIAL_GFX_ARGS]; +}; + +struct DoorInfo +{ + int step_offset; + int step_delay; + int anim_mode; +}; + +struct EnvelopeInfo +{ + int anim_mode; +}; + struct HiScore { char Name[MAX_PLAYER_NAME_LEN + 1]; @@ -1111,7 +1146,7 @@ struct PlayerInfo boolean is_digging; boolean is_collecting; - boolean show_envelope; + int show_envelope; unsigned long move_delay; int move_delay_value; @@ -1149,8 +1184,8 @@ struct LevelInfo int gems_needed; char name[MAX_LEVEL_NAME_LEN + 1]; char author[MAX_LEVEL_AUTHOR_LEN + 1]; - char envelope[MAX_ENVELOPE_TEXT_LEN + 1]; - int envelope_xsize, envelope_ysize; + char envelope_text[4][MAX_ENVELOPE_TEXT_LEN + 1]; + int envelope_xsize[4], envelope_ysize[4]; int score[LEVEL_SCORE_ELEMENTS]; int yamyam_content[MAX_ELEMENT_CONTENTS][3][3]; int num_yamyam_contents; @@ -1212,6 +1247,8 @@ struct GameInfo int initial_move_delay; int initial_move_delay_value; + struct EnvelopeInfo envelope; + /* variable within running game */ int yamyam_content_nr; boolean magic_wall_active; @@ -1237,25 +1274,6 @@ struct GlobalInfo int fps_slowdown_factor; }; -struct MenuInfo -{ - int draw_xoffset_default; - int draw_yoffset_default; - int draw_xoffset[NUM_SPECIAL_GFX_ARGS]; - int draw_yoffset[NUM_SPECIAL_GFX_ARGS]; - - int scrollbar_xoffset; - - int list_size_default; - int list_size[NUM_SPECIAL_GFX_ARGS]; -}; - -struct DoorInfo -{ - int step_offset; - int step_delay; -}; - struct ElementChangeInfo { boolean can_change; /* use or ignore this change info */ @@ -1348,7 +1366,7 @@ struct ElementInfo unsigned long change_events; /* bitfield for combined change events */ - int event_page_num[NUM_CHANGE_EVENTS]; /* page number for each event */ + int event_page_nr[NUM_CHANGE_EVENTS]; /* page number for each event */ struct ElementChangeInfo *event_page[NUM_CHANGE_EVENTS]; /* page for event */ /* ---------- internal values used in level editor ---------- */ diff --git a/src/tools.c b/src/tools.c index acf2e3e4..61210a5a 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1644,7 +1644,7 @@ void DrawEnvelopeBackground(int dst_x, int dst_y, int ex, int ey, int font_nr) } #endif -void ShowEnvelope() +void ShowEnvelope(int envelope_nr) { int graphic = IMG_GAME_ENVELOPE_BACKGROUND; boolean draw_masked = graphic_info[graphic].draw_masked; @@ -1655,47 +1655,54 @@ void ShowEnvelope() boolean ffwd_delay = (tape.playing && tape.fast_forward); int anim_delay = (ffwd_delay ? FfwdFrameDelay : GameFrameDelay); int wait_delay = (ffwd_delay ? 500 : 1000); + int start_pos_vertically = 0; int i, x, y; - /* open envelope window horizontally */ - for (i = 0; i <= level.envelope_xsize; i++) + if (game.envelope.anim_mode > 1) { - int xsize = i + 2; - int ysize = 2; - int startx = (SXSIZE - xsize * font_width) / 2; - int starty = (SYSIZE - ysize * font_height) / 2; + /* open envelope window horizontally */ + for (i = 0; i <= level.envelope_xsize[envelope_nr]; i++) + { + int xsize = i + 2; + int ysize = 2; + int startx = (SXSIZE - xsize * font_width) / 2; + int starty = (SYSIZE - ysize * font_height) / 2; - SetDrawtoField(DRAW_BUFFERED); + SetDrawtoField(DRAW_BUFFERED); - BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); + BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); - SetDrawtoField(DRAW_BACKBUFFER); + SetDrawtoField(DRAW_BACKBUFFER); #if 1 - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); #else - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - { - int sx = SX + startx + x * font_width; - int sy = SY + starty + y * font_height; - int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); - int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + { + int sx = SX + startx + x * font_width; + int sy = SY + starty + y * font_height; + int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); + int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); - DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); - } + DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); + } #endif - redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; - BackToFront(); + redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; + BackToFront(); - Delay(anim_delay); + Delay(anim_delay / 2); + } } + if (game.envelope.anim_mode < 1) + start_pos_vertically = level.envelope_ysize[envelope_nr]; + /* open envelope window vertically */ - for (i = 0; i <= level.envelope_ysize; i++) + for (i = start_pos_vertically; i <= level.envelope_ysize[envelope_nr]; i++) { - int xsize = level.envelope_xsize + 2; + int xsize = level.envelope_xsize[envelope_nr] + 2; int ysize = i + 2; int startx = (SXSIZE - xsize * font_width) / 2; int starty = (SYSIZE - ysize * font_height) / 2; @@ -1721,9 +1728,9 @@ void ShowEnvelope() } #endif - DrawTextToTextArea(SX + startx + font_width, - SY + starty + font_height, level.envelope, - FONT_TEXT_1, level.envelope_xsize, i, mask_mode); + DrawTextToTextArea(SX + startx + font_width, SY + starty + font_height, + level.envelope_text[envelope_nr], FONT_TEXT_1, + level.envelope_xsize[envelope_nr], i, mask_mode); redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; BackToFront(); @@ -1736,78 +1743,84 @@ void ShowEnvelope() else WaitForEventToContinue(); - /* close envelope window vertically */ - for (i = level.envelope_ysize; i >= 0; i--) + if (game.envelope.anim_mode > 0) { - int xsize = level.envelope_xsize + 2; - int ysize = i + 2; - int startx = (SXSIZE - xsize * font_width) / 2; - int starty = (SYSIZE - ysize * font_height) / 2; + /* close envelope window vertically */ + for (i = level.envelope_ysize[envelope_nr]; i >= 0; i--) + { + int xsize = level.envelope_xsize[envelope_nr] + 2; + int ysize = i + 2; + int startx = (SXSIZE - xsize * font_width) / 2; + int starty = (SYSIZE - ysize * font_height) / 2; - SetDrawtoField(DRAW_BUFFERED); + SetDrawtoField(DRAW_BUFFERED); - BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); + BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); - SetDrawtoField(DRAW_BACKBUFFER); + SetDrawtoField(DRAW_BACKBUFFER); #if 1 - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); #else - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - { - int sx = SX + startx + x * font_width; - int sy = SY + starty + y * font_height; - int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); - int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + { + int sx = SX + startx + x * font_width; + int sy = SY + starty + y * font_height; + int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); + int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); - DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); - } + DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); + } #endif - DrawTextToTextArea(SX + startx + font_width, - SY + starty + font_height, level.envelope, - FONT_TEXT_1, level.envelope_xsize, i, mask_mode); + DrawTextToTextArea(SX + startx + font_width, SY + starty + font_height, + level.envelope_text[envelope_nr], FONT_TEXT_1, + level.envelope_xsize[envelope_nr], i, mask_mode); - redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; - BackToFront(); + redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; + BackToFront(); - Delay(anim_delay); + Delay(anim_delay); + } } - /* close envelope window horizontally */ - for (i = level.envelope_xsize; i >= 0; i--) + if (game.envelope.anim_mode > 1) { - int xsize = i + 2; - int ysize = 2; - int startx = (SXSIZE - xsize * font_width) / 2; - int starty = (SYSIZE - ysize * font_height) / 2; + /* close envelope window horizontally */ + for (i = level.envelope_xsize[envelope_nr]; i >= 0; i--) + { + int xsize = i + 2; + int ysize = 2; + int startx = (SXSIZE - xsize * font_width) / 2; + int starty = (SYSIZE - ysize * font_height) / 2; - SetDrawtoField(DRAW_BUFFERED); + SetDrawtoField(DRAW_BUFFERED); - BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); + BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY); - SetDrawtoField(DRAW_BACKBUFFER); + SetDrawtoField(DRAW_BACKBUFFER); #if 1 - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + DrawEnvelopeBackground(startx, starty, x, y, xsize, ysize, font_nr); #else - for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) - { - int sx = SX + startx + x * font_width; - int sy = SY + starty + y * font_height; - int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); - int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); + for (y=0; y < ysize; y++) for (x=0; x < xsize; x++) + { + int sx = SX + startx + x * font_width; + int sy = SY + starty + y * font_height; + int ex = (x == 0 ? -1 : x == xsize - 1 ? +1 : 0); + int ey = (y == 0 ? -1 : y == ysize - 1 ? +1 : 0); - DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); - } + DrawEnvelopeBackground(sx, sy, ex, ey, font_nr); + } #endif - redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; - BackToFront(); + redraw_mask |= REDRAW_FIELD | REDRAW_FROM_BACKBUFFER; + BackToFront(); - Delay(anim_delay); + Delay(anim_delay / 2); + } } SetDrawtoField(DRAW_BUFFERED); @@ -2477,7 +2490,7 @@ unsigned int MoveDoor(unsigned int door_state) if (door_state & DOOR_ACTION_1) { int i = (door_state & DOOR_OPEN_1 ? DXSIZE-x : x); - int j = (DXSIZE - i) / 3; + int j = (door.anim_mode == 0 ? (DXSIZE - i) / 3 : 0); BlitBitmap(bitmap_db_door, drawto, DOOR_GFX_PAGEX1, DOOR_GFX_PAGEY1 + i/2, @@ -2485,34 +2498,50 @@ unsigned int MoveDoor(unsigned int door_state) ClearRectangle(drawto, DX, DY + DYSIZE - i/2, DXSIZE,i/2); - SetClipOrigin(bitmap, gc, DX - i, (DY + j) - DOOR_GFX_PAGEY1); - BlitBitmapMasked(bitmap, drawto, - DXSIZE, DOOR_GFX_PAGEY1, i, 77, - DX + DXSIZE - i, DY + j); - BlitBitmapMasked(bitmap, drawto, - DXSIZE, DOOR_GFX_PAGEY1 + 140, i, 63, - DX + DXSIZE - i, DY + 140 + j); - SetClipOrigin(bitmap, gc, DX - DXSIZE + i, DY - (DOOR_GFX_PAGEY1 + j)); - BlitBitmapMasked(bitmap, drawto, - DXSIZE - i, DOOR_GFX_PAGEY1 + j, i, 77 - j, - DX, DY); - BlitBitmapMasked(bitmap, drawto, - DXSIZE-i, DOOR_GFX_PAGEY1 + 140, i, 63, - DX, DY + 140 - j); - - BlitBitmapMasked(bitmap, drawto, - DXSIZE - i, DOOR_GFX_PAGEY1 + 77, i, 63, - DX, DY + 77 - j); - BlitBitmapMasked(bitmap, drawto, - DXSIZE - i, DOOR_GFX_PAGEY1 + 203, i, 77, - DX, DY + 203 - j); - SetClipOrigin(bitmap, gc, DX - i, (DY + j) - DOOR_GFX_PAGEY1); - BlitBitmapMasked(bitmap, drawto, - DXSIZE, DOOR_GFX_PAGEY1 + 77, i, 63, - DX + DXSIZE - i, DY + 77 + j); - BlitBitmapMasked(bitmap, drawto, - DXSIZE, DOOR_GFX_PAGEY1 + 203, i, 77 - j, - DX + DXSIZE - i, DY + 203 + j); + if (door.anim_mode == 0) + { + SetClipOrigin(bitmap, gc, DX - i, (DY + j) - DOOR_GFX_PAGEY1); + BlitBitmapMasked(bitmap, drawto, + DXSIZE, DOOR_GFX_PAGEY1, i, 77, + DX + DXSIZE - i, DY + j); + BlitBitmapMasked(bitmap, drawto, + DXSIZE, DOOR_GFX_PAGEY1 + 140, i, 63, + DX + DXSIZE - i, DY + 140 + j); + SetClipOrigin(bitmap, gc, DX - DXSIZE + i, + DY - (DOOR_GFX_PAGEY1 + j)); + BlitBitmapMasked(bitmap, drawto, + DXSIZE - i, DOOR_GFX_PAGEY1 + j, i, 77 - j, + DX, DY); + BlitBitmapMasked(bitmap, drawto, + DXSIZE-i, DOOR_GFX_PAGEY1 + 140, i, 63, + DX, DY + 140 - j); + + BlitBitmapMasked(bitmap, drawto, + DXSIZE - i, DOOR_GFX_PAGEY1 + 77, i, 63, + DX, DY + 77 - j); + BlitBitmapMasked(bitmap, drawto, + DXSIZE - i, DOOR_GFX_PAGEY1 + 203, i, 77, + DX, DY + 203 - j); + SetClipOrigin(bitmap, gc, DX - i, (DY + j) - DOOR_GFX_PAGEY1); + BlitBitmapMasked(bitmap, drawto, + DXSIZE, DOOR_GFX_PAGEY1 + 77, i, 63, + DX + DXSIZE - i, DY + 77 + j); + BlitBitmapMasked(bitmap, drawto, + DXSIZE, DOOR_GFX_PAGEY1 + 203, i, 77 - j, + DX + DXSIZE - i, DY + 203 + j); + } + else + { + SetClipOrigin(bitmap, gc, DX - i, (DY + j) - DOOR_GFX_PAGEY1); + BlitBitmapMasked(bitmap, drawto, + DXSIZE, DOOR_GFX_PAGEY1, i, DYSIZE, + DX + DXSIZE - i, DY); + + SetClipOrigin(bitmap, gc, DX - DXSIZE + i, DY - DOOR_GFX_PAGEY1); + BlitBitmapMasked(bitmap, drawto, + DXSIZE - i, DOOR_GFX_PAGEY1, i, DYSIZE, + DX, DY); + } redraw_mask |= REDRAW_DOOR_1; } -- 2.34.1