aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/eject_phonograph_button.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-19 20:48:05 -0400
committerPaul Gilbert2016-08-19 20:48:05 -0400
commita5a1a08c503d9e32352f67b90650bc604959ea5a (patch)
treebe608ff67f5c7150f69c61510e9ff4349ad575e2 /engines/titanic/game/eject_phonograph_button.h
parent5ec6f572c1b7888b4111566fcf6727ade3f043ea (diff)
downloadscummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.tar.gz
scummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.tar.bz2
scummvm-rg350-a5a1a08c503d9e32352f67b90650bc604959ea5a.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/eject_phonograph_button.h')
-rw-r--r--engines/titanic/game/eject_phonograph_button.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/engines/titanic/game/eject_phonograph_button.h b/engines/titanic/game/eject_phonograph_button.h
index 5f5da8053e..df8e602468 100644
--- a/engines/titanic/game/eject_phonograph_button.h
+++ b/engines/titanic/game/eject_phonograph_button.h
@@ -28,14 +28,17 @@
namespace Titanic {
class CEjectPhonographButton : public CBackground {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool CylinderHolderReadyMsg(CCylinderHolderReadyMsg *msg);
public:
- int _fieldE0;
- int _fieldE4;
- CString _string3;
- CString _string4;
+ bool _ejected;
+ bool _readyFlag;
+ CString _soundName;
+ CString _readySoundName;
public:
CLASSDEF;
- CEjectPhonographButton() : CBackground(), _fieldE0(0), _fieldE4(0) {}
+ CEjectPhonographButton() : CBackground(), _ejected(false), _readyFlag(false) {}
/**
* Save the data for the class to file