aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/titanic.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-01 19:09:21 -0400
committerPaul Gilbert2016-07-10 16:38:04 -0400
commit8a6a5ad5c10b682bef145b414ebed386aa7df842 (patch)
treede8f6002d413744f6fb25a89aeac64c528da2476 /engines/titanic/titanic.cpp
parent93f88cc668f15a4c2b411c99b3f07e2f03bee50a (diff)
downloadscummvm-rg350-8a6a5ad5c10b682bef145b414ebed386aa7df842.tar.gz
scummvm-rg350-8a6a5ad5c10b682bef145b414ebed386aa7df842.tar.bz2
scummvm-rg350-8a6a5ad5c10b682bef145b414ebed386aa7df842.zip
TITANIC: In progress implementation of PET Remote
Diffstat (limited to 'engines/titanic/titanic.cpp')
-rw-r--r--engines/titanic/titanic.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/titanic/titanic.cpp b/engines/titanic/titanic.cpp
index 932189067f..f1d24a0a1e 100644
--- a/engines/titanic/titanic.cpp
+++ b/engines/titanic/titanic.cpp
@@ -78,6 +78,7 @@ void TitanicEngine::initialize() {
DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling");
setItemNames();
+ setRoomNames();
CSaveableObject::initClassList();
CEnterExitFirstClassState::init();
CGetLiftEye2::init();
@@ -173,5 +174,20 @@ void TitanicEngine::setItemNames() {
_itemIds[idx] = ITEM_IDS[idx];
}
+void TitanicEngine::setRoomNames() {
+ static const char *const ROOM_NAMES[TOTAL_ROOMS] = {
+ "1stClassLobby", "1stClassRestaurant", "1stClassState",
+ "2ndClassLobby", "secClassState", "Arboretum", "FrozenArboretum",
+ "Bar", "BilgeRoom", "BilgeRoomWith", "BottomOfWell", "Bridge",
+ "CreatorsChamber", "CreatorsChamberOn", "Dome", "Home", "Lift",
+ "EmbLobby", "MoonEmbLobby", "MusicRoomLobby", "MusicRoom",
+ "ParrotLobby", "Pellerator", "PromenadeDeck", "SculptureChamber",
+ "SecClassLittleLift", "ServiceElevator", "SGTLeisure", "SGTLittleLift",
+ "SgtLobby", "SGTState", "Titania", "TopOfWell", "PlayersRoom"
+ };
+
+ for (uint idx = 0; idx < TOTAL_ROOMS; ++idx)
+ _roomNames[idx] = ROOM_NAMES[idx];
+}
} // End of namespace Titanic