diff options
author | Nicola Mettifogo | 2008-02-05 10:24:22 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-02-05 10:24:22 +0000 |
commit | dabefdce05e466fae8bf540b94886eadc7c4953d (patch) | |
tree | 09abd848918bd3f181eac6d11f6a21f6b3f33651 /engines/parallaction/parallaction_br.cpp | |
parent | 17fdd182b6727220329efec61fbeed2c6b3feb8d (diff) | |
download | scummvm-rg350-dabefdce05e466fae8bf540b94886eadc7c4953d.tar.gz scummvm-rg350-dabefdce05e466fae8bf540b94886eadc7c4953d.tar.bz2 scummvm-rg350-dabefdce05e466fae8bf540b94886eadc7c4953d.zip |
Changed main loop to allow BRA to return to menu after intro.
svn-id: r30798
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index edae8c9f37..089d38ce81 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -96,16 +96,22 @@ void Parallaction_br::callFunction(uint index, void* parm) { int Parallaction_br::go() { + guiSplash("dyna"); + guiSplash("core"); + while ((_engineFlags & kEngineQuit) == 0) { guiStart(); // initCharacter(); - runGame(); + _inputMode = kInputModeGame; + while ((_engineFlags & (kEngineReturn | kEngineQuit)) == 0) { + runGame(); + } + _engineFlags &= ~kEngineReturn; freePart(); -// freeLocation(); // freeCharacter(); } |