feat: GTA V-style weapon and radio wheels behind IMPROVED_WEAPON_WHEEL (issue #31)
linux / build (push) Canceled after 21m54s
linux / build (push) Canceled after 21m54s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user