aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/phonograph_lid.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-27 11:15:23 -0400
committerPaul Gilbert2016-08-27 11:15:23 -0400
commit40ec26b3439eb82e5bf8bff82529c16d34a5ed94 (patch)
tree909fae17fbb0068654f3920b004018a7bcc81f71 /engines/titanic/game/phonograph_lid.h
parent795cdb6365bcf01a92950e6fee8632a3a749d165 (diff)
downloadscummvm-rg350-40ec26b3439eb82e5bf8bff82529c16d34a5ed94.tar.gz
scummvm-rg350-40ec26b3439eb82e5bf8bff82529c16d34a5ed94.tar.bz2
scummvm-rg350-40ec26b3439eb82e5bf8bff82529c16d34a5ed94.zip
TITANIC: Implemented phonograph classes
Diffstat (limited to 'engines/titanic/game/phonograph_lid.h')
-rw-r--r--engines/titanic/game/phonograph_lid.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/game/phonograph_lid.h b/engines/titanic/game/phonograph_lid.h
index ab32be268b..4e71d70ec2 100644
--- a/engines/titanic/game/phonograph_lid.h
+++ b/engines/titanic/game/phonograph_lid.h
@@ -28,11 +28,16 @@
namespace Titanic {
class CPhonographLid : public CGameObject {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool MovieEndMsg(CMovieEndMsg *msg);
+ bool LockPhonographMsg(CLockPhonographMsg *msg);
+ bool LeaveViewMsg(CLeaveViewMsg *msg);
private:
- int _value;
+ bool _open;
public:
CLASSDEF;
- CPhonographLid() : CGameObject(), _value(0) {}
+ CPhonographLid() : CGameObject(), _open(false) {}
/**
* Save the data for the class to file