From 3c2c82fcd593e7b358f359de69070b6dd0e92150 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 19 Aug 2016 23:41:19 -0400 Subject: TITANIC: Implemented more game classes --- engines/titanic/moves/enter_bomb_room.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines/titanic/moves/enter_bomb_room.cpp') 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 -- cgit v1.2.3