* Initialize the game. * This is called from the scripting language. * @todo we seem to have several of these functions. */
| 238 | * @todo we seem to have several of these functions. |
| 239 | */ |
| 240 | void 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 | /** |