aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/moves/enter_bomb_room.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-19 23:41:19 -0400
committerPaul Gilbert2016-08-19 23:41:19 -0400
commit3c2c82fcd593e7b358f359de69070b6dd0e92150 (patch)
tree53251f5642b35626c606633cfe7baa1ce87b1fea /engines/titanic/moves/enter_bomb_room.cpp
parent449d8a02e05754e889e13ff721ff2c0cb995c486 (diff)
downloadscummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.tar.gz
scummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.tar.bz2
scummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/moves/enter_bomb_room.cpp')
-rw-r--r--engines/titanic/moves/enter_bomb_room.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/moves/enter_bomb_room.cpp b/engines/titanic/moves/enter_bomb_room.cpp
index 55b838d026..9956c669ee 100644
--- a/engines/titanic/moves/enter_bomb_room.cpp
+++ b/engines/titanic/moves/enter_bomb_room.cpp
@@ -24,6 +24,10 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CEnterBombRoom, CMovePlayerTo)
+ ON_MESSAGE(MouseButtonDownMsg)
+END_MESSAGE_MAP()
+
CEnterBombRoom::CEnterBombRoom() : CMovePlayerTo(), _fieldC8(0) {
}
@@ -37,4 +41,10 @@ void CEnterBombRoom::load(SimpleFile *file) {
CMovePlayerTo::load(file);
}
+bool CEnterBombRoom::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
+ changeView("Titania.Node 2.SE");
+ changeView(_destination);
+ return true;
+}
+
} // End of namespace Titanic