aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/lastexpress.h
diff options
context:
space:
mode:
authorMax Horn2011-06-10 20:19:18 +0200
committerMax Horn2011-06-10 22:15:47 +0200
commit8878be7b11e48541666a9a42a3d72122ad7c99f5 (patch)
tree8c1c5102ef3b7443f3cf13b471d118cddb4f3820 /engines/lastexpress/lastexpress.h
parenta0cba0a76032129d0197fa6413ea6ae6068ba073 (diff)
downloadscummvm-rg350-8878be7b11e48541666a9a42a3d72122ad7c99f5.tar.gz
scummvm-rg350-8878be7b11e48541666a9a42a3d72122ad7c99f5.tar.bz2
scummvm-rg350-8878be7b11e48541666a9a42a3d72122ad7c99f5.zip
LASTEXPRESS: Reduce header dependencies
Diffstat (limited to 'engines/lastexpress/lastexpress.h')
-rw-r--r--engines/lastexpress/lastexpress.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/lastexpress/lastexpress.h b/engines/lastexpress/lastexpress.h
index d78bba36f0..f8f38788a0 100644
--- a/engines/lastexpress/lastexpress.h
+++ b/engines/lastexpress/lastexpress.h
@@ -29,11 +29,12 @@
#include "common/random.h"
#include "common/timer.h"
-#include "engines/advancedDetector.h"
#include "engines/engine.h"
#include "graphics/pixelformat.h"
+struct ADGameDescription;
+
/**
* This is the namespace of the LastExpress engine.
*
@@ -101,7 +102,7 @@ public:
void restoreEventHandlers();
void setEventHandlers(EventHandler::EventFunction *eventMouse, EventHandler::EventFunction *eventTick);
- bool isDemo() const { return (bool)(_gameDescription->flags & ADGF_DEMO); }
+ bool isDemo() const;
// Frame Counter
uint32 getFrameCounter() { return _frameCounter; }