* Changes the various resources needed for text rendering. * The different fonts need to be passed in advance since the * text size can change mid-text, and the language affects * how the text is rendered. * @param big Pointer to large-size font. * @param small Pointer to small-size font. * @param lang Pointer to current language. */
| 103 | * @param lang Pointer to current language. |
| 104 | */ |
| 105 | void BattlescapeMessage::initText(Font *big, Font *small, Language *lang) |
| 106 | { |
| 107 | _text->initText(big, small, lang); |
| 108 | _text->setBig(); |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Replaces a certain amount of colors in the surface's palette. |