diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 07:58:54 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 07:58:54 +0200 |
commit | 2be8fcfa64a9925206ed2356c2934c7559873a6a (patch) | |
tree | 9937e069805afb805c13c81877714465ad34b5fd /src/audio/AudioManager.h | |
parent | fix (diff) | |
parent | fix (diff) | |
download | re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.gz re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.bz2 re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.lz re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.xz re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.tar.zst re3-2be8fcfa64a9925206ed2356c2934c7559873a6a.zip |
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r-- | src/audio/AudioManager.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 73920d42..436c18af 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -99,10 +99,10 @@ VALIDATE_SIZE(tPedComment, 28); class cPedComments { public: - tPedComment m_asPedComments[NUM_PED_COMMENTS_BANKS][NUM_PED_COMMENTS_SLOTS]; - uint8 m_nIndexMap[NUM_PED_COMMENTS_BANKS][NUM_PED_COMMENTS_SLOTS]; - uint8 m_nCommentsInBank[NUM_PED_COMMENTS_BANKS]; - uint8 m_nActiveBank; + tPedComment m_aPedCommentQueue[NUM_SOUND_QUEUES][NUM_PED_COMMENTS_SLOTS]; + uint8 m_aPedCommentOrderList[NUM_SOUND_QUEUES][NUM_PED_COMMENTS_SLOTS]; + uint8 m_nPedCommentCount[NUM_SOUND_QUEUES]; + uint8 m_nActiveQueue; #ifdef GTA_PC bool8 m_bDelay; uint32 m_nDelayTimer; @@ -111,14 +111,14 @@ public: cPedComments() { for (int i = 0; i < NUM_PED_COMMENTS_SLOTS; i++) - for (int j = 0; j < NUM_PED_COMMENTS_BANKS; j++) { - m_asPedComments[j][i].m_nProcess = -1; - m_nIndexMap[j][i] = NUM_PED_COMMENTS_SLOTS; + for (int j = 0; j < NUM_SOUND_QUEUES; j++) { + m_aPedCommentQueue[j][i].m_nProcess = -1; + m_aPedCommentOrderList[j][i] = NUM_PED_COMMENTS_SLOTS; } - for (int i = 0; i < NUM_PED_COMMENTS_BANKS; i++) - m_nCommentsInBank[i] = 0; - m_nActiveBank = 0; + for (int i = 0; i < NUM_SOUND_QUEUES; i++) + m_nPedCommentCount[i] = 0; + m_nActiveQueue = 0; } void Add(tPedComment *com); void Process(); |