# HG changeset patch
# User Wuzzy
# Date 1453034910 0
# Node ID d53a01a0083258bece912a5cebd072a165dcb28e
# Parent 99da4e68bc64813070e1113847539f0943620678
Theme: Reduce header level by 1
diff -r 99da4e68bc64 -r d53a01a00832 Theme.wiki
--- a/Theme.wiki Sun Jan 17 12:47:07 2016 +0000
+++ b/Theme.wiki Sun Jan 17 12:48:30 2016 +0000
@@ -1,6 +1,6 @@
#summary Structure of the theme.cfg file
-== `theme.cfg` ==
+= `theme.cfg` =
The file `theme.cfg` gives the engine the values associated with a certain theme, to complement the graphics. To learn more about the general file structure of themes, see [ThemeFiles].
It is structured with a key followed by an equals sign followed a value. The value depends on the key.
Example:
@@ -14,75 +14,75 @@
Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
-=== `sky` ===
+== `sky` ==
The colour of the sky.
Values: red, green, blue
-=== `rq-sky` ===
+== `rq-sky` ==
The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
Values: red, green, blue
-=== `border` ===
+== `border` ==
The colour of the outline of explosions.
Values: red, green, blue
-=== `water-top` ===
+== `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`.
Values: red, green, blue
-=== `water-bottom` ===
+== `water-bottom` ==
The colour of the lowest part of the water before Sudden Death.
This makes a gradient together with `water-top`.
Values: red, green, blue
-=== `sd-water-bottom` ===
+== `sd-water-bottom` ==
The colour of the lowest part of the water while in Sudden Death.
This makes a gradient together with `sd-water-top`.
If unspecified, it has a default value.
Values: red, green, blue
-=== `sd-water-top` ===
+== `sd-water-top` ==
The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
This makes a gradient together with `sd-water-bottom`.
If unspecified, it has a default value.
Values: red, green, blue
-=== `water-opacity` ===
+== `water-opacity` ==
The water opacity before Sudden Death. Opacity of the water affects how visible gears in the water are. `0` makes it fully transparent, whereas `255` makes it fully opaque. If the water is fully opaque, the drowning animation is skipped when a hedgehog drowns.
Values: opacity
-=== `sd-water-opacity` ===
+== `sd-water-opacity` ==
The water opacity while in Sudden Death. By default, it has the same value as `water-opacity`.
-=== `music` ===
+== `music` ==
Name of the track 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!
Values: name
-=== `sd-music` (0.9.21) ===
+== `sd-music` (0.9.21) ==
Name of the track to be played in the theme while in Sudden Death, e.g. `hell.ogg`. By default, no music is played. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!
-=== `clouds` ===
+== `clouds` ==
The number of clouds to create, before Sudden Death. Uses `Clouds.png`.
Values: number
-=== `sd-clouds` ===
+== `sd-clouds` ==
Number of clouds while in Sudden Death, uses the file `SDClouds.png`. By default it is the same number as `clouds`.
-=== `flatten-clouds` ===
+== `flatten-clouds` ==
Normally, the clouds vary in size and are drawn on different layers. But if this key is present (any value) in `theme.cfg`, all clouds have the same size and are on the same layer (background).
-=== `flakes` ===
+== `flakes` ==
Values for the flakes of this theme before Sudden Death. Uses `Flake.png`. If this field is left out, then there are no flakes.
* `number`: Number of visible flakes
@@ -95,13 +95,13 @@
Values: number, frames, frame ticks, speed, fall speed
-=== `sd-flakes` ===
+== `sd-flakes` ==
Sudden death version of `flakes`, the parameters are the same as in `flakes`. This uses `SDFlake.png`. By default, the flakes are skulls and bones.
-=== `flatten-flakes` ===
+== `flatten-flakes` ==
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.
-=== `object` ===
+== `object` ==
There may be multiple object keys in the file, each one representing one land object.
* `filename`: The object’s filename (without the “.png”). Case-sensitive.
@@ -115,18 +115,18 @@
`visiblerec` and the `buriedrec` visualized on an ancient picture:
http://hedgewars.org/images/avematantheme/hw-avematan.rects.png
-=== `spray` ===
+== `spray` ==
There may be several spray keys in the file, each one representing one spray object.
The `name` is the case-sensitive name of the PNG file (without the file name suffix) of the graphics file, and `number` is the rough number of instances of this spray that may be added to the map. The number is the average number of sprays that are normally placed on a random medium-sized island. For larger and smaller landscapes, this number will be automatically scaled up or down. Please note that this number only specifies a rough goal, the actual number of created sprays may vary and you may have to play a bit with this number in order to find a good value.
Values: name, number
-=== `ice` ===
+== `ice` ==
If this key is present (any value), girders become slippery like ice. This also applies to placed girders. This significantly changes the gameplay of your theme, so use wisely.
If this key is not present, the terrain is not slippery.
-=== `snow` ===
+== `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.
\ No newline at end of file