From 23da68350dee0b211cdcf29734146ac71583044b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 22 Jun 2016 08:00:20 -0400 Subject: TITANIC: Finished CRoomFlags methods --- engines/titanic/pet_control/pet_control.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/titanic/pet_control/pet_control.h') diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 3dee76fea6..758069e5f1 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -36,6 +36,7 @@ #include "titanic/pet_control/pet_real_life.h" #include "titanic/pet_control/pet_remote.h" #include "titanic/pet_control/pet_rooms.h" +#include "titanic/room_flags.h" namespace Titanic { @@ -319,6 +320,11 @@ public: bool getC0() const { return _fieldC0 > 0; } void incC0() { ++_fieldC0; } void decC0() { --_fieldC0; } + + /** + * Get mail destination given the specified flags + */ + int getMailDest(const CRoomFlags &roomFlags) const; }; } // End of namespace Titanic -- cgit v1.2.3