From cce771c0e1c018edc6c047322f58614425192ee6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 24 Sep 2016 22:35:08 -0400 Subject: XEEN: Display main menu on startup --- engines/xeen/worldofxeen/worldofxeen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/xeen/worldofxeen/worldofxeen.cpp') 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: -- cgit v1.2.3