aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/play_music_button.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-27 12:45:36 -0400
committerPaul Gilbert2016-08-27 12:45:36 -0400
commit5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a (patch)
tree7f5e6d224f8d14a1ef8f69a83c91b498ec80add3 /engines/titanic/game/play_music_button.h
parentc1b6fc3824018118618685fcbfcabe413e865531 (diff)
downloadscummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.tar.gz
scummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.tar.bz2
scummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/play_music_button.h')
-rw-r--r--engines/titanic/game/play_music_button.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/game/play_music_button.h b/engines/titanic/game/play_music_button.h
index 4e3474181c..824b372bf9 100644
--- a/engines/titanic/game/play_music_button.h
+++ b/engines/titanic/game/play_music_button.h
@@ -28,12 +28,15 @@
namespace Titanic {
class CPlayMusicButton : public CBackground {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool FrameMsg(CFrameMsg *msg);
public:
- int _fieldE0;
- int _fieldE4;
+ bool _flag;
+ uint _ticks;
public:
CLASSDEF;
- CPlayMusicButton() : CBackground(), _fieldE0(0), _fieldE4(0) {}
+ CPlayMusicButton() : CBackground(), _flag(false), _ticks(0) {}
/**
* Save the data for the class to file