aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/head_smash_lever.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/head_smash_lever.h')
-rw-r--r--engines/titanic/game/head_smash_lever.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/titanic/game/head_smash_lever.h b/engines/titanic/game/head_smash_lever.h
index b8f04d39de..19de07922a 100644
--- a/engines/titanic/game/head_smash_lever.h
+++ b/engines/titanic/game/head_smash_lever.h
@@ -28,10 +28,15 @@
namespace Titanic {
class CHeadSmashLever : public CBackground {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool ActMsg(CActMsg *msg);
+ bool FrameMsg(CFrameMsg *msg);
+ bool LoadSuccessMsg(CLoadSuccessMsg *msg);
public:
- int _fieldE0;
- int _fieldE4;
- int _fieldE8;
+ bool _enabled;
+ bool _fieldE4;
+ uint _ticks;
public:
CLASSDEF;
CHeadSmashLever();