aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/interface.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-07 23:07:36 -0500
committerPaul Gilbert2014-03-07 23:07:36 -0500
commit3399516c5e4c2931adf76a25944cb3e46f9934ee (patch)
tree62c4183969cebb52f0d69281bde4600cacb48e90 /engines/mads/interface.h
parent1874ec2111fd944d3e554acde8a0f06c651c95fb (diff)
downloadscummvm-rg350-3399516c5e4c2931adf76a25944cb3e46f9934ee.tar.gz
scummvm-rg350-3399516c5e4c2931adf76a25944cb3e46f9934ee.tar.bz2
scummvm-rg350-3399516c5e4c2931adf76a25944cb3e46f9934ee.zip
MADS: Implemented remainder of scene 804 setup code and support methods
Diffstat (limited to 'engines/mads/interface.h')
-rw-r--r--engines/mads/interface.h9
1 files changed, 9 insertions, 0 deletions
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();