summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-08-01 16:58:54 +0200
committerGitHub <noreply@github.com>2020-08-01 16:58:54 +0200
commitbda383c9cd8e1fafda3878801dbfacbf62949430 (patch)
treef71aaea5e1ffad4cb1584f6858e633d07373a651 /src/render
parentFix Win32 OAL build (diff)
parentnew opcodes, buyable properties, minor fixes (diff)
downloadre3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.gz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.bz2
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.lz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.xz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.zst
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Hud.cpp6
-rw-r--r--src/render/Hud.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index daafd27b..10408355 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -1708,6 +1708,12 @@ void CHud::SetHelpMessage(wchar *message, bool quick)
}
}
+bool CHud::IsHelpMessageBeingDisplayed(void)
+{
+ return m_HelpMessageState != 0;
+}
+
+
void CHud::SetMessage(wchar *message)
{
int i = 0;
diff --git a/src/render/Hud.h b/src/render/Hud.h
index 9106f6fa..4dd52aa8 100644
--- a/src/render/Hud.h
+++ b/src/render/Hud.h
@@ -133,6 +133,7 @@ public:
static void ReInitialise();
static void SetBigMessage(wchar *message, int16 style);
static void SetHelpMessage(wchar *message, bool quick);
+ static bool IsHelpMessageBeingDisplayed(void);
static void SetMessage(wchar *message);
static void SetPagerMessage(wchar *message);
static void SetVehicleName(wchar *name);