/* Bitmaps with graphic file */
#define PIX_BACK 0
-#define PIX_DOOR 1
-#define PIX_HEROES 2
-#define PIX_TOONS 3
-#define PIX_SP 4
-#define PIX_DC 5
-#define PIX_MORE 6
-#define PIX_BIGFONT 7
-#define PIX_SMALLFONT 8
-#define PIX_MEDIUMFONT 9
+#define PIX_ELEMENTS 1
+#define PIX_DOOR 2
+#define PIX_HEROES 3
+#define PIX_TOONS 4
+#define PIX_SP 5
+#define PIX_DC 6
+#define PIX_MORE 7
+#define PIX_BIGFONT 8
+#define PIX_SMALLFONT 9
+#define PIX_MEDIUMFONT 10
/* Bitmaps without graphic file */
-#define PIX_DB_DOOR 10
-#define PIX_DB_FIELD 11
+#define PIX_DB_DOOR 11
+#define PIX_DB_FIELD 12
-#define NUM_PICTURES 10
+#define NUM_PICTURES 11
#define NUM_BITMAPS 12
/* boundaries of arrays etc. */
extern struct GlobalInfo global;
extern struct ElementInfo element_info[];
extern struct GraphicInfo graphic_info[];
-extern struct ArtworkConfigInfo image_config[], sound_config[];
+extern struct ConfigInfo image_config[], sound_config[];
+extern struct ConfigInfo image_config_suffix[], sound_config_suffix[];
+extern struct FileInfo *image_files, *sound_files;
/* often used screen positions */
#define SX 8
#define MICROLEV_YPOS (SX + 12 * TILEY - MICRO_TILEY)
#define MICROLABEL_YPOS (MICROLEV_YPOS + MICROLEV_YSIZE + 7)
-#define GFX_STARTX SX
-#define GFX_STARTY SY
-#define MINI_GFX_STARTX SX
-#define MINI_GFX_STARTY 424
-#define MICRO_GFX_STARTX SX
-#define MICRO_GFX_STARTY 536
+#define MINI_GFX_STARTX 0
+#define MINI_GFX_STARTY 416
+#define MICRO_GFX_STARTX 0
+#define MICRO_GFX_STARTY 528
#define GFX_PER_LINE 16
#define MINI_GFX_PER_LINE 32
#define MICRO_GFX_PER_LINE 128
#define EL_MAGIC_WALL_BD_FILLING 612
/* game graphics:
-** 0 - 255: graphics from "RocksScreen"
+** 0 - 255: graphics from "RocksElements"
** 256 - 511: graphics from "RocksFont"
** 512 - 767: graphics from "RocksHeroes"
** 768 - 1023: graphics from "RocksSP"
** 1280 - 1535: graphics from "RocksMore"
*/
-#define GFX_START_ROCKSSCREEN 0
-#define GFX_END_ROCKSSCREEN 255
+#define GFX_START_ROCKSELEMENTS 0
+#define GFX_END_ROCKSELEMENTS 255
#define GFX_START_ROCKSFONT 256
#define GFX_END_ROCKSFONT 511
#define GFX_START_ROCKSHEROES 512
#define NUM_SOUNDS 55
+/* values for image configuration suffixes */
+#define GFXARG_FRAME_XPOS 0
+#define GFXARG_FRAME_YPOS 1
+#define GFXARG_NUM_FRAMES 2
+
/* values for image configuration */
-#define GFX_BD_EMPTY_SPACE_DIGGING 0
-#define GFX_BD_SAND_DIGGING 1
-#define GFX_BD_DIAMOND_COLLECTING 2
-#define GFX_BD_DIAMOND_IMPACT 3
-#define GFX_BD_ROCK_PUSHING 4
-#define GFX_BD_ROCK_IMPACT 5
-#define GFX_BD_MAGIC_WALL_ACTIVATING 6
-#define GFX_BD_MAGIC_WALL_CHANGING 7
-#define GFX_BD_MAGIC_WALL_RUNNING 8
-#define GFX_BD_AMOEBA_WAITING 9
-#define GFX_BD_AMOEBA_CREATING 10
-#define GFX_BD_AMOEBA_TURNING_TO_GEM 11
-#define GFX_BD_AMOEBA_TURNING_TO_ROCK 12
-#define GFX_BD_BUTTERFLY_MOVING 13
-#define GFX_BD_BUTTERFLY_WAITING 14
-#define GFX_BD_FIREFLY_MOVING 15
-#define GFX_BD_FIREFLY_WAITING 16
-#define GFX_BD_EXIT_ENTERING 17
-
-#define NUM_IMAGE_CONFIG_ENTRIES 18
+#define GFX_BD_DIAMOND 0
+#define GFX_ROBOT_WHEEL 1
+
+#define NUM_IMAGE_FILES 2
+/* values for sound configuration suffixes */
+/* (currently none) */
/* values for sound configuration */
#define SND_BD_EMPTY_SPACE_DIGGING 0
#define SND_MENU_HALL_OF_FAME 167
#define SND_MENU_INFO_SCREEN 168
-#define NUM_SOUND_CONFIG_ENTRIES 169
+#define NUM_SOUND_FILES 169
/* values for game_status */