aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/arboretum_gate.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-06 23:28:42 -0400
committerPaul Gilbert2016-04-06 23:28:42 -0400
commit51dc36a9a52f95815b4b1109b080d070247bf247 (patch)
treed53d8c288a593fd897536f943debbd2d7b46275e /engines/titanic/game/arboretum_gate.h
parent51df4d98d3a066e092f34cf7968c436a3e430df2 (diff)
downloadscummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.tar.gz
scummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.tar.bz2
scummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.zip
TITANIC: Furhter in-progress message handling conversion
Diffstat (limited to 'engines/titanic/game/arboretum_gate.h')
-rw-r--r--engines/titanic/game/arboretum_gate.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/engines/titanic/game/arboretum_gate.h b/engines/titanic/game/arboretum_gate.h
index a176e93ed9..9b0674fe75 100644
--- a/engines/titanic/game/arboretum_gate.h
+++ b/engines/titanic/game/arboretum_gate.h
@@ -29,14 +29,8 @@
namespace Titanic {
-class CArboretumGate : public CBackground,
- public CActMsgTarget,
- public CLeaveViewMsgTarget,
- public CTurnOffTarget,
- public CMouseButtonDownMsgTarget,
- public CEnterViewMsgTarget,
- public CTurnOnTarget,
- public CMovieEndMsgTarget {
+class CArboretumGate : public CBackground {
+ DECLARE_MESSAGE_MAP
private:
static int _v1;
static int _v2;
@@ -73,13 +67,13 @@ private:
int _field150;
CString _string2;
protected:
- virtual bool handleMessage(CActMsg &msg);
- virtual bool handleMessage(CLeaveViewMsg &msg);
- virtual bool handleMessage(CTurnOff &msg);
- virtual bool handleMessage(CMouseButtonDownMsg &msg);
- virtual bool handleMessage(CEnterViewMsg &msg);
- virtual bool handleMessage(CTurnOn &msg);
- virtual bool handleMessage(CMovieEndMsg &msg);
+ virtual bool ActMsg(CActMsg *msg);
+ virtual bool LeaveViewMsg(CLeaveViewMsg *msg);
+ virtual bool TurnOff(CTurnOff *msg);
+ virtual bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ virtual bool EnterViewMsg(CEnterViewMsg *msg);
+ virtual bool TurnOn(CTurnOn *msg);
+ virtual bool MovieEndMsg(CMovieEndMsg *msg);
public:
CLASSDEF
CArboretumGate();