diff options
author | Paul Gilbert | 2016-03-30 21:01:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-30 21:01:51 -0400 |
commit | 348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c (patch) | |
tree | 9f6d760a91c7c86e8da8d8cae69a606d5e078860 /engines/titanic/core | |
parent | 08a801b1128d63e5c2cedee218a6dce7d6f04f28 (diff) | |
download | scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.gz scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.bz2 scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.zip |
TITANIC: Fleshing out CPetVal
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/core/game_object.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 759c853759..bb1541c275 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -375,4 +375,8 @@ int CGameObject::getMovie19() const { return _field78; } +int CGameObject::getSurface45() const { + return _surface ? _surface->proc45() : 0; +} + } // End of namespace Titanic diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 68ddf9745d..bacb73074d 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -166,6 +166,7 @@ public: bool hasActiveMovie() const; int getMovie19() const; + int getSurface45() const; /** * Loads a frame |