Files
assaultcube-/config/font.cfg
T
Bukz 7480f036d3 persistidents fixes (plz review/test)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:43:47 +00:00

61 lines
2.1 KiB
INI

// To add your own fonts, create a seperate font file and execute like this:
persistidents 0
exec config/font_default.cfg // Must be executed! DO NOT MODIFY.
exec config/font_monospace.cfg // Must be executed! DO NOT MODIFY.
exec config/font_serif.cfg
// Then, in that file, define the font. To do this, first define the font file.
// See: ./docs/reference.xml#identifier_font for the command to do this.
// Then, each font character.
// See: ./docs/reference.xml#identifier_fontchar for the command to do this.
// Once defined, you can use the command "setfont" to switch between fonts
// See: ./docs/reference.xml#identifier_setfont
// See the other font files for an example on how to define these fonts.
// Note that the fonts are defined in the particular order shown in the comments.
// You can also use the "TTF2Font" tool to assist you:
// http://sourceforge.net/apps/mediawiki/bloodfrontier/index.php?title=TTF2Font
// DO NOT MODIFY THE BELOW
// These are used for displaying the HUD, rather than fonts.
// Changing these settings may leave AssaultCube unplayable.
font huddigits "packages/misc/huddigits.png" 40 64
fontskip 47
fontchar 476 64 24 64 // /
fontchar 4 64 40 64 // 0
fontchar 52 64 40 64 // 1
fontchar 100 64 40 64 // 2
fontchar 148 64 40 64 // 3
fontchar 196 64 40 64 // 4
fontchar 244 64 40 64 // 5
fontchar 292 64 40 64 // 6
fontchar 340 64 40 64 // 7
fontchar 388 64 40 64 // 8
fontchar 436 64 40 64 // 9
font serverquality "packages/misc/serverquality.png" 48 64
fontskip 48
fontchar 0 64 48 64 // 0 - "Unknown"
fontchar 48 64 48 64 // 1 - "Very bad"
fontchar 96 64 48 64 // 2 - "Bad"
fontchar 144 64 48 64 // 3 - "Medium"
fontchar 192 64 48 64 // 4 - "Good"
fontchar 240 64 48 64 // 5 - "Very good"
font bargraphs "packages/misc/bargraphs.png" 32 64
fontskip 48
fontchar 0 64 32 64 //0 [ ][ ]
fontchar 32 64 32 64 //1 [x][ ]
fontchar 64 64 32 64 //2 [ ][x]
fontchar 96 64 32 64 //3 [x][x]
fontchar 128 64 64 64 //4 [Black]
fontchar 192 64 64 64 //5 [Green]
fontchar 256 64 64 64 //6 [Yellow]
fontchar 320 64 64 64 //7 [Red]
persistidents 1