X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fconf_snd.c;h=ef891ee14f8abdec537c5a4cd37fa1d882a52ace;hb=7d171d862abdecced79f60535b49a686386cefe1;hp=deb105e2955c0416d43616b76822722412d067a9;hpb=891c39ca37c4fea5f6cc4ca40f913a56c68ef495;p=rocksndiamonds.git diff --git a/src/conf_snd.c b/src/conf_snd.c index deb105e2..ef891ee1 100644 --- a/src/conf_snd.c +++ b/src/conf_snd.c @@ -19,9 +19,11 @@ 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 +90,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" },