aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/lemon_dispensor.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-22 21:52:29 -0400
committerPaul Gilbert2016-08-22 21:52:29 -0400
commitdf3e545976f401e4be999eb1c8fa9726b9dfcb38 (patch)
treeb2142a922f5ade01d95fdc5cb197d0dae29219f0 /engines/titanic/game/lemon_dispensor.h
parent2822fb5811dd4764a5d5dda5f77ce8f838b604e8 (diff)
downloadscummvm-rg350-df3e545976f401e4be999eb1c8fa9726b9dfcb38.tar.gz
scummvm-rg350-df3e545976f401e4be999eb1c8fa9726b9dfcb38.tar.bz2
scummvm-rg350-df3e545976f401e4be999eb1c8fa9726b9dfcb38.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/lemon_dispensor.h')
-rw-r--r--engines/titanic/game/lemon_dispensor.h15
1 files changed, 12 insertions, 3 deletions
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,20 +28,29 @@
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
*/
virtual void save(SimpleFile *file, int indent);