diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-24 16:21:50 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-24 16:21:50 +0100 |
commit | e79e8b30e04403504a20bffbd2f419370c1177cc (patch) | |
tree | 8d8e99750f57d9ade2a51d17b2c2662e9b71dfd1 /src/audio/MusicManager.cpp | |
parent | Fix CCollision::DistToLine (diff) | |
download | re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar.gz re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar.bz2 re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar.lz re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar.xz re3-e79e8b30e04403504a20bffbd2f419370c1177cc.tar.zst re3-e79e8b30e04403504a20bffbd2f419370c1177cc.zip |
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r-- | src/audio/MusicManager.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp index 2a16dc14..0a28421d 100644 --- a/src/audio/MusicManager.cpp +++ b/src/audio/MusicManager.cpp @@ -1237,11 +1237,12 @@ cMusicManager::DisplayRadioStationName() case RADIO_ESPANTOSO: string = TheText.Get("FEA_FM6"); break; case EMOTION: string = TheText.Get("FEA_FM7"); break; case WAVE: string = TheText.Get("FEA_FM8"); break; - case USERTRACK: + case 9: string = TheText.Get("FEA_FM9"); break; + case 10: if (!SampleManager.IsMP3RadioChannelAvailable()) return; string = TheText.Get("FEA_MP3"); break; - default: return; + default: string = TheText.Get("FEA_NON"); break; }; if (pCurrentStation != string) { @@ -1255,21 +1256,22 @@ cMusicManager::DisplayRadioStationName() CFont::SetJustifyOff(); CFont::SetBackgroundOff(); - CFont::SetScale(SCREEN_SCALE_X(0.8f), SCREEN_SCALE_Y(1.35f)); + CFont::SetDropShadowPosition(2); + CFont::SetScale(PSP_SCREEN_SCALE_X(0.5f), PSP_SCREEN_SCALE_Y(0.88f)); CFont::SetPropOn(); - CFont::SetFontStyle(FONT_STANDARD); + CFont::SetFontStyle(FONT_BANK); CFont::SetCentreOn(); - CFont::SetCentreSize(SCREEN_STRETCH_X(DEFAULT_SCREEN_WIDTH)); - CFont::SetColor(CRGBA(0, 0, 0, 255)); - CFont::PrintString(SCREEN_WIDTH / 2 + SCREEN_SCALE_X(2.0f), SCREEN_SCALE_Y(22.0f) + SCREEN_SCALE_Y(2.0f), pCurrentStation); + CFont::SetCentreSize(PSP_SCREEN_SCALE_X(260.0f)); + CFont::SetDropColor(CRGBA(0, 0, 0, 255)); if (gNumRetunePresses) - CFont::SetColor(CRGBA(102, 133, 143, 255)); + CFont::SetColor(CRGBA(77, 155, 210, 255)); else - CFont::SetColor(CRGBA(147, 196, 211, 255)); + CFont::SetColor(CRGBA(77, 155, 210, 255)); - CFont::PrintString(SCREEN_WIDTH / 2, SCREEN_SCALE_Y(22.0f), pCurrentStation); + CFont::PrintString(SCREEN_WIDTH / 2, PSP_SCREEN_SCALE_Y(7.0f), pCurrentStation); CFont::DrawFonts(); + CFont::SetCentreSize(SCREEN_STRETCH_X(DEFAULT_SCREEN_WIDTH)); } } } |