equal
deleted
inserted
replaced
1 #summary Structure of the theme.cfg file |
1 #summary Structure of the theme.cfg file |
2 |
2 |
3 = Structure of `theme.cfg` = |
3 = Structure of `theme.cfg` = |
|
4 |
|
5 == Introduction == |
|
6 The file `theme.cfg` gives the engine the values associated with a certain theme, to complement the graphics. To understand themes in general, start at [Themes]. To learn more about the general file structure of themes, see [ThemeFiles]. |
|
7 |
4 <wiki:toc max_depth="3" /> |
8 <wiki:toc max_depth="3" /> |
5 |
9 |
6 == Syntax == |
10 == Syntax == |
7 The file `theme.cfg` gives the engine the values associated with a certain theme, to complement the graphics. To understand themes in general, start at [Themes]. To learn more about the general file structure of themes, see [ThemeFiles]. |
11 A `theme.cfg` is a text file which is structured with a list of keys, each separated by line breaks. Each key is followed by an equals sign followed a value. Values can be numbers, strings, or comma-separated lists of these. |
8 It is structured with a list of keys, each separated by line breaks. Each key is followed by an equals sign followed a value. The value depends on the key. |
|
9 |
12 |
10 Example: |
13 Example: |
11 <code>sky = 23, 8, 33 |
14 <code>sky = 23, 8, 33 |
12 border = 7, 72, 102 |
15 border = 7, 72, 102 |
13 music = Art.ogg</code> |
16 music = Art.ogg</code> |