diff options
author | Paul Gilbert | 2016-12-10 11:51:51 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-10 11:51:51 -0500 |
commit | 89d595a46c44df0bc3c449affc47867d14903224 (patch) | |
tree | 9ac7717f48ca042a057db0e433de913788cb74ff /engines/titanic/core | |
parent | fd794bd4a307478be8f6014d742d4e841121c404 (diff) | |
download | scummvm-rg350-89d595a46c44df0bc3c449affc47867d14903224.tar.gz scummvm-rg350-89d595a46c44df0bc3c449affc47867d14903224.tar.bz2 scummvm-rg350-89d595a46c44df0bc3c449affc47867d14903224.zip |
TITANIC: Renaming of parrot met flag methods
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 8 | ||||
-rw-r--r-- | engines/titanic/core/game_object.h | 12 |
2 files changed, 14 insertions, 6 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 48cc5206fd..19cae3f330 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1046,12 +1046,12 @@ Season CGameObject::stateGetSeason() const { return getGameManager()->_gameState._seasonNum; } -void CGameObject::stateSet24() { - getGameManager()->_gameState.set24(1); +void CGameObject::stateSetParrotMet() { + getGameManager()->_gameState.setParrotMet(true); } -int CGameObject::stateGet24() const { - return getGameManager()->_gameState.get24(); +bool CGameObject::stateGetParrotMet() const { + return getGameManager()->_gameState.getParrotMet(); } void CGameObject::stateInc38() { diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 9417fd7aa3..744887a04b 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -991,8 +991,16 @@ public: */ Season stateGetSeason() const; - void stateSet24(); - int stateGet24() const; + /** + * Sets the flag for the parrot having been met + */ + void stateSetParrotMet(); + + /** + * Returns whether the parrot has been met + */ + bool stateGetParrotMet() const; + void stateInc38(); int stateGet38() const; |