rnd-20050117-1-src
[rocksndiamonds.git] / src / conf_snd.c
index deb105e2955c0416d43616b76822722412d067a9..222f43f92da70821b6ad5da9c0633e23a768274a 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"                     },
@@ -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"                      },