diff options
author | Paul Gilbert | 2016-04-07 19:55:27 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-07 19:55:27 -0400 |
commit | 41c08d186adc91111e9beccfeef80efb3fcc0fd6 (patch) | |
tree | f922577ae900700e7e392db3f3d95e63c19f7b37 /engines/titanic/game/dead_area.h | |
parent | 6fd32e6dc10e8b3332b0438c069a61f009185441 (diff) | |
download | scummvm-rg350-41c08d186adc91111e9beccfeef80efb3fcc0fd6.tar.gz scummvm-rg350-41c08d186adc91111e9beccfeef80efb3fcc0fd6.tar.bz2 scummvm-rg350-41c08d186adc91111e9beccfeef80efb3fcc0fd6.zip |
TITANIC: Implement CDeadArea messages
Diffstat (limited to 'engines/titanic/game/dead_area.h')
-rw-r--r-- | engines/titanic/game/dead_area.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/dead_area.h b/engines/titanic/game/dead_area.h index 6390475d4e..9a9de3ad92 100644 --- a/engines/titanic/game/dead_area.h +++ b/engines/titanic/game/dead_area.h @@ -32,9 +32,10 @@ namespace Titanic { * Implements a non-responsive screen area */ class CDeadArea : public CGameObject { + DECLARE_MESSAGE_MAP protected: - virtual bool handleMessage(CMouseButtonDownMsg &msg) { return true; } - virtual bool handleMessage(CMouseButtonUpMsg &msg) { return true; } + virtual bool MouseButtonDownMsg(CMouseButtonDownMsg *msg) { return true; } + virtual bool MouseButtonUpMsg(CMouseButtonUpMsg *msg) { return true; } public: CLASSDEF CDeadArea(); |