diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 07:14:13 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 16:44:35 +0300 |
commit | 1ffc37735ed247eef1f20997a0136ef8d866ebad (patch) | |
tree | a6a4689c7aeed054e397c305333f761d0d4acdd1 /src/text | |
parent | 9bfcaff84976b2af7242f846c782287e9bacf851 (diff) |
Struct cleanup, various fixes, enable PS2 rand
Diffstat (limited to 'src/text')
-rw-r--r-- | src/text/Pager.cpp | 4 | ||||
-rw-r--r-- | src/text/Pager.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/text/Pager.cpp b/src/text/Pager.cpp index 565f2c20..609c6860 100644 --- a/src/text/Pager.cpp +++ b/src/text/Pager.cpp @@ -98,7 +98,7 @@ CPager::AddMessage(wchar *str, uint16 speed, uint16 priority, uint16 a5) m_messages[i].m_pText = str; m_messages[i].m_nSpeedMs = speed; m_messages[i].m_nPriority = priority; - m_messages[i].field_10 = a5; + m_messages[i].unused = a5; m_messages[i].m_nCurrentPosition = -(m_nNumDisplayLetters + 10); m_messages[i].m_nTimeToChangePosition = CTimer::GetTimeInMilliseconds() + speed; m_messages[i].m_nStringLength = size; @@ -142,7 +142,7 @@ CPager::AddMessageWithNumber(wchar *str, int32 n1, int32 n2, int32 n3, int32 n4, m_messages[i].m_pText = str; m_messages[i].m_nSpeedMs = speed; m_messages[i].m_nPriority = priority; - m_messages[i].field_10 = a11; + m_messages[i].unused = a11; m_messages[i].m_nCurrentPosition = -(m_nNumDisplayLetters + 10); m_messages[i].m_nTimeToChangePosition = CTimer::GetTimeInMilliseconds() + speed; m_messages[i].m_nStringLength = size; diff --git a/src/text/Pager.h b/src/text/Pager.h index a628be6f..16307971 100644 --- a/src/text/Pager.h +++ b/src/text/Pager.h @@ -7,7 +7,7 @@ struct PagerMessage { uint16 m_nStringLength; uint16 m_nPriority; uint32 m_nTimeToChangePosition; - int16 field_10; + int16 unused; // but still set in SCM. importance? ringtone? int32 m_nNumber[6]; }; |