aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/swordsofxeen/swordsofxeen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-26 19:15:00 -0500
committerPaul Gilbert2018-02-26 19:15:00 -0500
commit0fc11aef63d2abbc695d64ed41053b4163aac69c (patch)
tree5c3da450b0112529f48e909a81cb58609052f1ba /engines/xeen/swordsofxeen/swordsofxeen.cpp
parent724c4e57add58362395ad6b6e79bcdaed1ff073b (diff)
downloadscummvm-rg350-0fc11aef63d2abbc695d64ed41053b4163aac69c.tar.gz
scummvm-rg350-0fc11aef63d2abbc695d64ed41053b4163aac69c.tar.bz2
scummvm-rg350-0fc11aef63d2abbc695d64ed41053b4163aac69c.zip
XEEN: Cleanup of the game title, intro, and menu launching code
Diffstat (limited to 'engines/xeen/swordsofxeen/swordsofxeen.cpp')
-rw-r--r--engines/xeen/swordsofxeen/swordsofxeen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/xeen/swordsofxeen/swordsofxeen.cpp b/engines/xeen/swordsofxeen/swordsofxeen.cpp
index ebe6f74858..386136770a 100644
--- a/engines/xeen/swordsofxeen/swordsofxeen.cpp
+++ b/engines/xeen/swordsofxeen/swordsofxeen.cpp
@@ -29,10 +29,10 @@ SwordsOfXeenEngine::SwordsOfXeenEngine(OSystem *syst, const XeenGameDescription
: XeenEngine(syst, gameDesc) {
}
-void SwordsOfXeenEngine::outerGameLoop() {
- // TODO: Implement Swords of Xeen main menu
-
- playGame();
+void SwordsOfXeenEngine::showMainMenu() {
+ // TODO: Implement Swords of Xeen main menu. For now, skip to playing game
+ _saves->newGame();
+ _gameMode = GMODE_PLAY_GAME;
}
void SwordsOfXeenEngine::death() {
@@ -88,7 +88,7 @@ void SwordsOfXeenEngine::dream() {
}
void SwordsOfXeenEngine::showCutscene(const Common::String &name, int status, uint score) {
- _quitMode = QMODE_MENU;
+ _gameMode = GMODE_MENU;
}
} // End of namespace SwordsOfXeen