diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 13:06:40 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 13:06:40 -0700 |
commit | 1bc10d1408eb29b0675a030e029155dd046b1dd8 (patch) | |
tree | 6d649015bdfa69df9de1cb964906fd396b9db82b /src/game.h | |
parent | 79dce6268850fb1b0d76c15d5399d66bcd286e5f (diff) | |
download | stage-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 | |||
21 | private: | ||
22 | void addFunction( Function *pFunc ); | ||
23 | |||
19 | private: | 24 | private: |
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; |