diff options
author | Eugene Sandulenko | 2016-12-10 17:15:49 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-12-10 17:15:49 +0100 |
commit | 5f26c445c9661fa723ddbec23892d07beea0c89c (patch) | |
tree | 1371064cbd62037845c4e6c8585e031a5d08a5c9 /engines/fullpipe/scenes | |
parent | 88a3a2bc4daa160ab03c75aa495954e8035acc19 (diff) | |
download | scummvm-rg350-5f26c445c9661fa723ddbec23892d07beea0c89c.tar.gz scummvm-rg350-5f26c445c9661fa723ddbec23892d07beea0c89c.tar.bz2 scummvm-rg350-5f26c445c9661fa723ddbec23892d07beea0c89c.zip |
FULLPIPE: Implemented support for German demo
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene08.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp index e64ef28900..0c8b68b17e 100644 --- a/engines/fullpipe/scenes/scene08.cpp +++ b/engines/fullpipe/scenes/scene08.cpp @@ -20,6 +20,8 @@ * */ +#include "engines/advancedDetector.h" + #include "fullpipe/fullpipe.h" #include "fullpipe/objects.h" @@ -33,6 +35,7 @@ #include "fullpipe/gameloader.h" #include "fullpipe/behavior.h" #include "fullpipe/interaction.h" +#include "fullpipe/modal.h" namespace Fullpipe { @@ -409,6 +412,15 @@ void sceneHandler08_checkEndArcade() { if (y < 80) { sceneHandler08_finishArcade(); + if (g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::DE_DEU) { + ModalDemo *demo = new ModalDemo; + demo->launch(); + + g_fp->_modalObject = demo; + + return; + } + ExCommand *ex = new ExCommand(SC_8, 17, 0, 0, 0, 0, 1, 0, 0, 0); ex->_messageNum = 61; ex->_excFlags |= 2; |