# HG changeset patch # User Wuzzy # Date 1523926077 -3600 # Node ID 7368027d526fec42a57e3ff4c405dfa731fe6fa7 # Parent fa3ef0be3f4e1b3bac94766850491e69b528c991 ThemeCfg: upd headers diff -r fa3ef0be3f4e -r 7368027d526f ThemeCfg.wiki --- a/ThemeCfg.wiki Tue Apr 17 01:46:52 2018 +0100 +++ b/ThemeCfg.wiki Tue Apr 17 01:47:57 2018 +0100 @@ -1,6 +1,6 @@ #summary Structure of the theme.cfg file -= `theme.cfg` = += Structure of `theme.cfg` = == Syntax == @@ -22,8 +22,7 @@ Literally all lines in the `theme.cfg` file are optional, thus an empty file is valid. Everything has a default value. However, some default values are not really useful (e.g. the water or sky color) and you should therefore explicitly specify enough values. -== Keys == -== General configuration == +== General configuration keys == === `hidden` (0.9.24) === If this key is present in `theme.cfg` (the value does not matter), the theme will be hidden from the theme selection menu. Background themes *must* be hidden. @@ -33,7 +32,7 @@ === `snow` === If this key is present (any value), the flakes which are normally purely decorational now behave like snowflakes. When they collide with terrain, they become a part of the landscape. This significantly changes the gameplay of your theme, so use wisely. If this key is not present, the flakes are purely decorational. -== Land == +== Land keys == === `border` === The colour of the outline of explosions. @@ -71,7 +70,7 @@ Values: name, number -== Water == +== Water keys == === `water-top` === The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death. This makes a gradient together with `water-bottom`. The default color is blue and matches the default `BlueColor.png`. @@ -132,7 +131,7 @@ === `sd-water-animation` (0.9.23) === Sudden Death equivalent of `water-animation`, uses `SDWater.png`. -== Background == +== Background keys == === `sky` === The colour of the sky. @@ -197,7 +196,7 @@ Normally, the flakes vary in size and are drawn on different layers, some of them even in front of the terrain. But if this key is present (any value) in `theme.cfg`, all flakes have the same size and are on the same layer: In front of the sky and horizont and behind the terrain. -== Music == +== Music keys == === `music` === Name of the music file to be played in the theme before Sudden Death, e.g. `Nature.ogg`. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!