From df3e545976f401e4be999eb1c8fa9726b9dfcb38 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 22 Aug 2016 21:52:29 -0400 Subject: TITANIC: Implemented more game classes --- engines/titanic/game/lemon_dispensor.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'engines/titanic/game/lemon_dispensor.h') diff --git a/engines/titanic/game/lemon_dispensor.h b/engines/titanic/game/lemon_dispensor.h index d6315ed620..933e0b6af0 100644 --- a/engines/titanic/game/lemon_dispensor.h +++ b/engines/titanic/game/lemon_dispensor.h @@ -28,19 +28,28 @@ namespace Titanic { class CLemonDispensor : public CBackground { + DECLARE_MESSAGE_MAP; + bool FrameMsg(CFrameMsg *msg); + bool ChangeSeasonMsg(CChangeSeasonMsg *msg); + bool LeaveViewMsg(CLeaveViewMsg *msg); private: - static int _v1; + static bool _isSummer; static int _v2; static int _v3; + static CGameObject *_draggingObject; int _fieldE0; - int _fieldE4; - int _fieldE8; + Point _origPt; int _fieldEC; public: CLASSDEF; CLemonDispensor(); + /** + * Initialize statics + */ + static void init(); + /** * Save the data for the class to file */ -- cgit v1.2.3