aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-21 19:48:03 -0400
committerPaul Gilbert2017-06-21 19:48:03 -0400
commit69c74685c3fedc24e0e4428b40782a0629fc2d5a (patch)
treed5943998a387d6be99045b5853e0e7e8c9981962 /engines/titanic/pet_control/pet_rooms.h
parent44f0a1906286a8864422516fc7f64457062465ca (diff)
downloadscummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.tar.gz
scummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.tar.bz2
scummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.zip
TITANIC: Renamings for room flags sublevel methods
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms.h')
-rw-r--r--engines/titanic/pet_control/pet_rooms.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_rooms.h b/engines/titanic/pet_control/pet_rooms.h
index 6b71359ce6..ecfeadf2b9 100644
--- a/engines/titanic/pet_control/pet_rooms.h
+++ b/engines/titanic/pet_control/pet_rooms.h
@@ -47,7 +47,7 @@ private:
int _floorNum;
int _elevatorNum;
int _roomNum;
- int _field1CC;
+ int _sublevel;
int _wellEntry;
bool _elevatorBroken;
private:
@@ -199,8 +199,8 @@ public:
int getElevatorNum() const { return _elevatorNum; }
void setRoomNum(int roomNum) { _roomNum = roomNum; }
int getRoomNum() const { return _roomNum; }
- void set1CC(int val) { _field1CC = val; }
- int get1CC() const { return _field1CC; }
+ void setSublevel(int level) { _sublevel = level; }
+ int getSublevel() const { return _sublevel; }
/**
* Sets the entry number for arriving at the well
@@ -212,9 +212,12 @@ public:
*/
int getWellEntry() const { return _wellEntry; }
+ /**
+ * Sets the broken elevator flag
+ */
void setElevatorBroken(bool flag) { _elevatorBroken = flag; }
};
} // End of namespace Titanic
-#endif /* TITANIC_PET_ROOMS_SECTION_H */
+#endif /* TITANIC_PET_ROOMS_H */