aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen/worldofxeen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-02 19:28:47 -0500
committerPaul Gilbert2018-03-02 19:28:47 -0500
commit010c47bfe8aef1234407eda4fb9174627683bb09 (patch)
treea444ff6f8361ffb69765e4064cbff2a7b9e70b0f /engines/xeen/worldofxeen/worldofxeen.cpp
parent3de1ba11b3dff52a5449d6ef9435572238f16958 (diff)
downloadscummvm-rg350-010c47bfe8aef1234407eda4fb9174627683bb09.tar.gz
scummvm-rg350-010c47bfe8aef1234407eda4fb9174627683bb09.tar.bz2
scummvm-rg350-010c47bfe8aef1234407eda4fb9174627683bb09.zip
XEEN: Add World of Xeen logo to end of Dark Side intro
Diffstat (limited to 'engines/xeen/worldofxeen/worldofxeen.cpp')
-rw-r--r--engines/xeen/worldofxeen/worldofxeen.cpp33
1 files changed, 8 insertions, 25 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen.cpp b/engines/xeen/worldofxeen/worldofxeen.cpp
index 61552eb7e5..88ab3d3c44 100644
--- a/engines/xeen/worldofxeen/worldofxeen.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen.cpp
@@ -161,14 +161,6 @@ void WorldOfXeenEngine::showCutscene(const Common::String &name, int status, uin
showDarkSideEnding(score);
else if (name == "WORLDEND")
showWorldOfXeenEnding((GooberState)status, score);
- else if (name == "CLOUDS_TITLE")
- showCloudsTitle();
- else if (name == "CLOUDS_INTRO")
- showCloudsIntro();
- else if (name == "DARKSIDE_TITLE")
- showDarkSideTitle();
- else if (name == "DARKSIDE_INTRO")
- showDarkSideIntro();
_screen->freePages();
_sound->stopAllAudio();
@@ -178,25 +170,16 @@ void WorldOfXeenEngine::showCutscene(const Common::String &name, int status, uin
void WorldOfXeenEngine::showStartup() {
bool seenIntro = ConfMan.hasKey("seen_intro") && ConfMan.getBool("seen_intro");
+ bool completedIntro;
- // Show the title animation
- bool completedTitle = true;
- //(getGameID() == GType_Clouds) ?
- // showCloudsTitle() : showDarkSideTitle();
- _sound->stopAllAudio();
+ if (getGameID() == GType_Clouds)
+ completedIntro = showCloudsIntro();
+ else
+ completedIntro = showDarkSideIntro(seenIntro);
- // Unless user aborted the title, go
- if (completedTitle && !seenIntro) {
- if (getGameID() == GType_Clouds)
- seenIntro = showCloudsIntro();
- else
- seenIntro = showDarkSideIntro();
-
- seenIntro = false;//****DEBUG****
- if (seenIntro) {
- ConfMan.setBool("seen_intro", true);
- ConfMan.flushToDisk();
- }
+ if (!seenIntro && completedIntro) {
+ ConfMan.setBool("seen_intro", true);
+ ConfMan.flushToDisk();
}
_gameMode = GMODE_MENU;