diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-24 01:25:44 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-24 01:45:54 +0300 |
commit | b7783b19d2d075ba507f4300e44704710301fbb5 (patch) | |
tree | bcb481da6c2bc8a0bc467acb02a5573980b13b8d /src/core/Game.cpp | |
parent | b2f9b3175b36e114496420dd67ef2f0efdda6f71 (diff) |
Xbox message screen, disabled by default
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r-- | src/core/Game.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 5b75e6a6..6ac02103 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -674,8 +674,10 @@ void CGame::InitialiseWhenRestarting(void) if (b_FoundRecentSavedGameWantToLoad || FrontEndMenuManager.m_bWantToLoad) { LoadSplash("splash1"); +#ifndef XBOX_MESSAGE_SCREEN if (FrontEndMenuManager.m_bWantToLoad) FrontEndMenuManager.MessageScreen("FELD_WR", true); +#endif } b_FoundRecentSavedGameWantToLoad = false; @@ -684,6 +686,14 @@ void CGame::InitialiseWhenRestarting(void) if ( FrontEndMenuManager.m_bWantToLoad == true ) { +#ifdef XBOX_MESSAGE_SCREEN + FrontEndMenuManager.SetDialogTimer(1000); + DoRWStuffStartOfFrame(0, 0, 0, 0, 0, 0, 0); + CSprite2d::InitPerFrame(); + CFont::InitPerFrame(); + FrontEndMenuManager.DrawOverlays(); + DoRWStuffEndOfFrame(); +#endif RestoreForStartLoad(); } @@ -717,6 +727,9 @@ void CGame::InitialiseWhenRestarting(void) currLevel = LEVEL_GENERIC; CCollision::SortOutCollisionAfterLoad(); } +#ifdef XBOX_MESSAGE_SCREEN + FrontEndMenuManager.ProcessDialogTimer(); +#endif } CTimer::Update(); |