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

Method LoadGameState

src/Menu/LoadGameState.cpp:45–48  ·  view source on GitHub ↗

* Initializes all the elements in the Load Game screen. * @param game Pointer to the core game. * @param origin Game section that originated this state. * @param filename Name of the save file without extension. */

Source from the content-addressed store, hash-verified

43 * @param filename Name of the save file without extension.
44 */
45LoadGameState::LoadGameState(Game *game, OptionsOrigin origin, const std::string &filename) : State(game), _origin(origin), _filename(filename)
46{
47 buildUi();
48}
49
50/**
51 * Initializes all the elements in the Load Game screen.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected