ThemeCfg.wiki
changeset 1266 427e63ea7539
parent 1201 9eb10c4d6f5b
child 1305 43305c6af4bf
equal deleted inserted replaced
1265:06c10a954ff2 1266:427e63ea7539
    16 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`.
    16 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`.
    17 
    17 
    18 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    18 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    19 
    19 
    20 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.
    20 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.
       
    21 
       
    22 == `hidden` (0.9.24) ==
       
    23 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.
    21 
    24 
    22 == `sky` ==
    25 == `sky` ==
    23 The colour of the sky.
    26 The colour of the sky.
    24 
    27 
    25 <code>Values: red, green, blue</code>
    28 <code>Values: red, green, blue</code>