diff options
author | Matthew Stewart | 2018-06-15 23:13:51 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 933d21429fdb3cc1c97237bbee1cd2168c33d95f (patch) | |
tree | 0ac4ef7a45923ab3c71606d34c12195c82110b2a /engines/startrek/room.cpp | |
parent | 28debc6673eb51b764d4d8229a596740df8ec7f5 (diff) | |
download | scummvm-rg350-933d21429fdb3cc1c97237bbee1cd2168c33d95f.tar.gz scummvm-rg350-933d21429fdb3cc1c97237bbee1cd2168c33d95f.tar.bz2 scummvm-rg350-933d21429fdb3cc1c97237bbee1cd2168c33d95f.zip |
STARTREK: LOVE1
Diffstat (limited to 'engines/startrek/room.cpp')
-rw-r--r-- | engines/startrek/room.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp index 245edb707b..b1b26b0872 100644 --- a/engines/startrek/room.cpp +++ b/engines/startrek/room.cpp @@ -85,6 +85,26 @@ Room::Room(StarTrekEngine *vm, const Common::String &name) : _vm(vm) { _roomActionList = love0ActionList; _numRoomActions = sizeof(love0ActionList) / sizeof(RoomAction); } + else if (name == "LOVE1") { + _roomActionList = love1ActionList; + _numRoomActions = sizeof(love1ActionList) / sizeof(RoomAction); + } + else if (name == "LOVE2") { + _roomActionList = love2ActionList; + _numRoomActions = sizeof(love2ActionList) / sizeof(RoomAction); + } + else if (name == "LOVE3") { + _roomActionList = love3ActionList; + _numRoomActions = sizeof(love3ActionList) / sizeof(RoomAction); + } + else if (name == "LOVE4") { + _roomActionList = love4ActionList; + _numRoomActions = sizeof(love4ActionList) / sizeof(RoomAction); + } + else if (name == "LOVE5") { + _roomActionList = love5ActionList; + _numRoomActions = sizeof(love5ActionList) / sizeof(RoomAction); + } else { warning("Room \"%s\" unimplemented", name.c_str()); _numRoomActions = 0; |