MCPcopy Create free account
hub / github.com/SimHacker/micropolis / initGame

Method initGame

MicropolisCore/src/MicropolisEngine/src/stubs.cpp:240–248  ·  view source on GitHub ↗

* Initialize the game. * This is called from the scripting language. * @todo we seem to have several of these functions. */

Source from the content-addressed store, hash-verified

238 * @todo we seem to have several of these functions.
239 */
240void Micropolis::initGame()
241{
242 simPaused = false; // Simulation is running.
243 simPausedSpeed = 0;
244 simPass = 0;
245 simPasses = 1;
246 heatSteps = 0; // Disable cellular automata machine.
247 setSpeed(0);
248}
249
250
251/**

Callers 2

__init__Method · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected