# HG changeset patch
# User Wuzzy
# Date 1510894649 0
# Node ID b37c99c55365942053dcbf5f6332f28544bec6a6
# Parent 02863856f674364c64a5696501af3706271c5f88
ThemeCfg: convert color numbers to hexadecimal form, consistently
diff -r 02863856f674 -r b37c99c55365 ThemeCfg.wiki
--- a/ThemeCfg.wiki Fri Nov 17 04:53:08 2017 +0000
+++ b/ThemeCfg.wiki Fri Nov 17 04:57:29 2017 +0000
@@ -13,7 +13,7 @@
Following is the list of all current keys and their values, it is important to have the right number of values. Most keys may only be used once.
-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 `$00` - `$FF`.
+The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. A hexadecimal number must be prepended with a dollar sign. The range is `0` - `255` or `$00` - `$FF`.
Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
@@ -24,7 +24,7 @@
Values: red, green, blue
-Default: 0, 0, 0
+Default: $00, $00, $00
== `rq-sky` ==
The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
@@ -36,7 +36,7 @@
Values: red, green, blue
-Default: 80, 80, 80
+Default: $50, $50, $50
== `water-top` ==
The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death.
@@ -61,7 +61,7 @@
Values: red, green, blue
-Default: 150, 112, 169
+Default: $96, $70, $A9
== `sd-water-top` ==
The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
@@ -70,7 +70,7 @@
Values: red, green, blue
-Default: 182, 144, 201
+Default: $B9, $72, $C9
== `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` or `$FF` makes it fully opaque. If the water is fully opaque, the drowning animation is skipped when a hedgehog drowns.