rnd-20020908-2-src
[rocksndiamonds.git] / src / main.c
index 51fa055d2aeaea7ed6755ed0c0665c6d45d14351..713b6a9b33157ff128369130f05157cc443be1d9 100644 (file)
@@ -136,30 +136,34 @@ char *sound_name[NUM_SOUNDS] =
   "gate.wav"
 };
 
-struct ArtworkConfigInfo image_config[] =
+struct ConfigInfo image_config_suffix[] =
+{
+  { ".frame_xpos",                     "0"                     },
+  { ".frame_ypos",                     "0"                     },
+  { ".num_frames",                     "1"                     },
+
+  { NULL,                              NULL                    }
+};
+
+struct ConfigInfo sound_config_suffix[] =
+{
+  { NULL,                              NULL                    }
+};
+
+struct ConfigInfo image_config[] =
 {
   /* graphics for Boulder Dash style elements and actions */
-  { "bd_empty_space.digging",          "empty.pcx"             },
-  { "bd_sand.digging",                 "schlurf.pcx"           },
-  { "bd_diamond.collecting",           "pong.pcx"              },
-  { "bd_diamond.impact",               "pling.pcx"             },
-  { "bd_rock.pushing",                 "pusch.pcx"             },
-  { "bd_rock.impact",                  "klopf.pcx"             },
-  { "bd_magic_wall.activating",                "quirk.pcx"             },
-  { "bd_magic_wall.changing",          "quirk.pcx"             },
-  { "bd_magic_wall.running",           "miep.pcx"              },
-  { "bd_amoeba.waiting",               "amoebe.pcx"            },
-  { "bd_amoeba.creating",              "amoebe.pcx"            },
-  { "bd_amoeba.turning_to_gem",                "pling.pcx"             },
-  { "bd_amoeba.turning_to_rock",       "klopf.pcx"             },
-  { "bd_butterfly.moving",             "klapper.pcx"           },
-  { "bd_butterfly.waiting",            "klapper.pcx"           },
-  { "bd_firefly.moving",               "roehr.pcx"             },
-  { "bd_firefly.waiting",              "roehr.pcx"             },
-  { "bd_exit.entering",                        "buing.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"             },
@@ -374,8 +378,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 */