--- a/Theme.wiki Mon Jun 03 23:00:28 2013 +0000
+++ b/Theme.wiki Tue Jun 04 03:31:36 2013 +0000
@@ -11,61 +11,68 @@
The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. The range are 0 - 255 or 0 - $FF.
+Comments may be added by prefixing a semicolon(;) to the comment.
+
=== sky ===
The colour of the sky.
-Values: red, green, blue
-
-Values: red, green, blue
+<code>Values: red, green, blue</code>
=== border ===
The colour of the outline of explosions.
-Values: red, green, blue
+<code>Values: red, green, blue</code>
=== water-top ===
-The colour of the topmost part of the water (under the water.png).
+The colour of the topmost part of the water (under the BlueWater.png).
This makes a gradient together with water-bottom.
-Values: red, green, blue
+<code>Values: red, green, blue</code>
=== water-bottom ===
The colour of the lowest part of the water.
This makes a gradient together with water-top.
-Values: red, green, blue
+<code>Values: red, green, blue</code>
=== water-opacity ===
-Opacity of the water, how visible gears in the water are.
+Opacity of the water affects how visible gears in the water are.
-Values: opacity
+<code>Values: opacity</code>
=== music ===
Name of the track to be played in the theme, e.g. Nature.ogg
-Values: name
+<code>Values: name</code>
=== clouds ===
The number of clouds to create.
-Values: number
+<code>Values: number</code>
=== object ===
-There may be several object keys in the file, each one representing one land object.
+There may be multiple object keys in the file, each one representing one land object.
-unfinished, values are the file name and then the old values
+objects file name(without the .png), max number of this object that may be placed in a single map, rectangle that must be buried (left, top, width, height), minimum number of rectangles that must be visible, list of the rectangles for being visible(left, top, width, height)
+filename: The objects' filename (without the .png)
+max: The maximum number of this object that may be generated in a map
+buriedrec: A rectangle that must be buried in the terrain (left, top, width, height)
+minvisible: The minimum amount of rectangles that must be visible
+visiblerec: list of the rectangles for being visible(left, top, width, height)
+
+<code>Values: filename, max, buriedrec, minvisible, visiblerec</code>
=== spray ===
There may be several spray keys in the file, each one representing one spray object.
The name is the name of the .png (without the extension) of the graphics file, and the number is the number of instances of this spray that may be added.
-Values: name, number
+<code>Values: name, number</code>
=== flakes ===
Values for the flakes of this theme. First the number of flakes, then number of frames and ticks per frame. Lastly the speed and fall speed of the flakes.
If left out there are no flakes.
-Values: number, frames, frame ticks, speed, fall speed
+<code>Values: number, frames, frame ticks, speed, fall speed</code>
=== sd-water-top ===
Sudden death version of water-top. Has a default value.
@@ -74,10 +81,10 @@
Sudden death version of water-bottom. Has a default value.
=== sd-water-opacity ===
-Sudden death version of water-opacity. As default same as water-opacity.
+Sudden death version of water-opacity. Has default same as water-opacity.
=== sd-clouds ===
-Sudden death version of clouds. As default same as clouds.
+Sudden death version of clouds. Has default same as clouds.
=== sd-flakes ===
Sudden death version of flakes. Has a default value.