moved game values for score and health from player to game structure
[rocksndiamonds.git] / src / conf_snd.c
index c57e7ea11242b48df139375dc96288e0ffdd4f48..a3a42c86552fd2272efecf8994e16f6e3879bd37 100644 (file)
@@ -13,9 +13,9 @@
 #include "main.h"
 
 
-/* List values that are not defined in the configuration file are set to
-   reliable default values. If that value is SND_ARG_UNDEFINED, it will
-   be dynamically determined, using some of the other list values. */
+// List values that are not defined in the configuration file are set to
+// reliable default values. If that value is SND_ARG_UNDEFINED, it will
+// be dynamically determined, using some of the other list values.
 
 struct ConfigTypeInfo sound_config_suffix[] =
 {
@@ -28,7 +28,7 @@ struct ConfigTypeInfo sound_config_suffix[] =
 
 struct ConfigInfo sound_config[] =
 {
-  /* some default sounds */
+  // some default sounds
   { "[default].digging",               "schlurf.wav"                   },
   { "[default].collecting",            "pong.wav"                      },
   { "[default].snapping",              "pong.wav"                      },
@@ -38,9 +38,11 @@ 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 */
+  // sounds for Boulder Dash style elements and actions
   { "bd_diamond.collecting",           "pong.wav"                      },
   { "bd_diamond.impact",               "pling.wav"                     },
   { "bd_rock.pushing",                 "pusch.wav"                     },
@@ -57,7 +59,7 @@ struct ConfigInfo sound_config[] =
   { "bd_firefly.moving",               "roehr.wav"                     },
   { "bd_firefly.waiting",              "roehr.wav"                     },
 
-  /* sounds for Supaplex style elements and actions */
+  // sounds for Supaplex style elements and actions
   { "sp_base.digging",                 "base.wav"                      },
   { "sp_buggy_base.digging",           "base.wav"                      },
   { "sp_buggy_base.active",            "bug.wav"                       },
@@ -79,12 +81,12 @@ struct ConfigInfo sound_config[] =
   { "sp_terminal.activating",          UNDEFINED_FILENAME              },
   { "sp_terminal.active",              UNDEFINED_FILENAME              },
 
-  /* sounds for Sokoban style elements and actions */
+  // sounds for Sokoban style elements and actions
   { "[sokoban].pushing",               "pusch.wav"                     },
   { "[sokoban].filling",               "deng.wav"                      },
   { "[sokoban].emptying",              UNDEFINED_FILENAME              },
 
-  /* sounds for Emerald Mine style elements and actions */
+  // sounds for Emerald Mine style elements and actions
   { "[player].moving",                 "empty.wav"                     },
   { "[player].moving.mode_loop",       "false"                         },
   { "sand.digging",                    "schlurf.wav"                   },
@@ -142,7 +144,7 @@ struct ConfigInfo sound_config[] =
   { "[em_steel_exit].passing",         "buing.wav"                     },
   { "penguin.passing",                 "buing.wav"                     },
 
-  /* sounds for Emerald Mine Club style elements and actions */
+  // sounds for Emerald Mine Club style elements and actions
   { "balloon.moving",                  UNDEFINED_FILENAME              },
   { "balloon.waiting",                 UNDEFINED_FILENAME              },
   { "balloon.pushing",                 "schlurf.wav"                   },
@@ -157,7 +159,7 @@ struct ConfigInfo sound_config[] =
   { "emc_android.dropping",            "deng.wav"                      },
   { "emc_magic_ball.dropping",         "deng.wav"                      },
 
-  /* sounds for Diamond Caves style elements and actions */
+  // sounds for Diamond Caves style elements and actions
   { "pearl.collecting",                        "pong.wav"                      },
   { "pearl.breaking",                  "knack.wav"                     },
   { "pearl.impact",                    "pling.wav"                     },
@@ -192,13 +194,13 @@ struct ConfigInfo sound_config[] =
   { "light_switch.activating",         UNDEFINED_FILENAME              },
   { "light_switch.deactivating",       UNDEFINED_FILENAME              },
 
-  /* sounds for DX Boulderdash style elements and actions */
+  // sounds for DX Boulderdash style elements and actions
   { "dx_supabomb.pushing",             "pusch.wav"                     },
   { "trap.digging",                    "schlurf.wav"                   },
   { "trap.activating",                 UNDEFINED_FILENAME              },
   { "[tube].walking",                  UNDEFINED_FILENAME              },
 
-  /* sounds for Rocks'n'Diamonds style elements and actions */
+  // sounds for Rocks'n'Diamonds style elements and actions
   { "amoeba.turning_to_gem",           "pling.wav"                     },
   { "amoeba.turning_to_rock",          "klopf.wav"                     },
   { "speed_pill.collecting",           "pong.wav"                      },
@@ -235,25 +237,75 @@ struct ConfigInfo sound_config[] =
   { "dragon.waiting",                  UNDEFINED_FILENAME              },
   { "dragon.attacking",                        UNDEFINED_FILENAME              },
 
-  /* sounds not associated to game elements (used for menu screens etc.) */
-  /* keyword to stop parser: "NO_MORE_ELEMENT_SOUNDS" <-- do not change! */
+  // 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"                       },
 
-  /* sounds for other game actions */
+  { "[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"                   },
+  // sounds for other non-game actions
+  { "door.opening",                    "door.wav"                      },
+  { "door.closing",                    "door.wav"                      },
+  { "door_1.opening",                  UNDEFINED_FILENAME              },
+  { "door_1.closing",                  UNDEFINED_FILENAME              },
+  { "door_2.opening",                  UNDEFINED_FILENAME              },
+  { "door_2.closing",                  UNDEFINED_FILENAME              },
 
   { "request.opening",                 UNDEFINED_FILENAME              },
   { "request.closing",                 UNDEFINED_FILENAME              },
 
-  /* sounds for menu actions */
+  // sounds for menu actions
   { "menu.item.activating",            "empty.wav"                     },
   { "menu.item.selecting",             "base.wav"                      },
 
@@ -264,6 +316,7 @@ struct ConfigInfo sound_config[] =
   { "background.TITLE",                        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              },