From 3c2c82fcd593e7b358f359de69070b6dd0e92150 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 19 Aug 2016 23:41:19 -0400 Subject: TITANIC: Implemented more game classes --- engines/titanic/game/empty_nut_bowl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/titanic/game/empty_nut_bowl.h') 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 -- cgit v1.2.3