diff options
author | Matthew Stewart | 2018-05-28 19:42:04 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 5b28ece2b5a4461cb0ef9c2fe24d73a35414a402 (patch) | |
tree | 0f102dae230cf4b66b3780959cfd4736ee484bc4 /engines/startrek/room.cpp | |
parent | a6b87e84e7ef782f179f8c6a7abbdf9a1d388cf5 (diff) | |
download | scummvm-rg350-5b28ece2b5a4461cb0ef9c2fe24d73a35414a402.tar.gz scummvm-rg350-5b28ece2b5a4461cb0ef9c2fe24d73a35414a402.tar.bz2 scummvm-rg350-5b28ece2b5a4461cb0ef9c2fe24d73a35414a402.zip |
STARTREK: Begin with Demon4
Diffstat (limited to 'engines/startrek/room.cpp')
-rw-r--r-- | engines/startrek/room.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp index d44ad9632a..2c181a51a2 100644 --- a/engines/startrek/room.cpp +++ b/engines/startrek/room.cpp @@ -53,6 +53,10 @@ Room::Room(StarTrekEngine *vm, const Common::String &name) : _vm(vm) { _roomActionList = demon3ActionList; _numRoomActions = sizeof(demon3ActionList) / sizeof(RoomAction); } + else if (name == "DEMON4") { + _roomActionList = demon4ActionList; + _numRoomActions = sizeof(demon4ActionList) / sizeof(RoomAction); + } else { warning("Room \"%s\" unimplemented", name.c_str()); _numRoomActions = 0; @@ -208,11 +212,11 @@ int Room::showText(int speaker, int text) { textIDs[0] = speaker; textIDs[1] = text; textIDs[2] = TX_BLANK; - showText(textIDs); + return showText(textIDs); } int Room::showText(int text) { - showText(TX_NULL, text); + return showText(TX_NULL, text); } void Room::giveItem(int item) { |