replaced hardcoded sounds with newly added element action sounds (MM engine)
[rocksndiamonds.git] / src / conf_snd.c
index ea26f961361b437685ebf5509eb6e46f08704912..854fe05cad9d875887e2a591899c85ff28b89316 100644 (file)
@@ -1,15 +1,13 @@
-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back!               *
-*----------------------------------------------------------*
-* (c) 1995-2006 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"
@@ -40,7 +38,9 @@ struct ConfigInfo sound_config[] =
   { "[default].passing",               "gate.wav"                      },
   { "[default].dying",                 "autsch.wav"                    },
   { "[default].exploding",             "roaaar.wav"                    },
+  { "[default].hitting",               "kink.wav"                      },
   { "[sp_default].exploding",          "booom.wav"                     },
+  { "[mm_default].exploding",          "kabumm.wav"                    },
 
   /* sounds for Boulder Dash style elements and actions */
   { "bd_diamond.collecting",           "pong.wav"                      },
@@ -237,80 +237,108 @@ struct ConfigInfo sound_config[] =
   { "dragon.waiting",                  UNDEFINED_FILENAME              },
   { "dragon.attacking",                        UNDEFINED_FILENAME              },
 
+  /* sounds for Mirror Magic style elements and actions */
+  { "[mm_mcduffin].hitting",           "autsch.wav"                    },
+  { "[mm_mirror].hitting",             "laser.wav"                     },
+  { "[mm_mirror_fixed].hitting",       "laser.wav"                     },
+  { "[mm_prism].hitting",              "laser.wav"                     },
+  { "[mm_exit].hitting",               "holz.wav"                      },
+  { "[mm_exit].opening",               "kling.wav"                     },
+  { "mm_exit_open.hitting",            UNDEFINED_FILENAME              },
+  { "[df_mirror].hitting",             "laser.wav"                     },
+  { "[df_mirror_rotating].hitting",    "laser.wav"                     },
+  { "[df_refractor].hitting",          "laser.wav"                     },
+  { "[df_receiver].hitting",           "holz.wav"                      },
+  { "[df_receiver].opening",           "kling.wav"                     },
+  { "[mm_wooden_wall].hitting",                "holz.wav"                      },
+  { "[mm_wooden_block].hitting",       "holz.wav"                      },
+  { "[mm_wooden_block].pushing",       "bong.wav"                      },
+  { "[mm_wooden_lock].hitting",                "holz.wav"                      },
+  { "[mm_wooden_grid_fixed].hitting",  "holz.wav"                      },
+  { "[mm_fuse].hitting",               "holz.wav"                      },
+  { "[mm_ice_wall].hitting",           "holz.wav"                      },
+  { "[mm_ice_wall].shrinking",         "slurp.wav"                     },
+  { "[mm_amoeba_wall].hitting",                "holz.wav"                      },
+  { "[mm_amoeba_wall].growing",                "amoebe.wav"                    },
+  { "[mm_amoeba_wall].growing.mode_loop","false"                       },
+  { "[df_wooden_wall].hitting",                "holz.wav"                      },
+  { "[df_wooden_grid_fixed].hitting",  "holz.wav"                      },
+  { "[df_wooden_grid_rotating].hitting","holz.wav"                     },
+  { "[mm_steel_wall].hitting",         "hui.wav"                       },
+  { "[mm_steel_grid_fixed].hitting",   "hui.wav"                       },
+  { "[mm_steel_block].hitting",                "hui.wav"                       },
+  { "[mm_steel_block].pushing",                "bong.wav"                      },
+  { "[mm_steel_lock].hitting",         "hui.wav"                       },
+  { "[df_steel_wall].hitting",         "hui.wav"                       },
+  { "[df_steel_grid_fixed].hitting",   "hui.wav"                       },
+  { "[df_steel_grid_rotating].hitting",        "hui.wav"                       },
+
+  { "[mm_pacman].exploding",           "quiek.wav"                     },
+  { "[mm_mcduffin].exploding",         "roaaar.wav"                    },
+  { "[mm_bomb].exploding",             "roaaar.wav"                    },
+  { "[mm_key].exploding",              "kling.wav"                     },
+  { "[mm_steel_lock].exploding",       "whoosh.wav"                    },
+  { "[mm_wooden_lock].exploding",      "whoosh.wav"                    },
+
   /* sounds not associated to game elements (used for menu screens etc.) */
   /* keyword to stop parser: "NO_MORE_ELEMENT_SOUNDS" <-- do not change! */
 
   /* sounds for other game actions */
   { "game.starting",                   UNDEFINED_FILENAME              },
+  { "game.leveltime_charging",         "fuel.wav"                      },
+  { "game.health_charging",            "warnton.wav"                   },
   { "game.running_out_of_time",                "gong.wav"                      },
   { "game.leveltime_bonus",            "sirr.wav"                      },
+  { "game.health_bonus",               "sirr.wav"                      },
   { "game.losing",                     "lachen.wav"                    },
   { "game.winning",                    UNDEFINED_FILENAME              },
   { "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.MESSAGE_INITIAL",      UNDEFINED_FILENAME              },
-  { "background.MESSAGE",              UNDEFINED_FILENAME              },
   { "background.MAIN",                 UNDEFINED_FILENAME              },
   { "background.LEVELS",               UNDEFINED_FILENAME              },
+  { "background.LEVELNR",              UNDEFINED_FILENAME              },
   { "background.SCORES",               "halloffame.wav"                },
   { "background.SCORES.mode_loop",     "false"                         },
   { "background.EDITOR",               UNDEFINED_FILENAME              },
   { "background.INFO",                 UNDEFINED_FILENAME              },
   { "background.SETUP",                        UNDEFINED_FILENAME              },
 
-  { "titlescreen_initial_1",           UNDEFINED_FILENAME              },
-  { "titlescreen_initial_2",           UNDEFINED_FILENAME              },
-  { "titlescreen_initial_3",           UNDEFINED_FILENAME              },
-  { "titlescreen_initial_4",           UNDEFINED_FILENAME              },
-  { "titlescreen_initial_5",           UNDEFINED_FILENAME              },
-  { "titlescreen_1",                   UNDEFINED_FILENAME              },
-  { "titlescreen_2",                   UNDEFINED_FILENAME              },
-  { "titlescreen_3",                   UNDEFINED_FILENAME              },
-  { "titlescreen_4",                   UNDEFINED_FILENAME              },
-  { "titlescreen_5",                   UNDEFINED_FILENAME              },
-  { "titlemessage_initial_1",          UNDEFINED_FILENAME              },
-  { "titlemessage_initial_2",          UNDEFINED_FILENAME              },
-  { "titlemessage_initial_3",          UNDEFINED_FILENAME              },
-  { "titlemessage_initial_4",          UNDEFINED_FILENAME              },
-  { "titlemessage_initial_5",          UNDEFINED_FILENAME              },
-  { "titlemessage_1",                  UNDEFINED_FILENAME              },
-  { "titlemessage_2",                  UNDEFINED_FILENAME              },
-  { "titlemessage_3",                  UNDEFINED_FILENAME              },
-  { "titlemessage_4",                  UNDEFINED_FILENAME              },
-  { "titlemessage_5",                  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                            }
 };