aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/empty_nut_bowl.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/empty_nut_bowl.h')
-rw-r--r--engines/titanic/game/empty_nut_bowl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/game/empty_nut_bowl.h b/engines/titanic/game/empty_nut_bowl.h
index 112e2c6075..d67e75b0aa 100644
--- a/engines/titanic/game/empty_nut_bowl.h
+++ b/engines/titanic/game/empty_nut_bowl.h
@@ -28,11 +28,16 @@
namespace Titanic {
class CEmptyNutBowl : public CGameObject {
+ DECLARE_MESSAGE_MAP;
+ bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
+ bool ReplaceBowlAndNutsMsg(CReplaceBowlAndNutsMsg *msg);
+ bool NutPuzzleMsg(CNutPuzzleMsg *msg);
+ bool MouseDragStartMsg(CMouseDragStartMsg *msg);
public:
- int _value;
+ bool _flag;
public:
CLASSDEF;
- CEmptyNutBowl() : CGameObject(), _value(1) {}
+ CEmptyNutBowl() : CGameObject(), _flag(true) {}
/**
* Save the data for the class to file