From afa75b70475ca47daba11c8bfacc7e61592cc0c6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 15 Jan 2016 20:56:15 +0200 Subject: LAB: Separate the interface from the event manager --- engines/lab/lab.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/lab/lab.h') diff --git a/engines/lab/lab.h b/engines/lab/lab.h index 3951f45127..4a037efb2d 100644 --- a/engines/lab/lab.h +++ b/engines/lab/lab.h @@ -60,6 +60,7 @@ struct ViewData; class Anim; class DisplayMan; class EventManager; +class Interface; class Image; class Music; class Resource; @@ -187,6 +188,7 @@ public: CrumbData _breadCrumbs[MAX_CRUMBS]; DisplayMan *_graphics; EventManager *_event; + Interface *_interface; ButtonList _invButtonList; ButtonList _moveButtonList; Image *_invImages[10]; @@ -232,6 +234,8 @@ public: bool canLoadGameStateCurrently(); bool canSaveGameStateCurrently(); + bool isMainDisplay() const { return _mainDisplay; } + private: /** * Checks whether all the conditions in a condition list are met. @@ -434,8 +438,6 @@ private: */ void mainGameLoop(); void showLab2Teaser(); - void mayShowCrumbIndicator(); - void mayShowCrumbIndicatorOff(); /** * Permanently flips the imagery of a button. -- cgit v1.2.3