added alternative (new) door sound
[rocksndiamonds.git] / src / conf_snd.c
index deb105e2955c0416d43616b76822722412d067a9..9b18ed962ad1cb0f219c76e48b4397efcc898a86 100644 (file)
@@ -1,15 +1,13 @@
-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back!               *
-*----------------------------------------------------------*
-* (c) 1995-2002 Artsoft Entertainment                      *
-*               Holger Schemel                             *
-*               Detmolder Strasse 189                      *
-*               33604 Bielefeld                            *
-*               Germany                                    *
-*               e-mail: info@artsoft.org                   *
-*----------------------------------------------------------*
-* conf_snd.c                                               *
-***********************************************************/
+// ============================================================================
+// Rocks'n'Diamonds - McDuffin Strikes Back!
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+//                         Holger Schemel
+//                 info@artsoft.org
+//                 http://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// conf_snd.c
+// ============================================================================
 
 #include "libgame/libgame.h"
 #include "main.h"
    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[] =
+struct ConfigTypeInfo sound_config_suffix[] =
 {
   { ".mode_loop",                      ARG_UNDEFINED,  TYPE_BOOLEAN    },
+  { ".volume",                         "100",          TYPE_INTEGER    },
+  { ".priority",                       "0",            TYPE_INTEGER    },
 
   { NULL,                              NULL,           0               }
 };
@@ -88,8 +88,8 @@ struct ConfigInfo sound_config[] =
   { "[player].moving",                 "empty.wav"                     },
   { "[player].moving.mode_loop",       "false"                         },
   { "sand.digging",                    "schlurf.wav"                   },
-  { "emerald.collecting",              "pong.wav"                      },
-  { "emerald.impact",                  "pling.wav"                     },
+  { "[emerald].collecting",            "pong.wav"                      },
+  { "[emerald].impact",                        "pling.wav"                     },
   { "diamond.collecting",              "pong.wav"                      },
   { "diamond.impact",                  "pling.wav"                     },
   { "diamond.breaking",                        "quirk.wav"                     },
@@ -110,7 +110,7 @@ struct ConfigInfo sound_config[] =
   { "spaceship.waiting",               "roehr.wav"                     },
   { "yamyam.moving",                   UNDEFINED_FILENAME              },
   { "yamyam.waiting",                  "njam.wav"                      },
-  { "yamyam.digging",                  UNDEFINED_FILENAME              },
+  { "yamyam.digging",                  "njam.wav"                      },
   { "robot.moving",                    "schlurf.wav"                   },
   { "robot.moving.mode_loop",          "false"                         },
   { "robot.waiting",                   UNDEFINED_FILENAME              },
@@ -119,6 +119,9 @@ struct ConfigInfo sound_config[] =
   { "magic_wall.activating",           "quirk.wav"                     },
   { "magic_wall.active",               "miep.wav"                      },
   { "magic_wall.filling",              "quirk.wav"                     },
+  { "dc_magic_wall.activating",                "quirk.wav"                     },
+  { "dc_magic_wall.active",            "miep.wav"                      },
+  { "dc_magic_wall.filling",           "quirk.wav"                     },
   { "[amoeba].waiting",                        UNDEFINED_FILENAME              },
   { "[amoeba].growing",                        "amoebe.wav"                    },
   { "[amoeba].dropping",               UNDEFINED_FILENAME              },
@@ -128,6 +131,15 @@ struct ConfigInfo sound_config[] =
   { "[exit].opening",                  "oeffnen.wav"                   },
   { "[exit].closing",                  "oeffnen.wav"                   },
   { "[exit].passing",                  "buing.wav"                     },
+  { "[steel_exit].opening",            "oeffnen.wav"                   },
+  { "[steel_exit].closing",            "oeffnen.wav"                   },
+  { "[steel_exit].passing",            "buing.wav"                     },
+  { "[em_exit].opening",               "gong.wav"                      },
+  { "[em_exit].closing",               UNDEFINED_FILENAME              },
+  { "[em_exit].passing",               "buing.wav"                     },
+  { "[em_steel_exit].opening",         "gong.wav"                      },
+  { "[em_steel_exit].closing",         UNDEFINED_FILENAME              },
+  { "[em_steel_exit].passing",         "buing.wav"                     },
   { "penguin.passing",                 "buing.wav"                     },
 
   /* sounds for Emerald Mine Club style elements and actions */
@@ -139,6 +151,11 @@ struct ConfigInfo sound_config[] =
   { "spring.pushing",                  "pusch.wav"                     },
   { "spring.impact",                   "klopf.wav"                     },
   { "[wall].growing",                  UNDEFINED_FILENAME              },
+  { "emc_android.pushing",             "pusch.wav"                     },
+  { "emc_android.moving",              "roehr.wav"                     },
+  { "emc_android.moving.mode_loop",    "false"                         },
+  { "emc_android.dropping",            "deng.wav"                      },
+  { "emc_magic_ball.dropping",         "deng.wav"                      },
 
   /* sounds for Diamond Caves style elements and actions */
   { "pearl.collecting",                        "pong.wav"                      },
