From 69c74685c3fedc24e0e4428b40782a0629fc2d5a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 21 Jun 2017 19:48:03 -0400 Subject: TITANIC: Renamings for room flags sublevel methods --- engines/titanic/pet_control/pet_control.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'engines/titanic/pet_control/pet_control.h') 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(); } /** -- cgit v1.2.3