MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / initText

Method initText

src/Battlescape/WarningMessage.cpp:85–88  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

83 * @param lang Pointer to current language.
84 */
85void WarningMessage::initText(Font *big, Font *small, Language *lang)
86{
87 _text->initText(big, small, lang);
88}
89
90/**
91 * Replaces a certain amount of colors in the surface's palette.

Callers 5

MapMethod · 0.45
setPaletteMethod · 0.45
ActionMenuItemMethod · 0.45
InventoryMethod · 0.45
drawGridMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected