aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/bowl_unlocker.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-15 22:48:27 -0400
committerPaul Gilbert2016-08-15 22:48:27 -0400
commita4885b1d6f783f20716c2d86316946362215bdaa (patch)
treedb96ef3696f1c235b4e804de8f7be992cd4706cc /engines/titanic/game/bowl_unlocker.h
parent33e4afedde5a31ab97a4e1965869b30dd7964e49 (diff)
downloadscummvm-rg350-a4885b1d6f783f20716c2d86316946362215bdaa.tar.gz
scummvm-rg350-a4885b1d6f783f20716c2d86316946362215bdaa.tar.bz2
scummvm-rg350-a4885b1d6f783f20716c2d86316946362215bdaa.zip
TITANIC: Implemented CBowlUnlocker class
Diffstat (limited to 'engines/titanic/game/bowl_unlocker.h')
-rw-r--r--engines/titanic/game/bowl_unlocker.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/game/bowl_unlocker.h b/engines/titanic/game/bowl_unlocker.h
index 2559ac2c52..b940661904 100644
--- a/engines/titanic/game/bowl_unlocker.h
+++ b/engines/titanic/game/bowl_unlocker.h
@@ -28,11 +28,16 @@
namespace Titanic {
class CBowlUnlocker : public CGameObject {
+ DECLARE_MESSAGE_MAP;
+ bool NutPuzzleMsg(CNutPuzzleMsg *msg);
+ bool MovieEndMsg(CMovieEndMsg *msg);
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool LeaveViewMsg(CLeaveViewMsg *msg);
public:
- int _value;
+ bool _bowlUnlocked;
public:
CLASSDEF;
- CBowlUnlocker() : CGameObject(), _value(0) {}
+ CBowlUnlocker() : CGameObject(), _bowlUnlocked(false) {}
/**
* Save the data for the class to file