diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-11 19:53:15 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-11 19:53:15 +0200 |
commit | a223157000fac3ba63699f04bc9e466f53a412e3 (patch) | |
tree | 54e1e672a564ffdb5d65e0748a86fae60f3eb895 /src/text | |
parent | cf11b3284974336d86a33c39e51ac950cf0499ba (diff) |
CutsceneMgr done + use original VB audio + make interiors visible + use hashed model info names a bit
Diffstat (limited to 'src/text')
-rw-r--r-- | src/text/Messages.cpp | 9 | ||||
-rw-r--r-- | src/text/Messages.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/text/Messages.cpp b/src/text/Messages.cpp index db0865ae..440746c0 100644 --- a/src/text/Messages.cpp +++ b/src/text/Messages.cpp @@ -815,3 +815,12 @@ CMessages::ClearAllMessagesDisplayedByGame() CHud::GetRidOfAllHudMessages(); CUserDisplay::Pager.ClearMessages(); } + +void +CMessages::ClearThisBigPrintNow(uint32 id) +{ + if (BIGMessages[id].m_Stack[0].m_pText) + ClearThisBigPrint(BIGMessages[id].m_Stack[0].m_pText); + CHud::m_BigMessage[id][0] = '\0'; + BigMessageInUse[id] = 0.0f; +}
\ No newline at end of file diff --git a/src/text/Messages.h b/src/text/Messages.h index e8ba1bf7..602a4a08 100644 --- a/src/text/Messages.h +++ b/src/text/Messages.h @@ -61,6 +61,7 @@ public: static void ClearThisPrint(wchar *str); static void ClearThisBigPrint(wchar *str); static void ClearAllMessagesDisplayedByGame(void); + static void ClearThisBigPrintNow(uint32 id); // unused or cut //static void AddMessageSoonWithString(wchar*, uint32, uint16, wchar*); |