This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.
Difference between revisions of "Infoblock"
From SuperTux
(→Format: New section.) |
(+Category:Game Object) |
||
Line 43: | Line 43: | ||
| ''n/a'' | | ''n/a'' | ||
|} | |} | ||
+ | |||
+ | [[Category:Game Object]] |
Revision as of 06:09, 21 February 2010
This is an info block it can help you by jumping
Format
The message is formatted line-wise. The first character of each line determines how the line is formatted. The first character is not printed.
The parsing is done in three functions defined in src/supertux/info_box_line.cpp
.
The colors are defined in src/supertux/colorscheme.cpp
.
Character | Type | Font size | Color |
---|---|---|---|
\t (tab)
|
Normal | Normal | Normal color (white) |
␣ (space)
|
Small | Small | Small color (white) |
- (dash)
|
Heading | Big | Heading color (yellow) |
* (asterisk)
|
Reference | Normal | Reference color (blue) |
# (hash)
|
Normal (left) | Normal | Normal color (white) |
! (exclamation mark)
|
Image | n/a | n/a |