aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-28 22:25:15 -0400
committerPaul Gilbert2016-03-28 22:25:15 -0400
commit471737a41a4f75a65ed0f7e49f6b30e361232bae (patch)
tree8d5642719aa2d4cf37ffc761052bc0dfe0c674b8 /engines/titanic/game/cdrom.h
parent73204984098c96ecc28a1367a5da9613e7103a35 (diff)
downloadscummvm-rg350-471737a41a4f75a65ed0f7e49f6b30e361232bae.tar.gz
scummvm-rg350-471737a41a4f75a65ed0f7e49f6b30e361232bae.tar.bz2
scummvm-rg350-471737a41a4f75a65ed0f7e49f6b30e361232bae.zip
TITANIC: Implemented CCDROM and various support stuff
Diffstat (limited to 'engines/titanic/game/cdrom.h')
-rw-r--r--engines/titanic/game/cdrom.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/titanic/game/cdrom.h b/engines/titanic/game/cdrom.h
index c1280f6712..61bada0b74 100644
--- a/engines/titanic/game/cdrom.h
+++ b/engines/titanic/game/cdrom.h
@@ -24,12 +24,23 @@
#define TITANIC_CDROM_H
#include "titanic/core/game_object.h"
+#include "titanic/messages/messages.h"
+#include "titanic/messages/mouse_messages.h"
namespace Titanic {
-class CCDROM : public CGameObject {
+class CCDROM : public CGameObject,
+ public CMouseDragStartMsgTarget,
+ public CMouseDragEndMsgTarget,
+ public CMouseDragMoveMsgTarget,
+ public CActMsgTarget {
private:
- Point _pos1;
+ 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();