X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fconf_snd.c;h=222f43f92da70821b6ad5da9c0633e23a768274a;hp=deb105e2955c0416d43616b76822722412d067a9;hb=d8e3568accbc475855027f7199e55543dc4d1ddf;hpb=891c39ca37c4fea5f6cc4ca40f913a56c68ef495 diff --git a/src/conf_snd.c b/src/conf_snd.c index deb105e2..222f43f9 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" }, @@ -150,6 +152,7 @@ struct ConfigInfo sound_config[] = { "[envelope].opening", UNDEFINED_FILENAME }, { "[envelope].closing", UNDEFINED_FILENAME }, { "invisible_sand.digging", "schlurf.wav" }, + { "invisible_sand.active.digging", "schlurf.wav" }, { "shield_normal.collecting", "pong.wav" }, { "shield_normal.active", UNDEFINED_FILENAME }, { "shield_deadly.collecting", "pong.wav" },