From 91d08fad2fcec7e2b5931b4f336a89d14af313dd Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 1 Feb 2003 00:11:00 +0100 Subject: [PATCH] rnd-20030201-1-src --- Makefile | 11 +- src/Makefile | 11 +- src/conf_e2g.c | 2 +- src/conf_esg.c | 40 ++ src/conf_gfx.c | 4 + src/conf_gfx.h | 1161 ++++++++++++++++++++++++------------------------ src/conftime.h | 2 +- src/init.c | 25 +- 8 files changed, 651 insertions(+), 605 deletions(-) create mode 100644 src/conf_esg.c diff --git a/Makefile b/Makefile index ba491935..538f6c04 100644 --- a/Makefile +++ b/Makefile @@ -88,11 +88,12 @@ clean: #-----------------------------------------------------------------------------# auto-conf: - ./Scripts/create_element_defs.pl --graphics > src/conf_gfx.h - ./Scripts/create_element_defs.pl --sounds > src/conf_snd.h - ./Scripts/create_element_defs.pl --chars > src/conf_chr.c - ./Scripts/create_element_defs.pl --custom > src/conf_cus.c - ./Scripts/create_element_defs.pl --el2gfx > src/conf_e2g.c + ./Scripts/create_element_defs.pl --gfx > src/conf_gfx.h + ./Scripts/create_element_defs.pl --snd > src/conf_snd.h + ./Scripts/create_element_defs.pl --chr > src/conf_chr.c + ./Scripts/create_element_defs.pl --cus > src/conf_cus.c + ./Scripts/create_element_defs.pl --e2g > src/conf_e2g.c + ./Scripts/create_element_defs.pl --esg > src/conf_esg.c run: @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET) && ./rocksndiamonds --verbose diff --git a/src/Makefile b/src/Makefile index 12baa00a..f0d9c3ed 100644 --- a/src/Makefile +++ b/src/Makefile @@ -176,13 +176,14 @@ $(LIBGAME): @$(MAKE) -C $(LIBDIR) conf_gfx.h: conf_gfx.c - ../Scripts/create_element_defs.pl --graphics > conf_gfx.h - ../Scripts/create_element_defs.pl --el2gfx > conf_e2g.c - ../Scripts/create_element_defs.pl --chars > conf_chr.c - ../Scripts/create_element_defs.pl --custom > conf_cus.c + ../Scripts/create_element_defs.pl --gfx > conf_gfx.h + ../Scripts/create_element_defs.pl --chr > conf_chr.c + ../Scripts/create_element_defs.pl --cus > conf_cus.c + ../Scripts/create_element_defs.pl --e2g > conf_e2g.c + ../Scripts/create_element_defs.pl --esg > conf_esg.c conf_snd.h: conf_snd.c - ../Scripts/create_element_defs.pl --sounds > conf_snd.h + ../Scripts/create_element_defs.pl --snd > conf_snd.h $(TIMESTAMP_FILE): $(SRCS) $(LIBGAME) @date '+"[%Y-%m-%d %H:%M]"' \ diff --git a/src/conf_e2g.c b/src/conf_e2g.c index 9065d110..b792d67d 100644 --- a/src/conf_e2g.c +++ b/src/conf_e2g.c @@ -16,7 +16,7 @@ #ifndef CONF_E2G_C #define CONF_E2G_C -/* values for element/graphics mapping configuration */ +/* values for element/graphics mapping configuration (normal) */ static struct { diff --git a/src/conf_esg.c b/src/conf_esg.c new file mode 100644 index 00000000..dc3f5045 --- /dev/null +++ b/src/conf_esg.c @@ -0,0 +1,40 @@ +/*********************************************************** +* Rocks'n'Diamonds -- McDuffin Strikes Back! * +*----------------------------------------------------------* +* (c) 1995-2002 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * +*----------------------------------------------------------* +* conf_esg.c * +***********************************************************/ + +/* ----- this file was automatically generated -- do not edit by hand ----- */ + +#ifndef CONF_ESG_C +#define CONF_ESG_C + +/* values for element/graphics mapping configuration (special) */ + +static struct +{ + int element; + int special; + + int graphic; +} +element_to_special_graphic[] = +{ + { + EL_AMOEBA_FULL, GFX_SPECIAL_ARG_EDITOR, + IMG_AMOEBA_FULL_EDITOR + }, + { + -1, -1, + -1 + }, +}; + +#endif /* CONF_ESG_C */ diff --git a/src/conf_gfx.c b/src/conf_gfx.c index 1c1bb6e4..ae6fa9f1 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -923,6 +923,10 @@ struct ConfigInfo image_config[] = { "amoeba_full.xpos", "8" }, { "amoeba_full.ypos", "6" }, { "amoeba_full.frames", "1" }, + { "amoeba_full.EDITOR", "RocksElements.pcx" }, + { "amoeba_full.EDITOR.xpos", "8" }, + { "amoeba_full.EDITOR.ypos", "7" }, + { "amoeba_full.EDITOR.frames", "1" }, { "amoeba_full_part1", "RocksElements.pcx" }, { "amoeba_full_part1.xpos", "8" }, { "amoeba_full_part1.ypos", "6" }, diff --git a/src/conf_gfx.h b/src/conf_gfx.h index 9c789980..3114a8cd 100644 --- a/src/conf_gfx.h +++ b/src/conf_gfx.h @@ -197,586 +197,587 @@ #define IMG_AMOEBA_DRY_PART3 176 #define IMG_AMOEBA_DRY_PART4 177 #define IMG_AMOEBA_FULL 178 -#define IMG_AMOEBA_FULL_PART1 179 -#define IMG_AMOEBA_FULL_PART2 180 -#define IMG_AMOEBA_FULL_PART3 181 -#define IMG_AMOEBA_FULL_PART4 182 -#define IMG_AMOEBA_DEAD 183 -#define IMG_AMOEBA_DEAD_PART1 184 -#define IMG_AMOEBA_DEAD_PART2 185 -#define IMG_AMOEBA_DEAD_PART3 186 -#define IMG_AMOEBA_DEAD_PART4 187 -#define IMG_EM_KEY1 188 -#define IMG_EM_KEY2 189 -#define IMG_EM_KEY3 190 -#define IMG_EM_KEY4 191 -#define IMG_EM_GATE1 192 -#define IMG_EM_GATE2 193 -#define IMG_EM_GATE3 194 -#define IMG_EM_GATE4 195 -#define IMG_EM_GATE1_GRAY 196 -#define IMG_EM_GATE2_GRAY 197 -#define IMG_EM_GATE3_GRAY 198 -#define IMG_EM_GATE4_GRAY 199 -#define IMG_EXIT_CLOSED 200 -#define IMG_EXIT_OPENING 201 -#define IMG_EXIT_OPEN 202 -#define IMG_BALLOON 203 -#define IMG_BALLOON_MOVING 204 -#define IMG_BALLOON_SEND_LEFT 205 -#define IMG_BALLOON_SEND_RIGHT 206 -#define IMG_BALLOON_SEND_UP 207 -#define IMG_BALLOON_SEND_DOWN 208 -#define IMG_BALLOON_SEND_ANY_DIRECTION 209 -#define IMG_SPRING 210 -#define IMG_SPRING_MOVING 211 -#define IMG_EMC_STEELWALL1 212 -#define IMG_EMC_STEELWALL2 213 -#define IMG_EMC_STEELWALL3 214 -#define IMG_EMC_STEELWALL4 215 -#define IMG_EMC_WALL_PILLAR_UPPER 216 -#define IMG_EMC_WALL_PILLAR_MIDDLE 217 -#define IMG_EMC_WALL_PILLAR_LOWER 218 -#define IMG_EMC_WALL4 219 -#define IMG_EMC_WALL5 220 -#define IMG_EMC_WALL6 221 -#define IMG_EMC_WALL7 222 -#define IMG_EMC_WALL8 223 -#define IMG_INVISIBLE_STEELWALL 224 -#define IMG_INVISIBLE_STEELWALL_ACTIVE 225 -#define IMG_INVISIBLE_WALL 226 -#define IMG_INVISIBLE_WALL_ACTIVE 227 -#define IMG_INVISIBLE_SAND 228 -#define IMG_INVISIBLE_SAND_ACTIVE 229 -#define IMG_CONVEYOR_BELT1_MIDDLE 230 -#define IMG_CONVEYOR_BELT1_MIDDLE_ACTIVE 231 -#define IMG_CONVEYOR_BELT1_LEFT 232 -#define IMG_CONVEYOR_BELT1_LEFT_ACTIVE 233 -#define IMG_CONVEYOR_BELT1_RIGHT 234 -#define IMG_CONVEYOR_BELT1_RIGHT_ACTIVE 235 -#define IMG_CONVEYOR_BELT1_SWITCH_LEFT 236 -#define IMG_CONVEYOR_BELT1_SWITCH_MIDDLE 237 -#define IMG_CONVEYOR_BELT1_SWITCH_RIGHT 238 -#define IMG_CONVEYOR_BELT2_MIDDLE 239 -#define IMG_CONVEYOR_BELT2_MIDDLE_ACTIVE 240 -#define IMG_CONVEYOR_BELT2_LEFT 241 -#define IMG_CONVEYOR_BELT2_LEFT_ACTIVE 242 -#define IMG_CONVEYOR_BELT2_RIGHT 243 -#define IMG_CONVEYOR_BELT2_RIGHT_ACTIVE 244 -#define IMG_CONVEYOR_BELT2_SWITCH_LEFT 245 -#define IMG_CONVEYOR_BELT2_SWITCH_MIDDLE 246 -#define IMG_CONVEYOR_BELT2_SWITCH_RIGHT 247 -#define IMG_CONVEYOR_BELT3_MIDDLE 248 -#define IMG_CONVEYOR_BELT3_MIDDLE_ACTIVE 249 -#define IMG_CONVEYOR_BELT3_LEFT 250 -#define IMG_CONVEYOR_BELT3_LEFT_ACTIVE 251 -#define IMG_CONVEYOR_BELT3_RIGHT 252 -#define IMG_CONVEYOR_BELT3_RIGHT_ACTIVE 253 -#define IMG_CONVEYOR_BELT3_SWITCH_LEFT 254 -#define IMG_CONVEYOR_BELT3_SWITCH_MIDDLE 255 -#define IMG_CONVEYOR_BELT3_SWITCH_RIGHT 256 -#define IMG_CONVEYOR_BELT4_MIDDLE 257 -#define IMG_CONVEYOR_BELT4_MIDDLE_ACTIVE 258 -#define IMG_CONVEYOR_BELT4_LEFT 259 -#define IMG_CONVEYOR_BELT4_LEFT_ACTIVE 260 -#define IMG_CONVEYOR_BELT4_RIGHT 261 -#define IMG_CONVEYOR_BELT4_RIGHT_ACTIVE 262 -#define IMG_CONVEYOR_BELT4_SWITCH_LEFT 263 -#define IMG_CONVEYOR_BELT4_SWITCH_MIDDLE 264 -#define IMG_CONVEYOR_BELT4_SWITCH_RIGHT 265 -#define IMG_SWITCHGATE_SWITCH_UP 266 -#define IMG_SWITCHGATE_SWITCH_DOWN 267 -#define IMG_LIGHT_SWITCH 268 -#define IMG_LIGHT_SWITCH_ACTIVE 269 -#define IMG_TIMEGATE_SWITCH 270 -#define IMG_TIMEGATE_SWITCH_ACTIVE 271 -#define IMG_ENVELOPE 272 -#define IMG_SIGN_EXCLAMATION 273 -#define IMG_SIGN_STOP 274 -#define IMG_LANDMINE 275 -#define IMG_STEELWALL_SLANTED 276 -#define IMG_EXTRA_TIME 277 -#define IMG_SHIELD_NORMAL 278 -#define IMG_SHIELD_NORMAL_ACTIVE 279 -#define IMG_SHIELD_DEADLY 280 -#define IMG_SHIELD_DEADLY_ACTIVE 281 -#define IMG_SWITCHGATE_CLOSED 282 -#define IMG_SWITCHGATE_OPENING 283 -#define IMG_SWITCHGATE_OPEN 284 -#define IMG_SWITCHGATE_CLOSING 285 -#define IMG_TIMEGATE_CLOSED 286 -#define IMG_TIMEGATE_OPENING 287 -#define IMG_TIMEGATE_OPEN 288 -#define IMG_TIMEGATE_CLOSING 289 -#define IMG_PEARL 290 -#define IMG_PEARL_BREAKING 291 -#define IMG_CRYSTAL 292 -#define IMG_WALL_PEARL 293 -#define IMG_WALL_CRYSTAL 294 -#define IMG_TUBE_RIGHT_DOWN 295 -#define IMG_TUBE_HORIZONTAL_DOWN 296 -#define IMG_TUBE_LEFT_DOWN 297 -#define IMG_TUBE_HORIZONTAL 298 -#define IMG_TUBE_VERTICAL_RIGHT 299 -#define IMG_TUBE_ALL 300 -#define IMG_TUBE_VERTICAL_LEFT 301 -#define IMG_TUBE_VERTICAL 302 -#define IMG_TUBE_RIGHT_UP 303 -#define IMG_TUBE_HORIZONTAL_UP 304 -#define IMG_TUBE_LEFT_UP 305 -#define IMG_TRAP 306 -#define IMG_TRAP_ACTIVE 307 -#define IMG_DX_SUPABOMB 308 -#define IMG_KEY1 309 -#define IMG_KEY2 310 -#define IMG_KEY3 311 -#define IMG_KEY4 312 -#define IMG_GATE1 313 -#define IMG_GATE2 314 -#define IMG_GATE3 315 -#define IMG_GATE4 316 -#define IMG_GATE1_GRAY 317 -#define IMG_GATE2_GRAY 318 -#define IMG_GATE3_GRAY 319 -#define IMG_GATE4_GRAY 320 -#define IMG_GAMEOFLIFE 321 -#define IMG_BIOMAZE 322 -#define IMG_PACMAN_RIGHT 323 -#define IMG_PACMAN_UP 324 -#define IMG_PACMAN_LEFT 325 -#define IMG_PACMAN_DOWN 326 -#define IMG_LAMP 327 -#define IMG_LAMP_ACTIVE 328 -#define IMG_TIME_ORB_FULL 329 -#define IMG_TIME_ORB_EMPTY 330 -#define IMG_EMERALD_YELLOW 331 -#define IMG_EMERALD_YELLOW_MOVING 332 -#define IMG_EMERALD_YELLOW_FALLING 333 -#define IMG_EMERALD_RED 334 -#define IMG_EMERALD_RED_MOVING 335 -#define IMG_EMERALD_RED_FALLING 336 -#define IMG_EMERALD_PURPLE 337 -#define IMG_EMERALD_PURPLE_MOVING 338 -#define IMG_EMERALD_PURPLE_FALLING 339 -#define IMG_WALL_EMERALD_YELLOW 340 -#define IMG_WALL_EMERALD_RED 341 -#define IMG_WALL_EMERALD_PURPLE 342 -#define IMG_WALL_BD_DIAMOND 343 -#define IMG_WALL_GROWING 344 -#define IMG_WALL_GROWING_XY 345 -#define IMG_WALL_GROWING_X 346 -#define IMG_WALL_GROWING_Y 347 -#define IMG_WALL_GROWING_ACTIVE_LEFT 348 -#define IMG_WALL_GROWING_ACTIVE_RIGHT 349 -#define IMG_WALL_GROWING_ACTIVE_UP 350 -#define IMG_WALL_GROWING_ACTIVE_DOWN 351 -#define IMG_BLACK_ORB 352 -#define IMG_SPEED_PILL 353 -#define IMG_DARK_YAMYAM 354 -#define IMG_DYNABOMB_ACTIVE 355 -#define IMG_DYNABOMB_PLAYER1_ACTIVE 356 -#define IMG_DYNABOMB_PLAYER2_ACTIVE 357 -#define IMG_DYNABOMB_PLAYER3_ACTIVE 358 -#define IMG_DYNABOMB_PLAYER4_ACTIVE 359 -#define IMG_DYNABOMB_NR 360 -#define IMG_DYNABOMB_SZ 361 -#define IMG_DYNABOMB_XL 362 -#define IMG_PIG 363 -#define IMG_PIG_DOWN 364 -#define IMG_PIG_UP 365 -#define IMG_PIG_LEFT 366 -#define IMG_PIG_RIGHT 367 -#define IMG_PIG_MOVING_DOWN 368 -#define IMG_PIG_MOVING_UP 369 -#define IMG_PIG_MOVING_LEFT 370 -#define IMG_PIG_MOVING_RIGHT 371 -#define IMG_PIG_EATING_DOWN 372 -#define IMG_PIG_EATING_UP 373 -#define IMG_PIG_EATING_LEFT 374 -#define IMG_PIG_EATING_RIGHT 375 -#define IMG_DRAGON 376 -#define IMG_DRAGON_DOWN 377 -#define IMG_DRAGON_UP 378 -#define IMG_DRAGON_LEFT 379 -#define IMG_DRAGON_RIGHT 380 -#define IMG_DRAGON_MOVING_DOWN 381 -#define IMG_DRAGON_MOVING_UP 382 -#define IMG_DRAGON_MOVING_LEFT 383 -#define IMG_DRAGON_MOVING_RIGHT 384 -#define IMG_DRAGON_ATTACKING_DOWN 385 -#define IMG_DRAGON_ATTACKING_UP 386 -#define IMG_DRAGON_ATTACKING_LEFT 387 -#define IMG_DRAGON_ATTACKING_RIGHT 388 -#define IMG_MOLE 389 -#define IMG_MOLE_DOWN 390 -#define IMG_MOLE_UP 391 -#define IMG_MOLE_LEFT 392 -#define IMG_MOLE_RIGHT 393 -#define IMG_MOLE_MOVING_DOWN 394 -#define IMG_MOLE_MOVING_UP 395 -#define IMG_MOLE_MOVING_LEFT 396 -#define IMG_MOLE_MOVING_RIGHT 397 -#define IMG_MOLE_DIGGING_DOWN 398 -#define IMG_MOLE_DIGGING_UP 399 -#define IMG_MOLE_DIGGING_LEFT 400 -#define IMG_MOLE_DIGGING_RIGHT 401 -#define IMG_PENGUIN 402 -#define IMG_PENGUIN_DOWN 403 -#define IMG_PENGUIN_UP 404 -#define IMG_PENGUIN_LEFT 405 -#define IMG_PENGUIN_RIGHT 406 -#define IMG_PENGUIN_MOVING_DOWN 407 -#define IMG_PENGUIN_MOVING_UP 408 -#define IMG_PENGUIN_MOVING_LEFT 409 -#define IMG_PENGUIN_MOVING_RIGHT 410 -#define IMG_SATELLITE 411 -#define IMG_SATELLITE_MOVING 412 -#define IMG_FLAMES1_LEFT 413 -#define IMG_FLAMES2_LEFT 414 -#define IMG_FLAMES3_LEFT 415 -#define IMG_FLAMES1_RIGHT 416 -#define IMG_FLAMES2_RIGHT 417 -#define IMG_FLAMES3_RIGHT 418 -#define IMG_FLAMES1_UP 419 -#define IMG_FLAMES2_UP 420 -#define IMG_FLAMES3_UP 421 -#define IMG_FLAMES1_DOWN 422 -#define IMG_FLAMES2_DOWN 423 -#define IMG_FLAMES3_DOWN 424 -#define IMG_STONEBLOCK 425 -#define IMG_PLAYER1 426 -#define IMG_PLAYER1_DOWN 427 -#define IMG_PLAYER1_UP 428 -#define IMG_PLAYER1_LEFT 429 -#define IMG_PLAYER1_RIGHT 430 -#define IMG_PLAYER1_MOVING_DOWN 431 -#define IMG_PLAYER1_MOVING_UP 432 -#define IMG_PLAYER1_MOVING_LEFT 433 -#define IMG_PLAYER1_MOVING_RIGHT 434 -#define IMG_PLAYER1_DIGGING_DOWN 435 -#define IMG_PLAYER1_DIGGING_UP 436 -#define IMG_PLAYER1_DIGGING_LEFT 437 -#define IMG_PLAYER1_DIGGING_RIGHT 438 -#define IMG_PLAYER1_PUSHING_DOWN 439 -#define IMG_PLAYER1_PUSHING_UP 440 -#define IMG_PLAYER1_PUSHING_LEFT 441 -#define IMG_PLAYER1_PUSHING_RIGHT 442 -#define IMG_PLAYER1_SNAPPING_DOWN 443 -#define IMG_PLAYER1_SNAPPING_UP 444 -#define IMG_PLAYER1_SNAPPING_LEFT 445 -#define IMG_PLAYER1_SNAPPING_RIGHT 446 -#define IMG_PLAYER2 447 -#define IMG_PLAYER2_DOWN 448 -#define IMG_PLAYER2_UP 449 -#define IMG_PLAYER2_LEFT 450 -#define IMG_PLAYER2_RIGHT 451 -#define IMG_PLAYER2_MOVING_DOWN 452 -#define IMG_PLAYER2_MOVING_UP 453 -#define IMG_PLAYER2_MOVING_LEFT 454 -#define IMG_PLAYER2_MOVING_RIGHT 455 -#define IMG_PLAYER2_DIGGING_DOWN 456 -#define IMG_PLAYER2_DIGGING_UP 457 -#define IMG_PLAYER2_DIGGING_LEFT 458 -#define IMG_PLAYER2_DIGGING_RIGHT 459 -#define IMG_PLAYER2_PUSHING_DOWN 460 -#define IMG_PLAYER2_PUSHING_UP 461 -#define IMG_PLAYER2_PUSHING_LEFT 462 -#define IMG_PLAYER2_PUSHING_RIGHT 463 -#define IMG_PLAYER2_SNAPPING_DOWN 464 -#define IMG_PLAYER2_SNAPPING_UP 465 -#define IMG_PLAYER2_SNAPPING_LEFT 466 -#define IMG_PLAYER2_SNAPPING_RIGHT 467 -#define IMG_PLAYER3 468 -#define IMG_PLAYER3_DOWN 469 -#define IMG_PLAYER3_UP 470 -#define IMG_PLAYER3_LEFT 471 -#define IMG_PLAYER3_RIGHT 472 -#define IMG_PLAYER3_MOVING_DOWN 473 -#define IMG_PLAYER3_MOVING_UP 474 -#define IMG_PLAYER3_MOVING_LEFT 475 -#define IMG_PLAYER3_MOVING_RIGHT 476 -#define IMG_PLAYER3_DIGGING_DOWN 477 -#define IMG_PLAYER3_DIGGING_UP 478 -#define IMG_PLAYER3_DIGGING_LEFT 479 -#define IMG_PLAYER3_DIGGING_RIGHT 480 -#define IMG_PLAYER3_PUSHING_DOWN 481 -#define IMG_PLAYER3_PUSHING_UP 482 -#define IMG_PLAYER3_PUSHING_LEFT 483 -#define IMG_PLAYER3_PUSHING_RIGHT 484 -#define IMG_PLAYER3_SNAPPING_DOWN 485 -#define IMG_PLAYER3_SNAPPING_UP 486 -#define IMG_PLAYER3_SNAPPING_LEFT 487 -#define IMG_PLAYER3_SNAPPING_RIGHT 488 -#define IMG_PLAYER4 489 -#define IMG_PLAYER4_DOWN 490 -#define IMG_PLAYER4_UP 491 -#define IMG_PLAYER4_LEFT 492 -#define IMG_PLAYER4_RIGHT 493 -#define IMG_PLAYER4_MOVING_DOWN 494 -#define IMG_PLAYER4_MOVING_UP 495 -#define IMG_PLAYER4_MOVING_LEFT 496 -#define IMG_PLAYER4_MOVING_RIGHT 497 -#define IMG_PLAYER4_DIGGING_DOWN 498 -#define IMG_PLAYER4_DIGGING_UP 499 -#define IMG_PLAYER4_DIGGING_LEFT 500 -#define IMG_PLAYER4_DIGGING_RIGHT 501 -#define IMG_PLAYER4_PUSHING_DOWN 502 -#define IMG_PLAYER4_PUSHING_UP 503 -#define IMG_PLAYER4_PUSHING_LEFT 504 -#define IMG_PLAYER4_PUSHING_RIGHT 505 -#define IMG_PLAYER4_SNAPPING_DOWN 506 -#define IMG_PLAYER4_SNAPPING_UP 507 -#define IMG_PLAYER4_SNAPPING_LEFT 508 -#define IMG_PLAYER4_SNAPPING_RIGHT 509 -#define IMG_EXPLOSION 510 -#define IMG_TWINKLE_BLUE 511 -#define IMG_TWINKLE_WHITE 512 -#define IMG_STEELWALL_TOPLEFT 513 -#define IMG_STEELWALL_TOPRIGHT 514 -#define IMG_STEELWALL_BOTTOMLEFT 515 -#define IMG_STEELWALL_BOTTOMRIGHT 516 -#define IMG_STEELWALL_HORIZONTAL 517 -#define IMG_STEELWALL_VERTICAL 518 -#define IMG_INVISIBLE_STEELWALL_TOPLEFT 519 -#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 520 -#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 521 -#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 522 -#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 523 -#define IMG_INVISIBLE_STEELWALL_VERTICAL 524 -#define IMG_ARROW_BLUE_LEFT 525 -#define IMG_ARROW_BLUE_RIGHT 526 -#define IMG_ARROW_BLUE_UP 527 -#define IMG_ARROW_BLUE_DOWN 528 -#define IMG_ARROW_RED_LEFT 529 -#define IMG_ARROW_RED_RIGHT 530 -#define IMG_ARROW_RED_UP 531 -#define IMG_ARROW_RED_DOWN 532 -#define IMG_BALL_RED 533 -#define IMG_BALL_BLUE 534 -#define IMG_BALL_YELLOW 535 -#define IMG_BALL_GRAY 536 -#define IMG_SCROLLBAR_BLUE 537 -#define IMG_SCROLLBAR_RED 538 -#define IMG_SCROLLBAR_GREEN 539 -#define IMG_SCROLLBAR_YELLOW 540 -#define IMG_CHAR_SPACE 541 -#define IMG_CHAR_EXCLAM 542 -#define IMG_CHAR_QUOTEDBL 543 -#define IMG_CHAR_NUMBERSIGN 544 -#define IMG_CHAR_DOLLAR 545 -#define IMG_CHAR_PROCENT 546 -#define IMG_CHAR_AMPERSAND 547 -#define IMG_CHAR_APOSTROPHE 548 -#define IMG_CHAR_PARENLEFT 549 -#define IMG_CHAR_PARENRIGHT 550 -#define IMG_CHAR_ASTERISK 551 -#define IMG_CHAR_PLUS 552 -#define IMG_CHAR_COMMA 553 -#define IMG_CHAR_MINUS 554 -#define IMG_CHAR_PERIOD 555 -#define IMG_CHAR_SLASH 556 -#define IMG_CHAR_0 557 -#define IMG_CHAR_1 558 -#define IMG_CHAR_2 559 -#define IMG_CHAR_3 560 -#define IMG_CHAR_4 561 -#define IMG_CHAR_5 562 -#define IMG_CHAR_6 563 -#define IMG_CHAR_7 564 -#define IMG_CHAR_8 565 -#define IMG_CHAR_9 566 -#define IMG_CHAR_COLON 567 -#define IMG_CHAR_SEMICOLON 568 -#define IMG_CHAR_LESS 569 -#define IMG_CHAR_EQUAL 570 -#define IMG_CHAR_GREATER 571 -#define IMG_CHAR_QUESTION 572 -#define IMG_CHAR_AT 573 -#define IMG_CHAR_A 574 -#define IMG_CHAR_B 575 -#define IMG_CHAR_C 576 -#define IMG_CHAR_D 577 -#define IMG_CHAR_E 578 -#define IMG_CHAR_F 579 -#define IMG_CHAR_G 580 -#define IMG_CHAR_H 581 -#define IMG_CHAR_I 582 -#define IMG_CHAR_J 583 -#define IMG_CHAR_K 584 -#define IMG_CHAR_L 585 -#define IMG_CHAR_M 586 -#define IMG_CHAR_N 587 -#define IMG_CHAR_O 588 -#define IMG_CHAR_P 589 -#define IMG_CHAR_Q 590 -#define IMG_CHAR_R 591 -#define IMG_CHAR_S 592 -#define IMG_CHAR_T 593 -#define IMG_CHAR_U 594 -#define IMG_CHAR_V 595 -#define IMG_CHAR_W 596 -#define IMG_CHAR_X 597 -#define IMG_CHAR_Y 598 -#define IMG_CHAR_Z 599 -#define IMG_CHAR_AE 600 -#define IMG_CHAR_OE 601 -#define IMG_CHAR_UE 602 -#define IMG_CHAR_COPYRIGHT 603 -#define IMG_CHAR_UNDERSCORE 604 -#define IMG_CHAR_EMPTY 605 -#define IMG_CHAR_DEGREE 606 -#define IMG_CHAR_TM 607 -#define IMG_CHAR_CURSOR 608 -#define IMG_CUSTOM_1 609 -#define IMG_CUSTOM_2 610 -#define IMG_CUSTOM_3 611 -#define IMG_CUSTOM_4 612 -#define IMG_CUSTOM_5 613 -#define IMG_CUSTOM_6 614 -#define IMG_CUSTOM_7 615 -#define IMG_CUSTOM_8 616 -#define IMG_CUSTOM_9 617 -#define IMG_CUSTOM_10 618 -#define IMG_CUSTOM_11 619 -#define IMG_CUSTOM_12 620 -#define IMG_CUSTOM_13 621 -#define IMG_CUSTOM_14 622 -#define IMG_CUSTOM_15 623 -#define IMG_CUSTOM_16 624 -#define IMG_CUSTOM_17 625 -#define IMG_CUSTOM_18 626 -#define IMG_CUSTOM_19 627 -#define IMG_CUSTOM_20 628 -#define IMG_CUSTOM_21 629 -#define IMG_CUSTOM_22 630 -#define IMG_CUSTOM_23 631 -#define IMG_CUSTOM_24 632 -#define IMG_CUSTOM_25 633 -#define IMG_CUSTOM_26 634 -#define IMG_CUSTOM_27 635 -#define IMG_CUSTOM_28 636 -#define IMG_CUSTOM_29 637 -#define IMG_CUSTOM_30 638 -#define IMG_CUSTOM_31 639 -#define IMG_CUSTOM_32 640 -#define IMG_CUSTOM_33 641 -#define IMG_CUSTOM_34 642 -#define IMG_CUSTOM_35 643 -#define IMG_CUSTOM_36 644 -#define IMG_CUSTOM_37 645 -#define IMG_CUSTOM_38 646 -#define IMG_CUSTOM_39 647 -#define IMG_CUSTOM_40 648 -#define IMG_CUSTOM_41 649 -#define IMG_CUSTOM_42 650 -#define IMG_CUSTOM_43 651 -#define IMG_CUSTOM_44 652 -#define IMG_CUSTOM_45 653 -#define IMG_CUSTOM_46 654 -#define IMG_CUSTOM_47 655 -#define IMG_CUSTOM_48 656 -#define IMG_CUSTOM_49 657 -#define IMG_CUSTOM_50 658 -#define IMG_CUSTOM_51 659 -#define IMG_CUSTOM_52 660 -#define IMG_CUSTOM_53 661 -#define IMG_CUSTOM_54 662 -#define IMG_CUSTOM_55 663 -#define IMG_CUSTOM_56 664 -#define IMG_CUSTOM_57 665 -#define IMG_CUSTOM_58 666 -#define IMG_CUSTOM_59 667 -#define IMG_CUSTOM_60 668 -#define IMG_CUSTOM_61 669 -#define IMG_CUSTOM_62 670 -#define IMG_CUSTOM_63 671 -#define IMG_CUSTOM_64 672 -#define IMG_CUSTOM_65 673 -#define IMG_CUSTOM_66 674 -#define IMG_CUSTOM_67 675 -#define IMG_CUSTOM_68 676 -#define IMG_CUSTOM_69 677 -#define IMG_CUSTOM_70 678 -#define IMG_CUSTOM_71 679 -#define IMG_CUSTOM_72 680 -#define IMG_CUSTOM_73 681 -#define IMG_CUSTOM_74 682 -#define IMG_CUSTOM_75 683 -#define IMG_CUSTOM_76 684 -#define IMG_CUSTOM_77 685 -#define IMG_CUSTOM_78 686 -#define IMG_CUSTOM_79 687 -#define IMG_CUSTOM_80 688 -#define IMG_CUSTOM_81 689 -#define IMG_CUSTOM_82 690 -#define IMG_CUSTOM_83 691 -#define IMG_CUSTOM_84 692 -#define IMG_CUSTOM_85 693 -#define IMG_CUSTOM_86 694 -#define IMG_CUSTOM_87 695 -#define IMG_CUSTOM_88 696 -#define IMG_CUSTOM_89 697 -#define IMG_CUSTOM_90 698 -#define IMG_CUSTOM_91 699 -#define IMG_CUSTOM_92 700 -#define IMG_CUSTOM_93 701 -#define IMG_CUSTOM_94 702 -#define IMG_CUSTOM_95 703 -#define IMG_CUSTOM_96 704 -#define IMG_CUSTOM_97 705 -#define IMG_CUSTOM_98 706 -#define IMG_CUSTOM_99 707 -#define IMG_CUSTOM_100 708 -#define IMG_CUSTOM_101 709 -#define IMG_CUSTOM_102 710 -#define IMG_CUSTOM_103 711 -#define IMG_CUSTOM_104 712 -#define IMG_CUSTOM_105 713 -#define IMG_CUSTOM_106 714 -#define IMG_CUSTOM_107 715 -#define IMG_CUSTOM_108 716 -#define IMG_CUSTOM_109 717 -#define IMG_CUSTOM_110 718 -#define IMG_CUSTOM_111 719 -#define IMG_CUSTOM_112 720 -#define IMG_CUSTOM_113 721 -#define IMG_CUSTOM_114 722 -#define IMG_CUSTOM_115 723 -#define IMG_CUSTOM_116 724 -#define IMG_CUSTOM_117 725 -#define IMG_CUSTOM_118 726 -#define IMG_CUSTOM_119 727 -#define IMG_CUSTOM_120 728 -#define IMG_CUSTOM_121 729 -#define IMG_CUSTOM_122 730 -#define IMG_CUSTOM_123 731 -#define IMG_CUSTOM_124 732 -#define IMG_CUSTOM_125 733 -#define IMG_CUSTOM_126 734 -#define IMG_CUSTOM_127 735 -#define IMG_CUSTOM_128 736 -#define IMG_GLOBAL_BORDER 737 -#define IMG_GLOBAL_DOOR 738 -#define IMG_GLOBAL_TOONS 739 -#define IMG_FONT_BIG 740 -#define IMG_FONT_MEDIUM 741 -#define IMG_FONT_SMALL 742 -#define IMG_FONT_EM 743 -#define IMG_BACKGROUND_DEFAULT 744 -#define IMG_BACKGROUND_DOOR 745 -#define IMG_BACKGROUND_MAIN 746 -#define IMG_BACKGROUND_LEVEL_SERIES 747 -#define IMG_BACKGROUND_HALL_OF_FAME 748 -#define IMG_BACKGROUND_EDITOR_SETTINGS_LEVEL 749 -#define IMG_BACKGROUND_EDITOR_SETTINGS_ELEMENT 750 -#define IMG_BACKGROUND_INFO 751 -#define IMG_BACKGROUND_SETUP 752 -#define IMG_INFO_FONT_EM_1 753 -#define IMG_INFO_FONT_EM_2 754 -#define IMG_INFO_FONT_EM_3 755 -#define IMG_INFO_FONT_EM_4 756 -#define IMG_INFO_FONT_EM_5 757 +#define IMG_AMOEBA_FULL_EDITOR 179 +#define IMG_AMOEBA_FULL_PART1 180 +#define IMG_AMOEBA_FULL_PART2 181 +#define IMG_AMOEBA_FULL_PART3 182 +#define IMG_AMOEBA_FULL_PART4 183 +#define IMG_AMOEBA_DEAD 184 +#define IMG_AMOEBA_DEAD_PART1 185 +#define IMG_AMOEBA_DEAD_PART2 186 +#define IMG_AMOEBA_DEAD_PART3 187 +#define IMG_AMOEBA_DEAD_PART4 188 +#define IMG_EM_KEY1 189 +#define IMG_EM_KEY2 190 +#define IMG_EM_KEY3 191 +#define IMG_EM_KEY4 192 +#define IMG_EM_GATE1 193 +#define IMG_EM_GATE2 194 +#define IMG_EM_GATE3 195 +#define IMG_EM_GATE4 196 +#define IMG_EM_GATE1_GRAY 197 +#define IMG_EM_GATE2_GRAY 198 +#define IMG_EM_GATE3_GRAY 199 +#define IMG_EM_GATE4_GRAY 200 +#define IMG_EXIT_CLOSED 201 +#define IMG_EXIT_OPENING 202 +#define IMG_EXIT_OPEN 203 +#define IMG_BALLOON 204 +#define IMG_BALLOON_MOVING 205 +#define IMG_BALLOON_SEND_LEFT 206 +#define IMG_BALLOON_SEND_RIGHT 207 +#define IMG_BALLOON_SEND_UP 208 +#define IMG_BALLOON_SEND_DOWN 209 +#define IMG_BALLOON_SEND_ANY_DIRECTION 210 +#define IMG_SPRING 211 +#define IMG_SPRING_MOVING 212 +#define IMG_EMC_STEELWALL1 213 +#define IMG_EMC_STEELWALL2 214 +#define IMG_EMC_STEELWALL3 215 +#define IMG_EMC_STEELWALL4 216 +#define IMG_EMC_WALL_PILLAR_UPPER 217 +#define IMG_EMC_WALL_PILLAR_MIDDLE 218 +#define IMG_EMC_WALL_PILLAR_LOWER 219 +#define IMG_EMC_WALL4 220 +#define IMG_EMC_WALL5 221 +#define IMG_EMC_WALL6 222 +#define IMG_EMC_WALL7 223 +#define IMG_EMC_WALL8 224 +#define IMG_INVISIBLE_STEELWALL 225 +#define IMG_INVISIBLE_STEELWALL_ACTIVE 226 +#define IMG_INVISIBLE_WALL 227 +#define IMG_INVISIBLE_WALL_ACTIVE 228 +#define IMG_INVISIBLE_SAND 229 +#define IMG_INVISIBLE_SAND_ACTIVE 230 +#define IMG_CONVEYOR_BELT1_MIDDLE 231 +#define IMG_CONVEYOR_BELT1_MIDDLE_ACTIVE 232 +#define IMG_CONVEYOR_BELT1_LEFT 233 +#define IMG_CONVEYOR_BELT1_LEFT_ACTIVE 234 +#define IMG_CONVEYOR_BELT1_RIGHT 235 +#define IMG_CONVEYOR_BELT1_RIGHT_ACTIVE 236 +#define IMG_CONVEYOR_BELT1_SWITCH_LEFT 237 +#define IMG_CONVEYOR_BELT1_SWITCH_MIDDLE 238 +#define IMG_CONVEYOR_BELT1_SWITCH_RIGHT 239 +#define IMG_CONVEYOR_BELT2_MIDDLE 240 +#define IMG_CONVEYOR_BELT2_MIDDLE_ACTIVE 241 +#define IMG_CONVEYOR_BELT2_LEFT 242 +#define IMG_CONVEYOR_BELT2_LEFT_ACTIVE 243 +#define IMG_CONVEYOR_BELT2_RIGHT 244 +#define IMG_CONVEYOR_BELT2_RIGHT_ACTIVE 245 +#define IMG_CONVEYOR_BELT2_SWITCH_LEFT 246 +#define IMG_CONVEYOR_BELT2_SWITCH_MIDDLE 247 +#define IMG_CONVEYOR_BELT2_SWITCH_RIGHT 248 +#define IMG_CONVEYOR_BELT3_MIDDLE 249 +#define IMG_CONVEYOR_BELT3_MIDDLE_ACTIVE 250 +#define IMG_CONVEYOR_BELT3_LEFT 251 +#define IMG_CONVEYOR_BELT3_LEFT_ACTIVE 252 +#define IMG_CONVEYOR_BELT3_RIGHT 253 +#define IMG_CONVEYOR_BELT3_RIGHT_ACTIVE 254 +#define IMG_CONVEYOR_BELT3_SWITCH_LEFT 255 +#define IMG_CONVEYOR_BELT3_SWITCH_MIDDLE 256 +#define IMG_CONVEYOR_BELT3_SWITCH_RIGHT 257 +#define IMG_CONVEYOR_BELT4_MIDDLE 258 +#define IMG_CONVEYOR_BELT4_MIDDLE_ACTIVE 259 +#define IMG_CONVEYOR_BELT4_LEFT 260 +#define IMG_CONVEYOR_BELT4_LEFT_ACTIVE 261 +#define IMG_CONVEYOR_BELT4_RIGHT 262 +#define IMG_CONVEYOR_BELT4_RIGHT_ACTIVE 263 +#define IMG_CONVEYOR_BELT4_SWITCH_LEFT 264 +#define IMG_CONVEYOR_BELT4_SWITCH_MIDDLE 265 +#define IMG_CONVEYOR_BELT4_SWITCH_RIGHT 266 +#define IMG_SWITCHGATE_SWITCH_UP 267 +#define IMG_SWITCHGATE_SWITCH_DOWN 268 +#define IMG_LIGHT_SWITCH 269 +#define IMG_LIGHT_SWITCH_ACTIVE 270 +#define IMG_TIMEGATE_SWITCH 271 +#define IMG_TIMEGATE_SWITCH_ACTIVE 272 +#define IMG_ENVELOPE 273 +#define IMG_SIGN_EXCLAMATION 274 +#define IMG_SIGN_STOP 275 +#define IMG_LANDMINE 276 +#define IMG_STEELWALL_SLANTED 277 +#define IMG_EXTRA_TIME 278 +#define IMG_SHIELD_NORMAL 279 +#define IMG_SHIELD_NORMAL_ACTIVE 280 +#define IMG_SHIELD_DEADLY 281 +#define IMG_SHIELD_DEADLY_ACTIVE 282 +#define IMG_SWITCHGATE_CLOSED 283 +#define IMG_SWITCHGATE_OPENING 284 +#define IMG_SWITCHGATE_OPEN 285 +#define IMG_SWITCHGATE_CLOSING 286 +#define IMG_TIMEGATE_CLOSED 287 +#define IMG_TIMEGATE_OPENING 288 +#define IMG_TIMEGATE_OPEN 289 +#define IMG_TIMEGATE_CLOSING 290 +#define IMG_PEARL 291 +#define IMG_PEARL_BREAKING 292 +#define IMG_CRYSTAL 293 +#define IMG_WALL_PEARL 294 +#define IMG_WALL_CRYSTAL 295 +#define IMG_TUBE_RIGHT_DOWN 296 +#define IMG_TUBE_HORIZONTAL_DOWN 297 +#define IMG_TUBE_LEFT_DOWN 298 +#define IMG_TUBE_HORIZONTAL 299 +#define IMG_TUBE_VERTICAL_RIGHT 300 +#define IMG_TUBE_ALL 301 +#define IMG_TUBE_VERTICAL_LEFT 302 +#define IMG_TUBE_VERTICAL 303 +#define IMG_TUBE_RIGHT_UP 304 +#define IMG_TUBE_HORIZONTAL_UP 305 +#define IMG_TUBE_LEFT_UP 306 +#define IMG_TRAP 307 +#define IMG_TRAP_ACTIVE 308 +#define IMG_DX_SUPABOMB 309 +#define IMG_KEY1 310 +#define IMG_KEY2 311 +#define IMG_KEY3 312 +#define IMG_KEY4 313 +#define IMG_GATE1 314 +#define IMG_GATE2 315 +#define IMG_GATE3 316 +#define IMG_GATE4 317 +#define IMG_GATE1_GRAY 318 +#define IMG_GATE2_GRAY 319 +#define IMG_GATE3_GRAY 320 +#define IMG_GATE4_GRAY 321 +#define IMG_GAMEOFLIFE 322 +#define IMG_BIOMAZE 323 +#define IMG_PACMAN_RIGHT 324 +#define IMG_PACMAN_UP 325 +#define IMG_PACMAN_LEFT 326 +#define IMG_PACMAN_DOWN 327 +#define IMG_LAMP 328 +#define IMG_LAMP_ACTIVE 329 +#define IMG_TIME_ORB_FULL 330 +#define IMG_TIME_ORB_EMPTY 331 +#define IMG_EMERALD_YELLOW 332 +#define IMG_EMERALD_YELLOW_MOVING 333 +#define IMG_EMERALD_YELLOW_FALLING 334 +#define IMG_EMERALD_RED 335 +#define IMG_EMERALD_RED_MOVING 336 +#define IMG_EMERALD_RED_FALLING 337 +#define IMG_EMERALD_PURPLE 338 +#define IMG_EMERALD_PURPLE_MOVING 339 +#define IMG_EMERALD_PURPLE_FALLING 340 +#define IMG_WALL_EMERALD_YELLOW 341 +#define IMG_WALL_EMERALD_RED 342 +#define IMG_WALL_EMERALD_PURPLE 343 +#define IMG_WALL_BD_DIAMOND 344 +#define IMG_WALL_GROWING 345 +#define IMG_WALL_GROWING_XY 346 +#define IMG_WALL_GROWING_X 347 +#define IMG_WALL_GROWING_Y 348 +#define IMG_WALL_GROWING_ACTIVE_LEFT 349 +#define IMG_WALL_GROWING_ACTIVE_RIGHT 350 +#define IMG_WALL_GROWING_ACTIVE_UP 351 +#define IMG_WALL_GROWING_ACTIVE_DOWN 352 +#define IMG_BLACK_ORB 353 +#define IMG_SPEED_PILL 354 +#define IMG_DARK_YAMYAM 355 +#define IMG_DYNABOMB_ACTIVE 356 +#define IMG_DYNABOMB_PLAYER1_ACTIVE 357 +#define IMG_DYNABOMB_PLAYER2_ACTIVE 358 +#define IMG_DYNABOMB_PLAYER3_ACTIVE 359 +#define IMG_DYNABOMB_PLAYER4_ACTIVE 360 +#define IMG_DYNABOMB_NR 361 +#define IMG_DYNABOMB_SZ 362 +#define IMG_DYNABOMB_XL 363 +#define IMG_PIG 364 +#define IMG_PIG_DOWN 365 +#define IMG_PIG_UP 366 +#define IMG_PIG_LEFT 367 +#define IMG_PIG_RIGHT 368 +#define IMG_PIG_MOVING_DOWN 369 +#define IMG_PIG_MOVING_UP 370 +#define IMG_PIG_MOVING_LEFT 371 +#define IMG_PIG_MOVING_RIGHT 372 +#define IMG_PIG_EATING_DOWN 373 +#define IMG_PIG_EATING_UP 374 +#define IMG_PIG_EATING_LEFT 375 +#define IMG_PIG_EATING_RIGHT 376 +#define IMG_DRAGON 377 +#define IMG_DRAGON_DOWN 378 +#define IMG_DRAGON_UP 379 +#define IMG_DRAGON_LEFT 380 +#define IMG_DRAGON_RIGHT 381 +#define IMG_DRAGON_MOVING_DOWN 382 +#define IMG_DRAGON_MOVING_UP 383 +#define IMG_DRAGON_MOVING_LEFT 384 +#define IMG_DRAGON_MOVING_RIGHT 385 +#define IMG_DRAGON_ATTACKING_DOWN 386 +#define IMG_DRAGON_ATTACKING_UP 387 +#define IMG_DRAGON_ATTACKING_LEFT 388 +#define IMG_DRAGON_ATTACKING_RIGHT 389 +#define IMG_MOLE 390 +#define IMG_MOLE_DOWN 391 +#define IMG_MOLE_UP 392 +#define IMG_MOLE_LEFT 393 +#define IMG_MOLE_RIGHT 394 +#define IMG_MOLE_MOVING_DOWN 395 +#define IMG_MOLE_MOVING_UP 396 +#define IMG_MOLE_MOVING_LEFT 397 +#define IMG_MOLE_MOVING_RIGHT 398 +#define IMG_MOLE_DIGGING_DOWN 399 +#define IMG_MOLE_DIGGING_UP 400 +#define IMG_MOLE_DIGGING_LEFT 401 +#define IMG_MOLE_DIGGING_RIGHT 402 +#define IMG_PENGUIN 403 +#define IMG_PENGUIN_DOWN 404 +#define IMG_PENGUIN_UP 405 +#define IMG_PENGUIN_LEFT 406 +#define IMG_PENGUIN_RIGHT 407 +#define IMG_PENGUIN_MOVING_DOWN 408 +#define IMG_PENGUIN_MOVING_UP 409 +#define IMG_PENGUIN_MOVING_LEFT 410 +#define IMG_PENGUIN_MOVING_RIGHT 411 +#define IMG_SATELLITE 412 +#define IMG_SATELLITE_MOVING 413 +#define IMG_FLAMES1_LEFT 414 +#define IMG_FLAMES2_LEFT 415 +#define IMG_FLAMES3_LEFT 416 +#define IMG_FLAMES1_RIGHT 417 +#define IMG_FLAMES2_RIGHT 418 +#define IMG_FLAMES3_RIGHT 419 +#define IMG_FLAMES1_UP 420 +#define IMG_FLAMES2_UP 421 +#define IMG_FLAMES3_UP 422 +#define IMG_FLAMES1_DOWN 423 +#define IMG_FLAMES2_DOWN 424 +#define IMG_FLAMES3_DOWN 425 +#define IMG_STONEBLOCK 426 +#define IMG_PLAYER1 427 +#define IMG_PLAYER1_DOWN 428 +#define IMG_PLAYER1_UP 429 +#define IMG_PLAYER1_LEFT 430 +#define IMG_PLAYER1_RIGHT 431 +#define IMG_PLAYER1_MOVING_DOWN 432 +#define IMG_PLAYER1_MOVING_UP 433 +#define IMG_PLAYER1_MOVING_LEFT 434 +#define IMG_PLAYER1_MOVING_RIGHT 435 +#define IMG_PLAYER1_DIGGING_DOWN 436 +#define IMG_PLAYER1_DIGGING_UP 437 +#define IMG_PLAYER1_DIGGING_LEFT 438 +#define IMG_PLAYER1_DIGGING_RIGHT 439 +#define IMG_PLAYER1_PUSHING_DOWN 440 +#define IMG_PLAYER1_PUSHING_UP 441 +#define IMG_PLAYER1_PUSHING_LEFT 442 +#define IMG_PLAYER1_PUSHING_RIGHT 443 +#define IMG_PLAYER1_SNAPPING_DOWN 444 +#define IMG_PLAYER1_SNAPPING_UP 445 +#define IMG_PLAYER1_SNAPPING_LEFT 446 +#define IMG_PLAYER1_SNAPPING_RIGHT 447 +#define IMG_PLAYER2 448 +#define IMG_PLAYER2_DOWN 449 +#define IMG_PLAYER2_UP 450 +#define IMG_PLAYER2_LEFT 451 +#define IMG_PLAYER2_RIGHT 452 +#define IMG_PLAYER2_MOVING_DOWN 453 +#define IMG_PLAYER2_MOVING_UP 454 +#define IMG_PLAYER2_MOVING_LEFT 455 +#define IMG_PLAYER2_MOVING_RIGHT 456 +#define IMG_PLAYER2_DIGGING_DOWN 457 +#define IMG_PLAYER2_DIGGING_UP 458 +#define IMG_PLAYER2_DIGGING_LEFT 459 +#define IMG_PLAYER2_DIGGING_RIGHT 460 +#define IMG_PLAYER2_PUSHING_DOWN 461 +#define IMG_PLAYER2_PUSHING_UP 462 +#define IMG_PLAYER2_PUSHING_LEFT 463 +#define IMG_PLAYER2_PUSHING_RIGHT 464 +#define IMG_PLAYER2_SNAPPING_DOWN 465 +#define IMG_PLAYER2_SNAPPING_UP 466 +#define IMG_PLAYER2_SNAPPING_LEFT 467 +#define IMG_PLAYER2_SNAPPING_RIGHT 468 +#define IMG_PLAYER3 469 +#define IMG_PLAYER3_DOWN 470 +#define IMG_PLAYER3_UP 471 +#define IMG_PLAYER3_LEFT 472 +#define IMG_PLAYER3_RIGHT 473 +#define IMG_PLAYER3_MOVING_DOWN 474 +#define IMG_PLAYER3_MOVING_UP 475 +#define IMG_PLAYER3_MOVING_LEFT 476 +#define IMG_PLAYER3_MOVING_RIGHT 477 +#define IMG_PLAYER3_DIGGING_DOWN 478 +#define IMG_PLAYER3_DIGGING_UP 479 +#define IMG_PLAYER3_DIGGING_LEFT 480 +#define IMG_PLAYER3_DIGGING_RIGHT 481 +#define IMG_PLAYER3_PUSHING_DOWN 482 +#define IMG_PLAYER3_PUSHING_UP 483 +#define IMG_PLAYER3_PUSHING_LEFT 484 +#define IMG_PLAYER3_PUSHING_RIGHT 485 +#define IMG_PLAYER3_SNAPPING_DOWN 486 +#define IMG_PLAYER3_SNAPPING_UP 487 +#define IMG_PLAYER3_SNAPPING_LEFT 488 +#define IMG_PLAYER3_SNAPPING_RIGHT 489 +#define IMG_PLAYER4 490 +#define IMG_PLAYER4_DOWN 491 +#define IMG_PLAYER4_UP 492 +#define IMG_PLAYER4_LEFT 493 +#define IMG_PLAYER4_RIGHT 494 +#define IMG_PLAYER4_MOVING_DOWN 495 +#define IMG_PLAYER4_MOVING_UP 496 +#define IMG_PLAYER4_MOVING_LEFT 497 +#define IMG_PLAYER4_MOVING_RIGHT 498 +#define IMG_PLAYER4_DIGGING_DOWN 499 +#define IMG_PLAYER4_DIGGING_UP 500 +#define IMG_PLAYER4_DIGGING_LEFT 501 +#define IMG_PLAYER4_DIGGING_RIGHT 502 +#define IMG_PLAYER4_PUSHING_DOWN 503 +#define IMG_PLAYER4_PUSHING_UP 504 +#define IMG_PLAYER4_PUSHING_LEFT 505 +#define IMG_PLAYER4_PUSHING_RIGHT 506 +#define IMG_PLAYER4_SNAPPING_DOWN 507 +#define IMG_PLAYER4_SNAPPING_UP 508 +#define IMG_PLAYER4_SNAPPING_LEFT 509 +#define IMG_PLAYER4_SNAPPING_RIGHT 510 +#define IMG_EXPLOSION 511 +#define IMG_TWINKLE_BLUE 512 +#define IMG_TWINKLE_WHITE 513 +#define IMG_STEELWALL_TOPLEFT 514 +#define IMG_STEELWALL_TOPRIGHT 515 +#define IMG_STEELWALL_BOTTOMLEFT 516 +#define IMG_STEELWALL_BOTTOMRIGHT 517 +#define IMG_STEELWALL_HORIZONTAL 518 +#define IMG_STEELWALL_VERTICAL 519 +#define IMG_INVISIBLE_STEELWALL_TOPLEFT 520 +#define IMG_INVISIBLE_STEELWALL_TOPRIGHT 521 +#define IMG_INVISIBLE_STEELWALL_BOTTOMLEFT 522 +#define IMG_INVISIBLE_STEELWALL_BOTTOMRIGHT 523 +#define IMG_INVISIBLE_STEELWALL_HORIZONTAL 524 +#define IMG_INVISIBLE_STEELWALL_VERTICAL 525 +#define IMG_ARROW_BLUE_LEFT 526 +#define IMG_ARROW_BLUE_RIGHT 527 +#define IMG_ARROW_BLUE_UP 528 +#define IMG_ARROW_BLUE_DOWN 529 +#define IMG_ARROW_RED_LEFT 530 +#define IMG_ARROW_RED_RIGHT 531 +#define IMG_ARROW_RED_UP 532 +#define IMG_ARROW_RED_DOWN 533 +#define IMG_BALL_RED 534 +#define IMG_BALL_BLUE 535 +#define IMG_BALL_YELLOW 536 +#define IMG_BALL_GRAY 537 +#define IMG_SCROLLBAR_BLUE 538 +#define IMG_SCROLLBAR_RED 539 +#define IMG_SCROLLBAR_GREEN 540 +#define IMG_SCROLLBAR_YELLOW 541 +#define IMG_CHAR_SPACE 542 +#define IMG_CHAR_EXCLAM 543 +#define IMG_CHAR_QUOTEDBL 544 +#define IMG_CHAR_NUMBERSIGN 545 +#define IMG_CHAR_DOLLAR 546 +#define IMG_CHAR_PROCENT 547 +#define IMG_CHAR_AMPERSAND 548 +#define IMG_CHAR_APOSTROPHE 549 +#define IMG_CHAR_PARENLEFT 550 +#define IMG_CHAR_PARENRIGHT 551 +#define IMG_CHAR_ASTERISK 552 +#define IMG_CHAR_PLUS 553 +#define IMG_CHAR_COMMA 554 +#define IMG_CHAR_MINUS 555 +#define IMG_CHAR_PERIOD 556 +#define IMG_CHAR_SLASH 557 +#define IMG_CHAR_0 558 +#define IMG_CHAR_1 559 +#define IMG_CHAR_2 560 +#define IMG_CHAR_3 561 +#define IMG_CHAR_4 562 +#define IMG_CHAR_5 563 +#define IMG_CHAR_6 564 +#define IMG_CHAR_7 565 +#define IMG_CHAR_8 566 +#define IMG_CHAR_9 567 +#define IMG_CHAR_COLON 568 +#define IMG_CHAR_SEMICOLON 569 +#define IMG_CHAR_LESS 570 +#define IMG_CHAR_EQUAL 571 +#define IMG_CHAR_GREATER 572 +#define IMG_CHAR_QUESTION 573 +#define IMG_CHAR_AT 574 +#define IMG_CHAR_A 575 +#define IMG_CHAR_B 576 +#define IMG_CHAR_C 577 +#define IMG_CHAR_D 578 +#define IMG_CHAR_E 579 +#define IMG_CHAR_F 580 +#define IMG_CHAR_G 581 +#define IMG_CHAR_H 582 +#define IMG_CHAR_I 583 +#define IMG_CHAR_J 584 +#define IMG_CHAR_K 585 +#define IMG_CHAR_L 586 +#define IMG_CHAR_M 587 +#define IMG_CHAR_N 588 +#define IMG_CHAR_O 589 +#define IMG_CHAR_P 590 +#define IMG_CHAR_Q 591 +#define IMG_CHAR_R 592 +#define IMG_CHAR_S 593 +#define IMG_CHAR_T 594 +#define IMG_CHAR_U 595 +#define IMG_CHAR_V 596 +#define IMG_CHAR_W 597 +#define IMG_CHAR_X 598 +#define IMG_CHAR_Y 599 +#define IMG_CHAR_Z 600 +#define IMG_CHAR_AE 601 +#define IMG_CHAR_OE 602 +#define IMG_CHAR_UE 603 +#define IMG_CHAR_COPYRIGHT 604 +#define IMG_CHAR_UNDERSCORE 605 +#define IMG_CHAR_EMPTY 606 +#define IMG_CHAR_DEGREE 607 +#define IMG_CHAR_TM 608 +#define IMG_CHAR_CURSOR 609 +#define IMG_CUSTOM_1 610 +#define IMG_CUSTOM_2 611 +#define IMG_CUSTOM_3 612 +#define IMG_CUSTOM_4 613 +#define IMG_CUSTOM_5 614 +#define IMG_CUSTOM_6 615 +#define IMG_CUSTOM_7 616 +#define IMG_CUSTOM_8 617 +#define IMG_CUSTOM_9 618 +#define IMG_CUSTOM_10 619 +#define IMG_CUSTOM_11 620 +#define IMG_CUSTOM_12 621 +#define IMG_CUSTOM_13 622 +#define IMG_CUSTOM_14 623 +#define IMG_CUSTOM_15 624 +#define IMG_CUSTOM_16 625 +#define IMG_CUSTOM_17 626 +#define IMG_CUSTOM_18 627 +#define IMG_CUSTOM_19 628 +#define IMG_CUSTOM_20 629 +#define IMG_CUSTOM_21 630 +#define IMG_CUSTOM_22 631 +#define IMG_CUSTOM_23 632 +#define IMG_CUSTOM_24 633 +#define IMG_CUSTOM_25 634 +#define IMG_CUSTOM_26 635 +#define IMG_CUSTOM_27 636 +#define IMG_CUSTOM_28 637 +#define IMG_CUSTOM_29 638 +#define IMG_CUSTOM_30 639 +#define IMG_CUSTOM_31 640 +#define IMG_CUSTOM_32 641 +#define IMG_CUSTOM_33 642 +#define IMG_CUSTOM_34 643 +#define IMG_CUSTOM_35 644 +#define IMG_CUSTOM_36 645 +#define IMG_CUSTOM_37 646 +#define IMG_CUSTOM_38 647 +#define IMG_CUSTOM_39 648 +#define IMG_CUSTOM_40 649 +#define IMG_CUSTOM_41 650 +#define IMG_CUSTOM_42 651 +#define IMG_CUSTOM_43 652 +#define IMG_CUSTOM_44 653 +#define IMG_CUSTOM_45 654 +#define IMG_CUSTOM_46 655 +#define IMG_CUSTOM_47 656 +#define IMG_CUSTOM_48 657 +#define IMG_CUSTOM_49 658 +#define IMG_CUSTOM_50 659 +#define IMG_CUSTOM_51 660 +#define IMG_CUSTOM_52 661 +#define IMG_CUSTOM_53 662 +#define IMG_CUSTOM_54 663 +#define IMG_CUSTOM_55 664 +#define IMG_CUSTOM_56 665 +#define IMG_CUSTOM_57 666 +#define IMG_CUSTOM_58 667 +#define IMG_CUSTOM_59 668 +#define IMG_CUSTOM_60 669 +#define IMG_CUSTOM_61 670 +#define IMG_CUSTOM_62 671 +#define IMG_CUSTOM_63 672 +#define IMG_CUSTOM_64 673 +#define IMG_CUSTOM_65 674 +#define IMG_CUSTOM_66 675 +#define IMG_CUSTOM_67 676 +#define IMG_CUSTOM_68 677 +#define IMG_CUSTOM_69 678 +#define IMG_CUSTOM_70 679 +#define IMG_CUSTOM_71 680 +#define IMG_CUSTOM_72 681 +#define IMG_CUSTOM_73 682 +#define IMG_CUSTOM_74 683 +#define IMG_CUSTOM_75 684 +#define IMG_CUSTOM_76 685 +#define IMG_CUSTOM_77 686 +#define IMG_CUSTOM_78 687 +#define IMG_CUSTOM_79 688 +#define IMG_CUSTOM_80 689 +#define IMG_CUSTOM_81 690 +#define IMG_CUSTOM_82 691 +#define IMG_CUSTOM_83 692 +#define IMG_CUSTOM_84 693 +#define IMG_CUSTOM_85 694 +#define IMG_CUSTOM_86 695 +#define IMG_CUSTOM_87 696 +#define IMG_CUSTOM_88 697 +#define IMG_CUSTOM_89 698 +#define IMG_CUSTOM_90 699 +#define IMG_CUSTOM_91 700 +#define IMG_CUSTOM_92 701 +#define IMG_CUSTOM_93 702 +#define IMG_CUSTOM_94 703 +#define IMG_CUSTOM_95 704 +#define IMG_CUSTOM_96 705 +#define IMG_CUSTOM_97 706 +#define IMG_CUSTOM_98 707 +#define IMG_CUSTOM_99 708 +#define IMG_CUSTOM_100 709 +#define IMG_CUSTOM_101 710 +#define IMG_CUSTOM_102 711 +#define IMG_CUSTOM_103 712 +#define IMG_CUSTOM_104 713 +#define IMG_CUSTOM_105 714 +#define IMG_CUSTOM_106 715 +#define IMG_CUSTOM_107 716 +#define IMG_CUSTOM_108 717 +#define IMG_CUSTOM_109 718 +#define IMG_CUSTOM_110 719 +#define IMG_CUSTOM_111 720 +#define IMG_CUSTOM_112 721 +#define IMG_CUSTOM_113 722 +#define IMG_CUSTOM_114 723 +#define IMG_CUSTOM_115 724 +#define IMG_CUSTOM_116 725 +#define IMG_CUSTOM_117 726 +#define IMG_CUSTOM_118 727 +#define IMG_CUSTOM_119 728 +#define IMG_CUSTOM_120 729 +#define IMG_CUSTOM_121 730 +#define IMG_CUSTOM_122 731 +#define IMG_CUSTOM_123 732 +#define IMG_CUSTOM_124 733 +#define IMG_CUSTOM_125 734 +#define IMG_CUSTOM_126 735 +#define IMG_CUSTOM_127 736 +#define IMG_CUSTOM_128 737 +#define IMG_GLOBAL_BORDER 738 +#define IMG_GLOBAL_DOOR 739 +#define IMG_GLOBAL_TOONS 740 +#define IMG_FONT_BIG 741 +#define IMG_FONT_MEDIUM 742 +#define IMG_FONT_SMALL 743 +#define IMG_FONT_EM 744 +#define IMG_BACKGROUND_DEFAULT 745 +#define IMG_BACKGROUND_DOOR 746 +#define IMG_BACKGROUND_MAIN 747 +#define IMG_BACKGROUND_LEVEL_SERIES 748 +#define IMG_BACKGROUND_HALL_OF_FAME 749 +#define IMG_BACKGROUND_EDITOR_SETTINGS_LEVEL 750 +#define IMG_BACKGROUND_EDITOR_SETTINGS_ELEMENT 751 +#define IMG_BACKGROUND_INFO 752 +#define IMG_BACKGROUND_SETUP 753 +#define IMG_INFO_FONT_EM_1 754 +#define IMG_INFO_FONT_EM_2 755 +#define IMG_INFO_FONT_EM_3 756 +#define IMG_INFO_FONT_EM_4 757 +#define IMG_INFO_FONT_EM_5 758 -#define NUM_IMAGE_FILES 758 +#define NUM_IMAGE_FILES 759 #endif /* CONF_GFX_H */ diff --git a/src/conftime.h b/src/conftime.h index a51b8053..0c8b51e3 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-01-28 00:43]" +#define COMPILE_DATE_STRING "[2003-02-01 00:10]" diff --git a/src/init.c b/src/init.c index 14acc191..3dcfe04e 100644 --- a/src/init.c +++ b/src/init.c @@ -27,6 +27,7 @@ #include "config.h" #include "conf_e2g.c" /* include auto-generated data structure definitions */ +#include "conf_esg.c" /* include auto-generated data structure definitions */ static char *image_filename[NUM_PICTURES] = @@ -780,7 +781,7 @@ void InitElementGraphicInfo() element_info[i].graphic[ACTION_DEFAULT] = IMG_CUSTOM_START + (i - EL_CUSTOM_START); - /* initialize element/graphic mapping from static configuration */ + /* initialize normal element/graphic mapping from static configuration */ for (i=0; element_to_graphic[i].element > -1; i++) { int element = element_to_graphic[i].element; @@ -797,7 +798,7 @@ void InitElementGraphicInfo() element_info[element].graphic[action] = graphic; } - /* initialize element/graphic mapping from dynamic configuration */ + /* initialize normal element/graphic mapping from dynamic configuration */ for (i=0; i < num_property_mappings; i++) { int element = property_mapping[i].base_index; @@ -868,27 +869,25 @@ void InitElementEditorGraphicInfo() for (i=0; i -1; i++) { - int element = ... element; - int special = ... special; - int graphic = ... graphic; + int element = element_to_special_graphic[i].element; + int special = element_to_special_graphic[i].special; + int graphic = element_to_special_graphic[i].graphic; if (special != GFX_SPECIAL_ARG_EDITOR) continue; element_info[element].editor_graphic = graphic; } -#endif - /* initialize element/graphic mapping from dynamic configuration */ + /* initialize special element/graphic mapping from dynamic configuration */ for (i=0; i < num_property_mappings; i++) { - int element = property_mapping[i].base_index; - int special = property_mapping[i].ext3_index; - int graphic = property_mapping[i].artwork_index; + int element = property_mapping[i].base_index; + int special = property_mapping[i].ext3_index; + int graphic = property_mapping[i].artwork_index; if (special != GFX_SPECIAL_ARG_EDITOR) continue; -- 2.34.1