rnd-20020428-3-src
[rocksndiamonds.git] / src / main.c
index 210bf381973e4bd09589e4a715eb23f792cc1c17..335cee2329c7b391fb16aee053a089fd2da17502 100644 (file)
@@ -20,8 +20,6 @@
 
 GC             tile_clip_gc;
 Bitmap        *pix[NUM_BITMAPS];
-Bitmap        *pix_default[NUM_BITMAPS];
-Bitmap        *pix_custom[NUM_BITMAPS];
 Pixmap         tile_clipmask[NUM_TILES];
 DrawBuffer     *fieldbuffer;
 DrawBuffer     *drawto_field;
@@ -138,20 +136,18 @@ char *sound_name[NUM_SOUNDS] =
   "gate.wav"
 };
 
-/* background music */
-int background_loop[] =
+/* sound effects: setup file identifiers and corresponding default filenames */
+struct
 {
-#if 0
-  SND_ALCHEMY,
-  SND_CHASE,
-  SND_NETWORK,
-  SND_CZARDASZ,
-  SND_TYGER,
-  SND_VOYAGER,
-  SND_TWILIGHT
-#endif
+  char *identifier;
+  char *default_filename;
+}
+sound_effect[NUM_SOUND_EFFECTS] =
+{
+  { "collecting_infotron",     "infotron.wav" },
+  { "falling_zonk",            "zonkdown.wav" },
+  { "pushing_zonk",            "zonkpush.wav" }
 };
-int num_bg_loops = sizeof(background_loop)/sizeof(int);
 
 char *element_info[] =
 {