ThemeFiles.wiki
changeset 1011 399ca0374984
parent 1008 98c4c6f80a09
child 1014 62a12df7934c
equal deleted inserted replaced
1010:c4ebbf3e0966 1011:399ca0374984
     1 #summary File structure of themes
     1 #summary File structure of themes
     2 = File structure of themes =
     2 = File structure of themes =
     3 == Introduction ==
     3 == Introduction ==
     4 This page explains the meaning of the several files which are used by themes. Please note that not all files are neccessary to create a theme, many files have default fallback versions with identical names in `Data/Graphics` or `Data/Graphics/SuddenDeath` of your Hedgewars installation.
     4 This page explains the meaning of the several files which are used by themes. Please note that not all files are neccessary to create a theme, many files have default fallback versions with identical names in `Data/Graphics` or `Data/Graphics/SuddenDeath` of your Hedgewars installation.
     5 
     5 
     6 To create a theme, you need a bunch of graphics and a `theme.cfg` (explained under [Theme]). All graphics mentioned here have to in the PNG format.
     6 To create a theme, you need a bunch of graphics and a `theme.cfg` (explained under [ThemeCfg]). All graphics mentioned here have to in the PNG format.
     7 
     7 
     8 Please note that this is not a tutorial, it is a reference page designed to look up how to do stuff.
     8 Please note that this is not a tutorial, it is a reference page designed to look up how to do stuff.
     9 
     9 
    10 Careful! All file names are case-sensitive on case-sensitive platforms! Please ensure you used the correct casing if you want to share your theme online.
    10 Careful! All file names are case-sensitive on case-sensitive platforms! Please ensure you used the correct casing if you want to share your theme online.
    11 
    11 
    31 
    31 
    32 ==== `icon@2x.png` ====
    32 ==== `icon@2x.png` ====
    33 Large version of the icon. It must be of size 65×64 pixels.
    33 Large version of the icon. It must be of size 65×64 pixels.
    34 
    34 
    35 === `theme.cfg` ===
    35 === `theme.cfg` ===
    36 A text file which configures various aspects of the theme. The structure of this file is explained in [Theme].
    36 A text file which configures various aspects of the theme. The structure of this file is explained in [ThemeCfg].
    37 
    37 
    38 == Terrain ==
    38 == Terrain ==
    39 === `LandTex.png` ===
    39 === `LandTex.png` ===
    40 This is the basic land texture for the main terrain. It is an image tile which will be simple repeated horizontally and vertically all over the landscape. Theoretically, there are no size constraints.
    40 This is the basic land texture for the main terrain. It is an image tile which will be simple repeated horizontally and vertically all over the landscape. Theoretically, there are no size constraints.
    41 
    41