aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/hammer_dispensor_button.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-03 16:26:39 -0500
committerPaul Gilbert2017-01-03 16:26:39 -0500
commit759f69fe1ef445feddb28a1410c4e0821ae7ac40 (patch)
treee9608e5e855cd7e1005f8279a0cba72b4d3f1140 /engines/titanic/game/hammer_dispensor_button.h
parentd490e11d4c90ed530eedb56e941683c1a7008987 (diff)
downloadscummvm-rg350-759f69fe1ef445feddb28a1410c4e0821ae7ac40.tar.gz
scummvm-rg350-759f69fe1ef445feddb28a1410c4e0821ae7ac40.tar.bz2
scummvm-rg350-759f69fe1ef445feddb28a1410c4e0821ae7ac40.zip
TITANIC: Fixes and cleanup for the hammer dispensor
Diffstat (limited to 'engines/titanic/game/hammer_dispensor_button.h')
-rw-r--r--engines/titanic/game/hammer_dispensor_button.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/titanic/game/hammer_dispensor_button.h b/engines/titanic/game/hammer_dispensor_button.h
index f497b9dae1..0194021943 100644
--- a/engines/titanic/game/hammer_dispensor_button.h
+++ b/engines/titanic/game/hammer_dispensor_button.h
@@ -24,6 +24,7 @@
#define TITANIC_HAMMER_DISPENSOR_BUTTON_H
#include "titanic/game/start_action.h"
+#include "titanic/carry/perch.h"
namespace Titanic {
@@ -36,12 +37,12 @@ class CHammerDispensorButton : public CStartAction {
bool LeaveViewMsg(CLeaveViewMsg *msg);
bool EnterViewMsg(CEnterViewMsg *msg);
private:
- int _fieldF8;
- int _fieldFC;
- int _field100;
+ bool _active;
+ bool _open;
+ int _hitCounter;
Point _btnPos;
- CGameObject *_field10C;
- int _field110;
+ CPerch *_perch;
+ bool _hammerTaken;
public:
CLASSDEF;
CHammerDispensorButton();