aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms.h')
-rw-r--r--engines/titanic/pet_control/pet_rooms.h28
1 files changed, 21 insertions, 7 deletions
diff --git a/engines/titanic/pet_control/pet_rooms.h b/engines/titanic/pet_control/pet_rooms.h
index 1e7468ac1b..b39587a7f7 100644
--- a/engines/titanic/pet_control/pet_rooms.h
+++ b/engines/titanic/pet_control/pet_rooms.h
@@ -152,9 +152,9 @@ public:
void resetHighlight();
/**
- * Adds a random room to the glyph list
+ * Gives the player a new assigned room in the specified passenger class
*/
- void addRandomRoom(int passClassNum);
+ void reassignRoom(int passClassNum);
/**
* Change the current location passenger class
@@ -166,17 +166,31 @@ public:
*/
bool hasRoomFlags(uint roomFlags) const;
- int getMode1RoomNum() const;
- int getMode1FloorNum() const;
- int getMode1ElevatorNum() const;
+ /**
+ * Returns the room flags for the player's currently assigned room
+ */
+ uint getAssignedRoomFlags() const;
+
+ /**
+ * Returns the room number for the player's currently assigned room
+ */
+ int getAssignedRoomNum() const;
+
+ /**
+ * Returns the floor number for the player's currently assigned room
+ */
+ int getAssignedFloorNum() const;
+
+ /**
+ * Returns the elevator number for the player's currently assigned room
+ */
+ int getAssignedElevatorNum() const;
/**
* Gets room flags to use for glyphs
*/
uint getRoomFlags() const;
- uint mode1Flags() const;
-
void setFloorNum(int floorNum) { _floorNum = floorNum; }
int getFloorNum() const { return _floorNum; }
void setElevatorNum(int elevNum) { _elevatorNum = elevNum; }