diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-19 16:54:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 16:54:05 +0300 |
commit | f9ed50e17813d2a6708a6516e18041c7482a7462 (patch) | |
tree | e8d1312d1e2a9706793ac781271fedc73db91624 /src/text | |
parent | fce2e02444a056cc420be6b32844de039fbfafac (diff) | |
parent | 1ffc37735ed247eef1f20997a0136ef8d866ebad (diff) |
Merge pull request #475 from erorcun/erorcun
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]; }; |