diff options
author | Sven Hesse | 2009-04-24 18:23:17 +0000 |
---|---|---|
committer | Sven Hesse | 2009-04-24 18:23:17 +0000 |
commit | 893a3fc7e2cc1032a3899fb0947f1878e2ee336c (patch) | |
tree | 30872637caf225bf9ea9fbe0e33c8cd4717030bc /engines/gob/gob.cpp | |
parent | 7d4618d1657a498944397b9b6db7ad77c9dc79fe (diff) | |
download | scummvm-rg350-893a3fc7e2cc1032a3899fb0947f1878e2ee336c.tar.gz scummvm-rg350-893a3fc7e2cc1032a3899fb0947f1878e2ee336c.tar.bz2 scummvm-rg350-893a3fc7e2cc1032a3899fb0947f1878e2ee336c.zip |
Added support for SCN-based non-interactive demos
svn-id: r40122
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index fbf3d6586c..42e8654a5b 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -96,6 +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"); syst->getEventManager()->registerRandomSource(_rnd, "gob"); } @@ -171,6 +172,10 @@ bool GobEngine::hasAdlib() const { return (_features & kFeaturesAdlib) != 0; } +bool GobEngine::isSCNDemo() const { + return (_features & kFeaturesSCNDemo) != 0; +} + Common::Error GobEngine::run() { if (!initGameParts()) { GUIErrorMessage("GobEngine::init(): Unknown version of game engine"); |