X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fconf_snd.c;h=07ce6b44d464a7ec307ebaaf32fdd80ec28de583;hb=3140ab2a0de5599122e88579f48603146595e1c7;hp=642c96cfa497a3fb89a57ea1069b42f42a7da5c9;hpb=a750ba6776fdfb711f5da2e6094c8010cd19645a;p=rocksndiamonds.git diff --git a/src/conf_snd.c b/src/conf_snd.c index 642c96cf..07ce6b44 100644 --- a/src/conf_snd.c +++ b/src/conf_snd.c @@ -12,11 +12,18 @@ ***********************************************************/ #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 GFX_ARG_UNDEFINED, it will + be dynamically determined, using some of the other list values. */ + struct ConfigInfo sound_config_suffix[] = { - { NULL, NULL } + { ".mode_loop", ARG_UNDEFINED, TYPE_BOOLEAN }, + + { NULL, NULL, 0 } }; struct ConfigInfo sound_config[] = @@ -96,7 +103,8 @@ struct ConfigInfo sound_config[] = { "yamyam.moving", SND_FILE_UNDEFINED }, { "yamyam.waiting", "njam.wav" }, { "yamyam.eating", SND_FILE_UNDEFINED }, - { "robot.stepping", "schlurf.wav" }, + { "robot.moving", "schlurf.wav" }, + { "robot.moving.mode_loop", "false" }, { "robot.waiting", SND_FILE_UNDEFINED }, { "robot_wheel.activating", "deng.wav" }, { "robot_wheel.active", "miep.wav" },