rnd-20020906-3-src
[rocksndiamonds.git] / src / main.c
index 4cec054e76c2479219cbf577749e30ebbd9dfd37..a7542a476fe312774656ba74ae4a82b26173db7b 100644 (file)
@@ -136,13 +136,20 @@ char *sound_name[NUM_SOUNDS] =
   "gate.wav"
 };
 
-struct ArtworkConfigInfo image_config[] =
+struct ConfigInfo image_config[] =
 {
   /* graphics for Boulder Dash style elements and actions */
-  { "bd_diamond.waiting",              "bd_diamond.pcx"        },
+  { "bd_diamond",                      "bd_diamond.pcx"        },
+  { "bd_diamond.frame_xpos",           "0"                     },
+  { "bd_diamond.num_frames",           "1"                     },
+  { "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"             },
@@ -357,8 +364,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 */