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

Method initText

src/Basescape/BaseView.cpp:74–79  ·  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

72 * @param lang Pointer to current language.
73 */
74void BaseView::initText(Font *big, Font *small, Language *lang)
75{
76 _big = big;
77 _small = small;
78 _lang = lang;
79}
80
81/**
82 * Changes the current base to display and

Callers 1

drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected