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

Method DelayedSaveState

src/Battlescape/DelayedSaveState.cpp:32–34  ·  view source on GitHub ↗

* Runs on construction of the state. * Very simple state, runs interference between the autosave and the screen clearing on the "new turn" screen. * This all happens before panic is handled, and forces the text to be rendered over the battlescape rather than the "next turn" screen. */

Source from the content-addressed store, hash-verified

30 * This all happens before panic is handled, and forces the text to be rendered over the battlescape rather than the "next turn" screen.
31 */
32DelayedSaveState::DelayedSaveState(BattlescapeGame *parent, Game *game, SaveType type) : BattleState(parent), _game(game), _type(type), _firstRun(true)
33{
34}
35
36/**
37 * Runs on deletion of the state.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected