ThemeCfg: Add fallback-music and fallback-sd-music
authorWuzzy
Wed, 14 Feb 2018 00:08:49 +0000
changeset 1194 d20d8214bb67
parent 1193 4e4e0725777d
child 1195 a7030faac31e
ThemeCfg: Add fallback-music and fallback-sd-music
ThemeCfg.wiki
--- a/ThemeCfg.wiki	Tue Feb 13 08:25:21 2018 +0000
+++ b/ThemeCfg.wiki	Wed Feb 14 00:08:49 2018 +0000
@@ -112,6 +112,17 @@
 
 Default: `sdmusic.ogg` (only if `music` was specified, no music otherwise)
 
+== `fallback-music` ==
+Fallback music for the `music` setting. This setting should be added whenever you use a custom music which is not part of the official Hedgewars install. Otherwise you don't need to set this.
+If the music specified in `music` is missing, Hedgewars attempts to use this fallback music istead. **Only** use tracks which come with the official Hedgewars install.
+
+Note that if Hedgewars fails to find a music, it defaults to silence.
+
+Fallback music is not yet supported in 0.9.23, but it will be supported in 0.9.24. You can already add this setting safely, Hedgewars 0.9.23 (and earlier) will just ignore it.
+
+== `fallback-sd-music` ==
+Like `fallback-music`, except it's for `sd-music`.
+
 == `clouds` ==
 The number of clouds to create, before Sudden Death. Uses `Clouds.png`.