rnd-20020907-1-src
[rocksndiamonds.git] / src / main.c
index 324c4f57cdd805b36c7c70e114122841a68e236a..68466fe5d63e82b1225da3aabfe6f9680c1c1816 100644 (file)
@@ -136,7 +136,20 @@ char *sound_name[NUM_SOUNDS] =
   "gate.wav"
 };
 
-struct ArtworkConfigInfo image_config[] =
+char *image_config_suffix[] =
+{
+  ".frame_xpos",
+  ".frame_ypos",
+  ".num_frames",
+  NULL
+};
+
+char *sound_config_suffix[] =
+{
+  NULL
+};
+
+struct ConfigInfo image_config[] =
 {
   /* graphics for Boulder Dash style elements and actions */
   { "bd_diamond",                      "bd_diamond.pcx"        },
@@ -145,9 +158,11 @@ struct ArtworkConfigInfo image_config[] =
   { "robot_wheel",                     "bd_diamond.pcx"        },
   { "robot_wheel.frame_xpos",          "0"                     },
   { "robot_wheel.num_frames",          "4"                     },
+
+  { NULL,                              NULL                    },
 };
 
-struct ArtworkConfigInfo sound_config[] =
+struct ConfigInfo sound_config[] =
 {
   /* sounds for Boulder Dash style elements and actions */
   { "bd_empty_space.digging",          "empty.wav"             },
@@ -362,8 +377,13 @@ struct ArtworkConfigInfo sound_config[] =
   { "[not used]",                      "whoosh.wav"            },
   { "[not used]",                      "boom.wav"              },
 #endif
+
+  { NULL,                              NULL                    },
 };
 
+struct FileInfo *image_files;
+struct FileInfo *sound_files;
+
 struct ElementInfo element_info[MAX_ELEMENTS] =
 {
   { "empty_space",             "empty space"                   },      /* 0 */