summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 910cec2..c19b039 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -4,13 +4,16 @@
4#include "functionexists.h" 4#include "functionexists.h"
5#include "functiondelete.h" 5#include "functiondelete.h"
6#include "functionexit.h" 6#include "functionexit.h"
7#include "functionrandom.h"
7 8
8Game::Game() 9Game::Game()
9{ 10{
11 hGlobalParam.insert("start", Variable::newSituationName("start") );
10 addFunction( new FunctionDisplay() ); 12 addFunction( new FunctionDisplay() );
11 addFunction( new FunctionExists() ); 13 addFunction( new FunctionExists() );
12 addFunction( new FunctionDelete() ); 14 addFunction( new FunctionDelete() );
13 addFunction( new FunctionExit() ); 15 addFunction( new FunctionExit() );
16 addFunction( new FunctionRandom() );
14} 17}
15 18
16Game::~Game() 19Game::~Game()