From 7234f076f4ccf5cb427ad4abda65b4fb2d823d3b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 15 Aug 2016 21:32:03 -0400 Subject: TITANIC: Implemented CBottomOfWellMonitor class --- engines/titanic/game/bottom_of_well_monitor.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/titanic/game/bottom_of_well_monitor.h') diff --git a/engines/titanic/game/bottom_of_well_monitor.h b/engines/titanic/game/bottom_of_well_monitor.h index 65424aad70..be9ae2c093 100644 --- a/engines/titanic/game/bottom_of_well_monitor.h +++ b/engines/titanic/game/bottom_of_well_monitor.h @@ -28,12 +28,17 @@ namespace Titanic { class CBottomOfWellMonitor : public CGameObject { + DECLARE_MESSAGE_MAP; + bool ActMsg(CActMsg *msg); + bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); + bool EnterViewMsg(CEnterViewMsg *msg); + bool LeaveViewMsg(CLeaveViewMsg *msg); public: static int _v1, _v2; - int _value; + bool _flag; public: CLASSDEF; - CBottomOfWellMonitor() : _value(1) {} + CBottomOfWellMonitor() : _flag(true) {} /** * Save the data for the class to file -- cgit v1.2.3