aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-04-24 22:29:17 +0000
committerSven Hesse2009-04-24 22:29:17 +0000
commit383a2b332226acdd8eb69535837965bb723bfc68 (patch)
tree67bf660d5963f9c0130f31832d656b333bc0045e /engines/gob/gob.cpp
parentd8972c3f2cc9a28e750dcaee38d6cf84380d95eb (diff)
downloadscummvm-rg350-383a2b332226acdd8eb69535837965bb723bfc68.tar.gz
scummvm-rg350-383a2b332226acdd8eb69535837965bb723bfc68.tar.bz2
scummvm-rg350-383a2b332226acdd8eb69535837965bb723bfc68.zip
Added supported for BAT-based non-interactive demos, namely the Inca2 one
svn-id: r40129
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 42e8654a5b..05db4ffee6 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -96,7 +96,7 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) {
Common::addDebugChannel(kDebugGraphics, "Graphics", "Graphics debug level");
Common::addDebugChannel(kDebugVideo, "Video", "IMD/VMD video debug level");
Common::addDebugChannel(kDebugCollisions, "Collisions", "Collisions debug level");
- Common::addDebugChannel(kDebugSCN, "SCN", "SCN demo script debug level");
+ Common::addDebugChannel(kDebugDemo, "Demo", "Demo script debug level");
syst->getEventManager()->registerRandomSource(_rnd, "gob");
}
@@ -176,6 +176,10 @@ bool GobEngine::isSCNDemo() const {
return (_features & kFeaturesSCNDemo) != 0;
}
+bool GobEngine::isBATDemo() const {
+ return (_features & kFeaturesBATDemo) != 0;
+}
+
Common::Error GobEngine::run() {
if (!initGameParts()) {
GUIErrorMessage("GobEngine::init(): Unknown version of game engine");