diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-26 16:20:31 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-26 16:20:31 +0200 |
commit | 3dee880c2941417c9e5ec42297da65f27ab9c5ca (patch) | |
tree | 93f0daf6f0fdc04fb2898a202157d3d9ec078ffb /src/core/Messages.h | |
parent | script 500-599 (diff) | |
parent | Fix hornPatternsArray (diff) | |
download | re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar.gz re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar.bz2 re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar.lz re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar.xz re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.tar.zst re3-3dee880c2941417c9e5ec42297da65f27ab9c5ca.zip |
Diffstat (limited to 'src/core/Messages.h')
-rw-r--r-- | src/core/Messages.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/core/Messages.h b/src/core/Messages.h deleted file mode 100644 index c584beed..00000000 --- a/src/core/Messages.h +++ /dev/null @@ -1,57 +0,0 @@ -#pragma once - -struct tMessage -{ - wchar *m_pText; - uint16 m_nFlag; -private: - int8 _pad6[2]; -public: - uint32 m_nTime; - uint32 m_nStartTime; - int32 m_nNumber[6]; - wchar *m_pString; -}; - -struct tBigMessage -{ - tMessage m_Current; - tMessage m_Stack[3]; -}; - -struct tPreviousBrief -{ - wchar *m_pText; - int32 m_nNumber[6]; - wchar *m_pString; -}; - -class CMessages -{ -public: - static tPreviousBrief *PreviousBriefs; - static tMessage *BriefMessages; - static tBigMessage *BIGMessages; - -public: - static void Display(void); - static void ClearAllMessagesDisplayedByGame(void); - static int WideStringCopy(wchar* dst, wchar* src, unsigned short size); - static char WideStringCompare(wchar* str1, wchar* str2, unsigned short size); - static void InsertNumberInString(wchar* src, int n1, int n2, int n3, int n4, int n5, int n6, wchar* dst); - static void InsertPlayerControlKeysInString(wchar* src); - static int GetWideStringLength(wchar *src); - static void AddBigMessage(wchar* key, uint32 time, uint16 pos); - static void AddBigMessageQ(wchar* key, uint32 time, uint16 pos); - static void AddBigMessageWithNumber(wchar* key, uint32 time, uint16 pos, int n1, int n2, int n3, int n4, int n5, int n6); - static void AddBigMessageWithNumberQ(wchar* key, uint32 time, uint16 pos, int n1, int n2, int n3, int n4, int n5, int n6); - static void AddMessage(wchar* key, uint32 time, uint16 pos); - static void AddMessageJumpQ(wchar* key, uint32 time, uint16 pos); - static void AddMessageSoon(wchar* key, uint32 time, uint16 pos); - static void AddMessageWithNumber(wchar* key, uint32 time, uint16 pos, int n1, int n2, int n3, int n4, int n5, int n6); - static void AddMessageJumpQWithNumber(wchar* key, uint32 time, uint16 pos, int n1, int n2, int n3, int n4, int n5, int n6); - static void AddMessageSoonWithNumber(wchar* key, uint32 time, uint16 pos, int n1, int n2, int n3, int n4, int n5, int n6); - static void ClearMessages(); - static void Init(); - static void Process(); -}; |