diff options
author | Paul Gilbert | 2017-06-21 19:48:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-21 19:48:03 -0400 |
commit | 69c74685c3fedc24e0e4428b40782a0629fc2d5a (patch) | |
tree | d5943998a387d6be99045b5853e0e7e8c9981962 /engines/titanic/pet_control/pet_control.h | |
parent | 44f0a1906286a8864422516fc7f64457062465ca (diff) | |
download | scummvm-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_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 6e64d8d344..a6915e6e13 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -499,11 +499,18 @@ public: return _rooms.getWellEntry(); } - void setRooms1CC(int v) { - _rooms.set1CC(v); + /** + * Sets the sub-level an SGT or 2nd class room is on + */ + void setRoomsSublevel(int level) { + _rooms.setSublevel(level); } - int getRooms1CC() const { - return _rooms.get1CC(); + + /** + * Gets the current sub-level for a stateroom + */ + int getRoomsSublevel() const { + return _rooms.getSublevel(); } /** |