X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fconf_snd.c;h=a3a42c86552fd2272efecf8994e16f6e3879bd37;hp=1c3ce29a083677a45da67addc203c8ed9825072c;hb=dec5093fc78bfe1356d764c2432fed6566b2af66;hpb=e05dda5c8cc6687dcbc59e182a81aed627e262d0 diff --git a/src/conf_snd.c b/src/conf_snd.c index 1c3ce29a..a3a42c86 100644 --- a/src/conf_snd.c +++ b/src/conf_snd.c @@ -1,23 +1,21 @@ -/*********************************************************** -* 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" -/* 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[] = { @@ -30,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" }, @@ -40,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" }, @@ -59,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" }, @@ -81,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" }, @@ -121,6 +121,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 }, @@ -130,9 +133,18 @@ 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 */ + // sounds for Emerald Mine Club style elements and actions { "balloon.moving", UNDEFINED_FILENAME }, { "balloon.waiting", UNDEFINED_FILENAME }, { "balloon.pushing", "schlurf.wav" }, @@ -147,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" }, @@ -170,10 +182,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 }, @@ -182,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" }, @@ -225,52 +237,112 @@ 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 + { "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.LEVELNR", 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" }, - { "[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 } };