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

Method setSavedGame

src/Engine/Game.cpp:510–514  ·  view source on GitHub ↗

* Sets a new saved game for the game to use. * @param save Pointer to the saved game. */

Source from the content-addressed store, hash-verified

508 * @param save Pointer to the saved game.
509 */
510void Game::setSavedGame(SavedGame *save)
511{
512 delete _save;
513 _save = save;
514}
515
516/**
517 * Returns the ruleset currently in use by the game.

Callers 10

btnYesClickMethod · 0.80
btnOkClickMethod · 0.80
btnCancelClickMethod · 0.80
loadMethod · 0.80
initSaveMethod · 0.80
btnCancelClickMethod · 0.80
initMethod · 0.80
initMethod · 0.80
screenClickMethod · 0.80
screenClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected