diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-25 16:01:09 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-25 16:01:09 +0100 |
commit | 0a36629502970e357064ae3f9c9b186f074b70aa (patch) | |
tree | 21d5b68d36e16a326c62e9ca7b559b707ac05f23 /src/audio | |
parent | Fix weapon icon drawing (diff) | |
download | re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar.gz re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar.bz2 re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar.lz re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar.xz re3-0a36629502970e357064ae3f9c9b186f074b70aa.tar.zst re3-0a36629502970e357064ae3f9c9b186f074b70aa.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/AudioLogic.cpp | 10 | ||||
-rw-r--r-- | src/audio/MusicManager.cpp | 2 | ||||
-rw-r--r-- | src/audio/soundlist.h | 11 |
3 files changed, 10 insertions, 13 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index 88ef50f0..e9c594cc 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -5661,25 +5661,25 @@ cAudioManager::ProcessFrontEnd() case SOUND_AMMUNATION_IMRAN_ARM_BOMB: m_sQueueSample.m_nSampleIndex = SFX_ARM_BOMB; break; - case SOUND_194: + case SOUND_RADIO_CHANGE: m_sQueueSample.m_nSampleIndex = (m_anRandomTable[1] % 2) ? radioDial + 1 : radioDial + 2; if (m_sQueueSample.m_nSampleIndex > SFX_RADIO_DIAL_12) m_sQueueSample.m_nSampleIndex -= 12; radioDial = m_sQueueSample.m_nSampleIndex; break; - case SOUND_FRONTEND_MENU_NEW_PAGE: + case SOUND_FRONTEND_HIGHLIGHT_OPTION: stereo = true; m_sQueueSample.m_nSampleIndex = SFX_FE_HIGHLIGHT_LEFT; break; - case SOUND_FRONTEND_FAIL: + case SOUND_FRONTEND_ENTER_OR_ADJUST: stereo = true; m_sQueueSample.m_nSampleIndex = SFX_FE_SELECT_LEFT; break; - case SOUND_FRONTEND_MENU_SETTING_CHANGE: + case SOUND_FRONTEND_BACK: stereo = true; m_sQueueSample.m_nSampleIndex = SFX_FE_BACK_LEFT; break; - case SOUND_FRONTEND_MENU_BACK: + case SOUND_FRONTEND_FAIL: stereo = true; m_sQueueSample.m_nSampleIndex = SFX_FE_ERROR_LEFT; break; diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp index adae2708..8aedf306 100644 --- a/src/audio/MusicManager.cpp +++ b/src/audio/MusicManager.cpp @@ -618,7 +618,7 @@ cMusicManager::ServiceGameMode() } if (RadioStaticCounter < 2 && CTimer::GetTimeInMilliseconds() > RadioStaticTimer + 800) { - AudioManager.PlayOneShot(AudioManager.m_nFrontEndEntity, SOUND_194, 0.0f); + AudioManager.PlayOneShot(AudioManager.m_nFrontEndEntity, SOUND_RADIO_CHANGE, 0.0f); RadioStaticCounter++; RadioStaticTimer = CTimer::GetTimeInMilliseconds(); } diff --git a/src/audio/soundlist.h b/src/audio/soundlist.h index 973a1585..f4a1d0a6 100644 --- a/src/audio/soundlist.h +++ b/src/audio/soundlist.h @@ -193,15 +193,12 @@ enum eSound : uint16 SOUND_WEAPON_MINIGUN_2, SOUND_WEAPON_MINIGUN_3, SOUND_AMMUNATION_IMRAN_ARM_BOMB, - SOUND_194, - - // TODO(Miami): They're frontend sounds but names are copy-paste and incorrect - SOUND_FRONTEND_MENU_NEW_PAGE, + SOUND_RADIO_CHANGE, + SOUND_FRONTEND_HIGHLIGHT_OPTION, + SOUND_FRONTEND_ENTER_OR_ADJUST, + SOUND_FRONTEND_BACK, SOUND_FRONTEND_FAIL, - SOUND_FRONTEND_MENU_SETTING_CHANGE, - SOUND_FRONTEND_MENU_BACK, SOUND_FRONTEND_AUDIO_TEST, - SOUND_INJURED_PED_MALE_OUCH, SOUND_INJURED_PED_FEMALE, SOUND_SET_202, |