From d8d11ba17bf9bc6f48b3b861f4ec78d62d8ef117 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 5 Nov 2016 23:15:15 -0400 Subject: TITANIC: Cleanup of class handling in PET Rooms tab --- engines/titanic/pet_control/pet_rooms_glyphs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.h') diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h index 11de6c4a8e..1c060c511c 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.h +++ b/engines/titanic/pet_control/pet_rooms_glyphs.h @@ -25,6 +25,7 @@ #include "titanic/pet_control/pet_glyphs.h" #include "titanic/support/simple_file.h" +#include "titanic/game_location.h" namespace Titanic { @@ -119,7 +120,10 @@ public: */ void setMode(RoomGlyphMode mode) { _mode = mode; } - void changeLocation(int newClassNum); + /** + * Change the current class + */ + void changeClass(PassengerClass newClassNum); /** * Returns true if the room is either currently or previously assigned -- cgit v1.2.3