rnd-20040927-1-src
[rocksndiamonds.git] / src / conf_snd.c
index deb105e2955c0416d43616b76822722412d067a9..ef891ee14f8abdec537c5a4cd37fa1d882a52ace 100644 (file)
    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"                     },