diff options
author | Paul Gilbert | 2016-09-24 22:35:08 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-24 22:35:08 -0400 |
commit | cce771c0e1c018edc6c047322f58614425192ee6 (patch) | |
tree | 9204f7e9613dda64f2965917527d42acd1c92522 /engines/xeen/worldofxeen/worldofxeen.cpp | |
parent | f77367c42bc699fd51dbde775f09073ca6658a7d (diff) | |
download | scummvm-rg350-cce771c0e1c018edc6c047322f58614425192ee6.tar.gz scummvm-rg350-cce771c0e1c018edc6c047322f58614425192ee6.tar.bz2 scummvm-rg350-cce771c0e1c018edc6c047322f58614425192ee6.zip |
XEEN: Display main menu on startup
Diffstat (limited to 'engines/xeen/worldofxeen/worldofxeen.cpp')
-rw-r--r-- | engines/xeen/worldofxeen/worldofxeen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen.cpp b/engines/xeen/worldofxeen/worldofxeen.cpp index 19ca2f2bb1..f4d8fdbc94 100644 --- a/engines/xeen/worldofxeen/worldofxeen.cpp +++ b/engines/xeen/worldofxeen/worldofxeen.cpp @@ -23,6 +23,7 @@ #include "xeen/worldofxeen/worldofxeen.h" #include "xeen/worldofxeen/darkside_cutscenes.h" #include "xeen/worldofxeen/clouds_cutscenes.h" +#include "xeen/worldofxeen/worldofxeen_menu.h" #include "xeen/sound.h" namespace Xeen { @@ -35,8 +36,8 @@ WorldOfXeenEngine::WorldOfXeenEngine(OSystem *syst, const XeenGameDescription *g } void WorldOfXeenEngine::outerGameLoop() { - _pendingAction = getGameID() == GType_DarkSide ? WOX_DARKSIDE_INTRO : WOX_CLOUDS_INTRO; - + //_pendingAction = getGameID() == GType_DarkSide ? WOX_DARKSIDE_INTRO : WOX_CLOUDS_INTRO; + _pendingAction = WOX_MENU; while (!shouldQuit() && _pendingAction != WOX_QUIT) { switch (_pendingAction) { case WOX_CLOUDS_INTRO: @@ -66,8 +67,7 @@ void WorldOfXeenEngine::outerGameLoop() { return; case WOX_MENU: - // TODO - _pendingAction = WOX_PLAY_GAME; + WorldOfXeenMenu::show(this); break; case WOX_PLAY_GAME: |