feat: GTA V-style weapon and radio wheels behind IMPROVED_WEAPON_WHEEL (issue #31)
linux / build (push) Canceled after 21m54s

This commit is contained in:
2026-12-01 19:32:04 +00:00
parent e08d7fc21d
commit 97f3c73cea
5 changed files with 69 additions and 0 deletions
+11
View File
@@ -15,6 +15,10 @@
#include "World.h"
#include "sampman.h"
#ifdef IMPROVED_WEAPON_WHEEL
#include "weaponwheel.h"
#endif
#if !defined FIX_BUGS && (defined RADIO_SCROLL_TO_PREV_STATION || defined RADIO_OFF_TEXT)
static_assert(false, "RADIO_SCROLL_TO_PREV_STATION and RADIO_OFF_TEXT won't work correctly without FIX_BUGS");
#endif
@@ -75,6 +79,13 @@ cMusicManager::PlayerInCar()
void
cMusicManager::DisplayRadioStationName()
{
#ifdef IMPROVED_WEAPON_WHEEL
// The radio wheel is the station-change HUD now (issue #31); don't draw the
// old station-name banner underneath it.
if (Wheel_IsRadioWheelOpen())
return;
#endif
int8 pRetune;
int8 gStreamedSound;
int8 gRetuneCounter;