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

Method getRuleset

src/Engine/Game.cpp:520–523  ·  view source on GitHub ↗

* Returns the ruleset currently in use by the game. * @return Pointer to the ruleset. */

Source from the content-addressed store, hash-verified

518 * @return Pointer to the ruleset.
519 */
520Ruleset *Game::getRuleset() const
521{
522 return _rules;
523}
524
525/**
526 * Loads the rulesets specified in the game options.

Callers 15

loadMapResourcesMethod · 0.45
thinkMethod · 0.45
ufoReachedWaypointMethod · 0.45
spawnAlienBaseMethod · 0.45
loadMethod · 0.45
btnOkClickMethod · 0.45
NewBattleStateMethod · 0.45
loadMethod · 0.45
initSaveMethod · 0.45
btnOkClickMethod · 0.45
btnRandomClickMethod · 0.45
cbxMissionChangeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected