aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-03-07 05:06:58 +0000
committerPaul Gilbert2010-03-07 05:06:58 +0000
commit7f57001e175ef2215e192968e9883e63145e7a50 (patch)
tree99a4fd17e2a9717d0763f2a19065b2c2056f59d6 /engines/m4/mads_views.h
parenta5a8b6c19f2601113fc3d3a14b6ec19576fdd1f8 (diff)
downloadscummvm-rg350-7f57001e175ef2215e192968e9883e63145e7a50.tar.gz
scummvm-rg350-7f57001e175ef2215e192968e9883e63145e7a50.tar.bz2
scummvm-rg350-7f57001e175ef2215e192968e9883e63145e7a50.zip
Split up the scene.cpp file into separate files for M4 and MADS specific scene code and support classes. Also have started adding code for textual display and proper current action display
svn-id: r48172
Diffstat (limited to 'engines/m4/mads_views.h')
-rw-r--r--engines/m4/mads_views.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/m4/mads_views.h b/engines/m4/mads_views.h
index d984f77589..fa6247d4a9 100644
--- a/engines/m4/mads_views.h
+++ b/engines/m4/mads_views.h
@@ -34,6 +34,8 @@
namespace M4 {
+#define CHEAT_SEQUENCE_MAX 8
+
class IntegerList : public Common::Array<int> {
public:
int indexOf(int v) {
@@ -74,6 +76,7 @@ public:
virtual void initialise();
virtual void setSelectedObject(int objectNumber);
virtual void addObjectToInventory(int objectNumber);
+ int getSelectedObject() { return _selectedObject; }
void onRefresh(RectList *rects, M4Surface *destSurface);
bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents);