aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/empty_nut_bowl.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-19 23:41:19 -0400
committerPaul Gilbert2016-08-19 23:41:19 -0400
commit3c2c82fcd593e7b358f359de69070b6dd0e92150 (patch)
tree53251f5642b35626c606633cfe7baa1ce87b1fea /engines/titanic/game/empty_nut_bowl.h
parent449d8a02e05754e889e13ff721ff2c0cb995c486 (diff)
downloadscummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.tar.gz
scummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.tar.bz2
scummvm-rg350-3c2c82fcd593e7b358f359de69070b6dd0e92150.zip
TITANIC: Implemented more game classes
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