diff options
author | johndoe123 | 2012-10-08 10:17:20 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:44:39 +0200 |
commit | 483d76d635dac1ea4418a4ab6cbb639e9314a0c7 (patch) | |
tree | dd11df7b930e23d33a6fee3e9277bc23abf8ab3d /engines/neverhood/navigationscene.h | |
parent | 9b7bb71dd952c85fea54d6526d9b2aaa1bd0498f (diff) | |
download | scummvm-rg350-483d76d635dac1ea4418a4ab6cbb639e9314a0c7.tar.gz scummvm-rg350-483d76d635dac1ea4418a4ab6cbb639e9314a0c7.tar.bz2 scummvm-rg350-483d76d635dac1ea4418a4ab6cbb639e9314a0c7.zip |
NEVERHOOD: Enable/fixup navigation scene sound update code in several modules
- Rename some NavigationScene stuff
Diffstat (limited to 'engines/neverhood/navigationscene.h')
-rw-r--r-- | engines/neverhood/navigationscene.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/neverhood/navigationscene.h b/engines/neverhood/navigationscene.h index cf351d1bcd..ebe9a3597c 100644 --- a/engines/neverhood/navigationscene.h +++ b/engines/neverhood/navigationscene.h @@ -35,8 +35,9 @@ public: virtual ~NavigationScene(); int getNavigationAreaType(); int getNavigationIndex() const { return _navigationIndex; } - bool getSoundFlag1() const { return _soundFlag1; } - bool getSoundFlag2() const { return _soundFlag2; } + bool isWalkingForward() const { return _isWalkingForward; } + bool isTurning() const { return _isTurning; } + int getFrameNumber() const { return _smackerPlayer->getFrameNumber(); } protected: SmackerPlayer *_smackerPlayer; bool _smackerDone; @@ -44,9 +45,9 @@ protected: int _navigationIndex; uint32 _smackerFileHash; bool _interactive; - bool _soundFlag1; - bool _soundFlag2; - bool _done; + bool _isWalkingForward; + bool _isTurning; + bool _leaveSceneAfter; const byte *_itemsTypes; void update(); uint32 handleMessage(int messageNum, const MessageParam ¶m, Entity *sender); |