From 3399516c5e4c2931adf76a25944cb3e46f9934ee Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 7 Mar 2014 23:07:36 -0500 Subject: MADS: Implemented remainder of scene 804 setup code and support methods --- engines/mads/interface.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines/mads/interface.h') diff --git a/engines/mads/interface.h b/engines/mads/interface.h index 3295fa450e..0d7860b30a 100644 --- a/engines/mads/interface.h +++ b/engines/mads/interface.h @@ -26,17 +26,21 @@ #include "common/scummsys.h" #include "common/rect.h" #include "common/str.h" +#include "mads/msurface.h" namespace MADS { class InterfaceSurface : public MSurface { private: MADSEngine *_vm; + + void loadElements(); public: ScrCategory _category; int _screenObjectsCount; Common::Rect _bounds; Common::Rect *_rectP; + MSurface _surface; public: /** * Constructor @@ -48,6 +52,11 @@ public: */ void load(const Common::String &resName); + /** + * Set up the interface + */ + void setup(int id); + void elementHighlighted(); void writeText(); -- cgit v1.2.3