From b7783b19d2d075ba507f4300e44704710301fbb5 Mon Sep 17 00:00:00 2001 From: erorcun Date: Tue, 24 Nov 2020 01:25:44 +0300 Subject: Xbox message screen, disabled by default --- src/core/Frontend.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/core/Frontend.h') diff --git a/src/core/Frontend.h b/src/core/Frontend.h index 9455a1f9..0e898796 100644 --- a/src/core/Frontend.h +++ b/src/core/Frontend.h @@ -4,6 +4,7 @@ #else #include "Sprite2d.h" +#include "Timer.h" #define MENUHEADER_POS_X 10.0f #define MENUHEADER_POS_Y 10.0f @@ -642,6 +643,22 @@ public: #define ISLAND_LOADING_ISNT(p) #endif +#ifdef XBOX_MESSAGE_SCREEN + static uint32 m_nDialogHideTimer; + static PauseModeTime m_nDialogHideTimerPauseMode; + static bool m_bDialogOpen; + static wchar *m_pDialogText; + static bool m_bSaveWasSuccessful; + + static void SetDialogText(const char*); + static bool DialogTextCmp(const char*); + static void ToggleDialog(bool); + static void SetDialogTimer(uint32); + void ProcessDialogTimer(void); + void DrawOverlays(void); + void CloseDialog(void); +#endif + void Initialise(); void PrintMap(); void SetFrontEndRenderStates(); -- cgit v1.2.3