aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-07 22:03:35 -0400
committerPaul Gilbert2016-04-07 22:03:35 -0400
commit9f1bab55972b8a6f88b83c2391c40a038ffb509d (patch)
treef56c6af8d5606cba208b1663662597ff3861a356 /engines/titanic/game/cdrom.h
parent41c08d186adc91111e9beccfeef80efb3fcc0fd6 (diff)
downloadscummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.gz
scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.bz2
scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.zip
TITANIC: Converting other message stubs to new format
Diffstat (limited to 'engines/titanic/game/cdrom.h')
-rw-r--r--engines/titanic/game/cdrom.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/game/cdrom.h b/engines/titanic/game/cdrom.h
index fa1c80335a..44e1e82216 100644
--- a/engines/titanic/game/cdrom.h
+++ b/engines/titanic/game/cdrom.h
@@ -30,13 +30,13 @@
namespace Titanic {
class CCDROM : public CGameObject {
+ DECLARE_MESSAGE_MAP
+ bool MouseDragStartMsg(CMouseDragStartMsg *msg);
+ bool MouseDragEndMsg(CMouseDragEndMsg *msg);
+ bool MouseDragMoveMsg(CMouseDragMoveMsg *msg);
+ bool ActMsg(CActMsg *msg);
private:
Point _tempPos;
-protected:
- virtual bool handleMessage(CMouseDragStartMsg &msg);
- virtual bool handleMessage(CMouseDragEndMsg &msg);
- virtual bool handleMessage(CMouseDragMoveMsg &msg);
- virtual bool handleMessage(CActMsg &msg);
public:
CLASSDEF
CCDROM();