projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20041017-1-src
[rocksndiamonds.git]
/
src
/
conf_snd.c
diff --git
a/src/conf_snd.c
b/src/conf_snd.c
index deb105e2955c0416d43616b76822722412d067a9..ef891ee14f8abdec537c5a4cd37fa1d882a52ace 100644
(file)
--- 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. */
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 Config
Type
Info sound_config_suffix[] =
{
{ ".mode_loop", ARG_UNDEFINED, TYPE_BOOLEAN },
{
{ ".mode_loop", ARG_UNDEFINED, TYPE_BOOLEAN },
+ { ".volume", "100", TYPE_INTEGER },
+ { ".priority", "0", TYPE_INTEGER },
{ NULL, NULL, 0 }
};
{ NULL, NULL, 0 }
};
@@
-88,8
+90,8
@@
struct ConfigInfo sound_config[] =
{ "[player].moving", "empty.wav" },
{ "[player].moving.mode_loop", "false" },
{ "sand.digging", "schlurf.wav" },
{ "[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" },
{ "diamond.collecting", "pong.wav" },
{ "diamond.impact", "pling.wav" },
{ "diamond.breaking", "quirk.wav" },