diff options
author | Sven Hesse | 2009-05-20 23:13:44 +0000 |
---|---|---|
committer | Sven Hesse | 2009-05-20 23:13:44 +0000 |
commit | c9ff1d74925ad6a381bc714b57ddc8e56c6c235c (patch) | |
tree | 25a284c5f2828f11a6e965da82a17cf7531fa128 /engines/gob/gob.cpp | |
parent | 8e4b31f5220d73a211a2e822c27989fd96b65030 (diff) | |
download | scummvm-rg350-c9ff1d74925ad6a381bc714b57ddc8e56c6c235c.tar.gz scummvm-rg350-c9ff1d74925ad6a381bc714b57ddc8e56c6c235c.tar.bz2 scummvm-rg350-c9ff1d74925ad6a381bc714b57ddc8e56c6c235c.zip |
- Changed the demo player to allow playing directly inlined scripts using a new demoIndex field in the detection array
- Changed the Inca 2 demo entry to use a directly included script instead of triggering on "demo.bat"
svn-id: r40746
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r-- | engines/gob/gob.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 05ab2d9b5a..e2775fd87e 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -180,6 +180,10 @@ bool GobEngine::isBATDemo() const { return (_features & kFeaturesBATDemo) != 0; } +bool GobEngine::isDemo() const { + return (isSCNDemo() || isBATDemo()); +} + Common::Error GobEngine::run() { if (!initGameParts()) { GUIErrorMessage("GobEngine::init(): Unknown version of game engine"); |