aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/wheel_hotspot.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/wheel_hotspot.h')
-rw-r--r--engines/titanic/game/wheel_hotspot.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/titanic/game/wheel_hotspot.h b/engines/titanic/game/wheel_hotspot.h
index e9071a2fa4..41da0fba81 100644
--- a/engines/titanic/game/wheel_hotspot.h
+++ b/engines/titanic/game/wheel_hotspot.h
@@ -27,16 +27,20 @@
namespace Titanic {
+enum WheelHotspotAction {
+ WH_NONE = 0, WH_STOP = 1, WH_CRUISE = 2, WH_GO = 3
+};
+
class CWheelHotSpot : public CBackground {
DECLARE_MESSAGE_MAP;
bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
bool SignalObject(CSignalObject *msg);
public:
- int _fieldE0;
- int _fieldE4;
+ bool _active;
+ WheelHotspotAction _action;
public:
CLASSDEF;
- CWheelHotSpot() : CBackground(), _fieldE0(0), _fieldE4(0) {}
+ CWheelHotSpot() : CBackground(), _active(false), _action(WH_NONE) {}
/**
* Save the data for the class to file