Theme.wiki
changeset 814 f0c338d954cb
parent 813 f3d77338c4c2
child 815 69b8476b4bb2
equal deleted inserted replaced
813:f3d77338c4c2 814:f0c338d954cb
     4 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].
     4 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].
     5 It is structured with a key followed by an equals sign followed a value. The value depends on the key.
     5 It is structured with a key followed by an equals sign followed a value. The value depends on the key.
     6  Example:
     6  Example:
     7 <code>sky = 120, 40, 80</code>
     7 <code>sky = 120, 40, 80</code>
     8 
     8 
     9 There is also keys that replace existing keys under certain conditions, all keys preceding with “`sd-`” are used during sudden death and all keys with “`rq-`” are used when quality is reduced. These keys must be placed after the regular keys and they are all optional.
     9 There are also keys that replace existing keys under certain conditions, all keys preceding with “`sd-`” are used during Sudden Death and all keys with “`rq-`” are used when the graphics quality is reduced.
    10 
    10 
    11 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.
    11 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.
    12 
    12 
    13 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`.
    13 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`.
    14 
    14