diff options
author | aap <aap@papnet.eu> | 2020-05-27 07:10:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 07:10:36 +0200 |
commit | 4868bf13a8cab8fd62567c9544ff06197d6991a5 (patch) | |
tree | 917402726d9ec883378751256c1232ab7cc0b734 /src/peds/Ped.cpp | |
parent | MT function for fakerw (diff) | |
parent | OpenAL support (diff) | |
download | re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.gz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.bz2 re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.lz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.xz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.zst re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 691b5195..becd7c70 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -15767,17 +15767,18 @@ CPed::SetEnterCar(CVehicle *car, uint32 unused) void CPed::SetRadioStation(void) { + // TODO: this should be gone static const uint8 radiosPerRadioCategories[10][4] = { - {JAH_RADIO, RISE_FM, GAME_FM, MSX_FM}, - {HEAD_RADIO, DOUBLE_CLEF, LIPS_106, FLASHBACK}, - {RISE_FM, GAME_FM, MSX_FM, FLASHBACK}, - {HEAD_RADIO, RISE_FM, LIPS_106, MSX_FM}, - {HEAD_RADIO, RISE_FM, MSX_FM, FLASHBACK}, - {JAH_RADIO, RISE_FM, LIPS_106, FLASHBACK}, - {HEAD_RADIO, RISE_FM, LIPS_106, FLASHBACK}, - {HEAD_RADIO, JAH_RADIO, LIPS_106, FLASHBACK}, - {HEAD_RADIO, DOUBLE_CLEF, LIPS_106, FLASHBACK}, - {CHATTERBOX, HEAD_RADIO, LIPS_106, GAME_FM} + {KCHAT, FEVER, VCPR, RADIO_ESPANTOSO}, + {WILDSTYLE, FLASH_FM, V_ROCK, EMOTION}, + {FEVER, VCPR, RADIO_ESPANTOSO, EMOTION}, + {WILDSTYLE, FEVER, V_ROCK, RADIO_ESPANTOSO}, + {WILDSTYLE, FEVER, RADIO_ESPANTOSO, EMOTION}, + {KCHAT, FEVER, V_ROCK, EMOTION}, + {WILDSTYLE, FEVER, V_ROCK, EMOTION}, + {WILDSTYLE, KCHAT, V_ROCK, EMOTION}, + {WILDSTYLE, FLASH_FM, V_ROCK, EMOTION}, + {WAVE, WILDSTYLE, V_ROCK, VCPR} }; uint8 orderInCat = 0; // BUG: this wasn't initialized |