aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-25 23:54:00 -0500
committerPaul Gilbert2016-12-25 23:54:00 -0500
commit81cb0f11dbad5e1744807a926f245c4b2e8307be (patch)
treed88864528ce5aeb25ebac1450594a988377f9b4e /engines/titanic/pet_control/pet_control.h
parent9755109fddf1da1da1e3322823aa212447f85d14 (diff)
downloadscummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.tar.gz
scummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.tar.bz2
scummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.zip
TITANIC: Cleanup and fixes for class checks when SuccUBus sucking
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 0a8b6295be..a63c29d6b3 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -522,11 +522,14 @@ public:
}
/**
- * Get mail destination given the specified flags
+ * Get the passenger class of the specified room flags
*/
- int getMailDest(const CRoomFlags &roomFlags) const;
+ PassengerClass getMailDestClass(const CRoomFlags &roomFlags) const;
- bool testRooms5(uint roomFlags) {
+ /**
+ * Returns whether the given room flags specify a location with a SuccUBus
+ */
+ bool isSuccUBusDest(uint roomFlags) {
return CRoomFlags(roomFlags).not5();
}