diff options
author | johndoe123 | 2011-07-11 08:25:24 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:38:47 +0200 |
commit | 6d81ef0199e3213a97c4ff8856322341ac231022 (patch) | |
tree | 0d4943e65713d3c6e2a3b0260b48307a2c852bb1 /engines/neverhood/neverhood.h | |
parent | ed863b65b506fac9b55b83a4afa0a30c4bb8da8a (diff) | |
download | scummvm-rg350-6d81ef0199e3213a97c4ff8856322341ac231022.tar.gz scummvm-rg350-6d81ef0199e3213a97c4ff8856322341ac231022.tar.bz2 scummvm-rg350-6d81ef0199e3213a97c4ff8856322341ac231022.zip |
NEVERHOOD: Implement game vars
Diffstat (limited to 'engines/neverhood/neverhood.h')
-rw-r--r-- | engines/neverhood/neverhood.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/neverhood/neverhood.h b/engines/neverhood/neverhood.h index 952a99d768..0070f0867e 100644 --- a/engines/neverhood/neverhood.h +++ b/engines/neverhood/neverhood.h @@ -41,6 +41,7 @@ struct NeverhoodGameDescription; class CollisionMan; class GameModule; +class GameVars; class ResourceMan; class Screen; class StaticData; @@ -73,6 +74,7 @@ public: uint16 _buttonState; GameState _gameState; + GameVars *_gameVars; Screen *_screen; ResourceMan *_res; GameModule *_gameModule; @@ -114,11 +116,6 @@ public: #endif GameState& gameState() { return _gameState; } - uint32 getGlobalVar(uint32 nameHash); - void setGlobalVar(uint32 nameHash, uint32 value); - void incGlobalVar(uint32 nameHash, int incrValue); - uint32 getSubVar(uint32 nameHash, uint32 subNameHash); - void setSubVar(uint32 nameHash, uint32 subNameHash, uint32 value); public: |