summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-29 13:06:40 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-29 13:06:40 -0700
commit1bc10d1408eb29b0675a030e029155dd046b1dd8 (patch)
tree6d649015bdfa69df9de1cb964906fd396b9db82b /src/game.h
parent79dce6268850fb1b0d76c15d5399d66bcd286e5f (diff)
downloadstage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.gz
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.bz2
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.xz
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.zip
Functions can be called now, at least manually.
A little more work needs to be done before they're being called from code correctly.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index dd614cf..4abb4da 100644
--- a/src/game.h
+++ b/src/game.h
@@ -16,6 +16,11 @@ public:
16 Game(); 16 Game();
17 virtual ~Game(); 17 virtual ~Game();
18 18
19 Function *getFunction( const Bu::String &sName );
20
21private:
22 void addFunction( Function *pFunc );
23
19private: 24private:
20 typedef Bu::Hash<Bu::String, Function *> FunctionHash; 25 typedef Bu::Hash<Bu::String, Function *> FunctionHash;
21 typedef Bu::Hash<Bu::String, Situation *> SituationHash; 26 typedef Bu::Hash<Bu::String, Situation *> SituationHash;