@@ -150,6 +167,7 @@ struct ConfigInfo sound_config[] =
   { "[envelope].opening",              UNDEFINED_FILENAME              },
   { "[envelope].closing",              UNDEFINED_FILENAME              },
   { "invisible_sand.digging",          "schlurf.wav"                   },
+  { "invisible_sand.active.digging",   "schlurf.wav"                   },
   { "shield_normal.collecting",                "pong.wav"                      },
   { "shield_normal.active",            UNDEFINED_FILENAME              },
   { "shield_deadly.collecting",                "pong.wav"                      },
@@ -162,10 +180,10 @@ struct ConfigInfo sound_config[] =
   { "[switchgate].opening",            "oeffnen.wav"                   },
   { "[switchgate].closing",            "oeffnen.wav"                   },
   { "[switchgate].passing",            "gate.wav"                      },
-  { "timegate_switch.activating",      "deng.wav"                      },
-  { "timegate_switch.active",          "miep.wav"                      },
-  { "timegate_switch.deactivating",    UNDEFINED_FILENAME              },
-  { "timegate.opening",                        "oeffnen.wav"                   },
+  { "[timegate_switch].activating",    "deng.wav"                      },
+  { "[timegate_switch].active",                "miep.wav"                      },
+  { "[timegate_switch].deactivating",  UNDEFINED_FILENAME              },
+  { "[timegate].opening",              "oeffnen.wav"                   },
   { "[timegate].closing",              "oeffnen.wav"                   },
   { "[timegate].passing",              "gate.wav"                      },
   { "[conveyor_belt_switch].activating",UNDEFINED_FILENAME             },
@@ -229,9 +247,21 @@ struct ConfigInfo sound_config[] =
   { "game.sokoban_solving",            "buing.wav"                     },
 
   /* sounds for other non-game actions */
-  { "door.opening",                    "oeffnen.wav"                   },
-  { "door.closing",                    "oeffnen.wav"                   },
+  { "door.opening",                    "door.wav"                      },
+  { "door.closing",                    "door.wav"                      },
 
+  { "request.opening",                 UNDEFINED_FILENAME              },
+  { "request.closing",                 UNDEFINED_FILENAME              },
+
+  /* sounds for menu actions */
+  { "menu.item.activating",            "empty.wav"                     },
+  { "menu.item.selecting",             "base.wav"                      },
+
+  { "menu.button.pressing",            UNDEFINED_FILENAME              },
+  { "menu.button.releasing",           UNDEFINED_FILENAME              },
+
+  { "background.TITLE_INITIAL",                UNDEFINED_FILENAME              },
+  { "background.TITLE",                        UNDEFINED_FILENAME              },
   { "background.MAIN",                 UNDEFINED_FILENAME              },
   { "background.LEVELS",               UNDEFINED_FILENAME              },
   { "background.SCORES",               "halloffame.wav"                },
@@ -240,28 +270,26 @@ struct ConfigInfo sound_config[] =
   { "background.INFO",                 UNDEFINED_FILENAME              },
   { "background.SETUP",                        UNDEFINED_FILENAME              },
 
-#if 0
-  { "[not used]",                      "antigrav.wav"                  },
-  { "[not used]",                      "bong.wav"                      },
-  { "[not used]",                      "fuel.wav"                      },
-  { "[not used]",                      "holz.wav"                      },
-  { "[not used]",                      "hui.wav"                       },
-  { "[not used]",                      "kabumm.wav"                    },
-  { "[not used]",                      "kink.wav"                      },
-  { "[not used]",                      "kling.wav"                     },
-  { "[not used]",                      "krach.wav"                     },
-  { "[not used]",                      "laser.wav"                     },
-  { "[not used]",                      "quiek.wav"                     },
-  { "[not used]",                      "rumms.wav"                     },
-  { "[not used]",                      "schlopp.wav"                   },
-  { "[not used]",                      "schrff.wav"                    },
-  { "[not used]",                      "schwirr.wav"                   },
-  { "[not used]",                      "slurp.wav"                     },
-  { "[not used]",                      "sproing.wav"                   },
-  { "[not used]",                      "warnton.wav"                   },
-  { "[not used]",                      "whoosh.wav"                    },
-  { "[not used]",                      "boom.wav"                      },
-#endif
+  { "background.titlescreen_initial_1",        UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_2",        UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_3",        UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_4",        UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_5",        UNDEFINED_FILENAME              },
+  { "background.titlescreen_1",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_2",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_3",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_4",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_5",                UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_1",UNDEFINED_FILENAME             },
+  { "background.titlemessage_initial_2",UNDEFINED_FILENAME             },
+  { "background.titlemessage_initial_3",UNDEFINED_FILENAME             },
+  { "background.titlemessage_initial_4",UNDEFINED_FILENAME             },
+  { "background.titlemessage_initial_5",UNDEFINED_FILENAME             },
+  { "background.titlemessage_1",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_2",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_3",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_4",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_5",       UNDEFINED_FILENAME              },
 
   { NULL,                              NULL                            }
 };