rnd-20031116-2-src
[rocksndiamonds.git] / src / conf_snd.c
index dc002cc7738a48742b6e61f2caa02f3bda9b4ca9..9d028a5adbfb0afa24e56d134582690e61fd5a24 100644 (file)
@@ -16,7 +16,7 @@
 
 
 /* List values that are not defined in the configuration file are set to
-   reliable default values. If that value is GFX_ARG_UNDEFINED, it will
+   reliable default values. If that value is SND_ARG_UNDEFINED, it will
    be dynamically determined, using some of the other list values. */
 
 struct ConfigInfo sound_config_suffix[] =
@@ -28,6 +28,18 @@ struct ConfigInfo sound_config_suffix[] =
 
 struct ConfigInfo sound_config[] =
 {
+  /* some default sounds */
+  { "[default].digging",               "schlurf.wav"           },
+  { "[default].collecting",            "pong.wav"              },
+  { "[default].snapping",              "pong.wav"              },
+  { "[default].pushing",               "pusch.wav"             },
+  { "[default].impact",                        "klopf.wav"             },
+  { "[default].walking",               "empty.wav"             },
+  { "[default].passing",               "gate.wav"              },
+  { "[default].dying",                 "autsch.wav"            },
+  { "[default].exploding",             "roaaar.wav"            },
+  { "[sp_default].exploding",          "booom.wav"             },
+
   /* sounds for Boulder Dash style elements and actions */
   { "bd_diamond.collecting",           "pong.wav"              },
   { "bd_diamond.impact",               "pling.wav"             },
@@ -59,6 +71,7 @@ struct ConfigInfo sound_config[] =
   { "[sp_port].passing",               "gate.wav"              },
   { "[sp_exit].passing",               "exit.wav"              },
   { "[sp_exit].opening",               UNDEFINED_FILENAME      },
+  { "[sp_exit].closing",               UNDEFINED_FILENAME      },
   { "sp_sniksnak.moving",              UNDEFINED_FILENAME      },
   { "sp_sniksnak.waiting",             UNDEFINED_FILENAME      },
   { "sp_electron.moving",              UNDEFINED_FILENAME      },
@@ -72,7 +85,8 @@ struct ConfigInfo sound_config[] =
   { "[sokoban].emptying",              UNDEFINED_FILENAME      },
 
   /* sounds for Emerald Mine style elements and actions */
-  { "empty_space.digging",             "empty.wav"             },
+  { "[player].moving",                 "empty.wav"             },
+  { "[player].moving.mode_loop",       "false"                 },
   { "sand.digging",                    "schlurf.wav"           },
   { "emerald.collecting",              "pong.wav"              },
   { "emerald.impact",                  "pling.wav"             },
@@ -112,6 +126,7 @@ struct ConfigInfo sound_config[] =
   { "[quicksand].filling",             UNDEFINED_FILENAME      },
   { "[quicksand].emptying",            UNDEFINED_FILENAME      },
   { "[exit].opening",                  "oeffnen.wav"           },
+  { "[exit].closing",                  "oeffnen.wav"           },
   { "[exit].passing",                  "buing.wav"             },
   { "penguin.passing",                 "buing.wav"             },
 
@@ -131,7 +146,9 @@ struct ConfigInfo sound_config[] =
   { "pearl.impact",                    "pling.wav"             },
   { "crystal.collecting",              "pong.wav"              },
   { "crystal.impact",                  "pling.wav"             },
-  { "envelope.collecting",             "pong.wav"              },
+  { "[envelope].collecting",           "pong.wav"              },
+  { "[envelope].opening",              UNDEFINED_FILENAME      },
+  { "[envelope].closing",              UNDEFINED_FILENAME      },
   { "invisible_sand.digging",          "schlurf.wav"           },
   { "shield_normal.collecting",                "pong.wav"              },
   { "shield_normal.active",            UNDEFINED_FILENAME      },
@@ -161,7 +178,7 @@ struct ConfigInfo sound_config[] =
   { "dx_supabomb.pushing",             "pusch.wav"             },
   { "trap.digging",                    "schlurf.wav"           },
   { "trap.activating",                 UNDEFINED_FILENAME      },
-  { "[tube].passing",                  UNDEFINED_FILENAME      },
+  { "[tube].walking",                  UNDEFINED_FILENAME      },
 
   /* sounds for Rocks'n'Diamonds style elements and actions */
   { "amoeba.turning_to_gem",           "pling.wav"             },
@@ -200,11 +217,6 @@ struct ConfigInfo sound_config[] =
   { "dragon.waiting",                  UNDEFINED_FILENAME      },
   { "dragon.attacking",                        UNDEFINED_FILENAME      },
 
-  /* sounds for generic elements and actions */
-  { "[player].dying",                  "autsch.wav"            },
-  { "element.exploding",               "roaaar.wav"            },
-  { "sp_element.exploding",            "booom.wav"             },
-
   /* sounds not associated to game elements (used for menu screens etc.) */
   /* keyword to stop parser: "NO_MORE_ELEMENT_SOUNDS" <-- do not change! */
 
@@ -217,14 +229,16 @@ struct ConfigInfo sound_config[] =
   { "game.sokoban_solving",            "buing.wav"             },
 
   /* sounds for other non-game actions */
-  { "menu.door_opening",               "oeffnen.wav"           },
-  { "menu.door_closing",               "oeffnen.wav"           },
-
-  { "menu.hall_of_fame",               "halloffame.wav"        },
-  { "menu.hall_of_fame.mode_loop",     "false"                 },
+  { "door.opening",                    "oeffnen.wav"           },
+  { "door.closing",                    "oeffnen.wav"           },
 
-  { "menu.info_screen",                        "rhythmloop.wav"        },
-  { "menu.info_screen.mode_loop",      "true"                  },
+  { "background.MAIN",                 UNDEFINED_FILENAME      },
+  { "background.LEVELS",               UNDEFINED_FILENAME      },
+  { "background.SCORES",               "halloffame.wav"        },
+  { "background.SCORES.mode_loop",     "false"                 },
+  { "background.EDITOR",               UNDEFINED_FILENAME      },
+  { "background.INFO",                 UNDEFINED_FILENAME      },
+  { "background.SETUP",                        UNDEFINED_FILENAME      },
 
 #if 0
   { "[not used]",                      "antigrav.wav"          },