summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-11-23 23:25:44 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2020-11-23 23:45:54 +0100
commitb7783b19d2d075ba507f4300e44704710301fbb5 (patch)
treebcb481da6c2bc8a0bc467acb02a5573980b13b8d /src/core/Game.cpp
parenttwo unused functions (diff)
downloadre3-b7783b19d2d075ba507f4300e44704710301fbb5.tar
re3-b7783b19d2d075ba507f4300e44704710301fbb5.tar.gz
re3-b7783b19d2d075ba507f4300e44704710301fbb5.tar.bz2
re3-b7783b19d2d075ba507f4300e44704710301fbb5.tar.lz
re3-b7783b19d2d075ba507f4300e44704710301fbb5.tar.xz
re3-b7783b19d2d075ba507f4300e44704710301fbb5.tar.zst
re3-b7783b19d2d075ba507f4300e44704710301fbb5.zip
Diffstat (limited to 'src/core/Game.cpp')
-rw-r--r--src/core/Game.cpp13
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();