Theme.wiki
changeset 815 69b8476b4bb2
parent 814 f0c338d954cb
child 816 08e347c81554
equal deleted inserted replaced
814:f0c338d954cb 815:69b8476b4bb2
     1 #summary Structure of the theme.cfg file
     1 #summary Structure of the theme.cfg file
     2 
     2 
     3 = `theme.cfg` =
     3 = `theme.cfg` =
     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 list of keys seperated by line breaks. Each key is followed by an equals sign followed a value. The kind value depends on the key.
     6  Example:
     6 
     7 <code>sky = 120, 40, 80</code>
     7 Example:
       
     8 <code>sky = 23, 8, 33
       
     9 border = 7, 72, 102
       
    10 music = Art.ogg</code>
     8 
    11 
     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.
    12 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 
    13 
    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.
    14 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 
    15