aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/room_flags.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-11 14:17:03 -0400
committerPaul Gilbert2017-10-15 21:20:09 -0400
commit11a72a5e0e6500294204a985419a83a49331dece (patch)
tree12f89298eb97baad3b7ee8dfcc12a821d7ec2d2e /engines/titanic/room_flags.h
parentff9c0a9a8906e54845d9dd917007a6c29bf1aaf7 (diff)
downloadscummvm-rg350-11a72a5e0e6500294204a985419a83a49331dece.tar.gz
scummvm-rg350-11a72a5e0e6500294204a985419a83a49331dece.tar.bz2
scummvm-rg350-11a72a5e0e6500294204a985419a83a49331dece.zip
TITANIC: Add missing strings for Floor & Room # to titanic.dat
Diffstat (limited to 'engines/titanic/room_flags.h')
-rw-r--r--engines/titanic/room_flags.h28
1 files changed, 11 insertions, 17 deletions
diff --git a/engines/titanic/room_flags.h b/engines/titanic/room_flags.h
index 3ce86bbddd..95b65330cf 100644
--- a/engines/titanic/room_flags.h
+++ b/engines/titanic/room_flags.h
@@ -124,13 +124,6 @@ public:
uint getElevatorNum() const { return getElevatorBits() + 1; }
/**
- * Get a description for the elevator number
- */
- CString getElevatorDesc() const {
- return CString::format("Elevator %d", getElevatorNum());
- }
-
- /**
* Gets the bits for the passenger class
*/
uint getPassengerClassBits() const;
@@ -168,13 +161,6 @@ public:
uint getFloorNum() const;
/**
- * Get a description for the floor number
- */
- CString getFloorDesc() const {
- return CString::format("Floor %d", getFloorNum());
- }
-
- /**
* Sets the bits for the room number
*/
void setRoomBits(uint roomBits);
@@ -190,11 +176,19 @@ public:
uint getRoomNum() const { return getRoomBits(); }
/**
+ * Get a description for the elevator number
+ */
+ CString getElevatorDesc() const;
+
+ /**
+ * Get a description for the floor number
+ */
+ CString getFloorDesc() const;
+
+ /**
* Gets a string for the room number
*/
- CString getRoomNumDesc() const {
- return CString::format("Room %d", getRoomNum());
- }
+ CString getRoomNumDesc() const;
bool getBit0() const;