diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-07 22:44:30 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-07 22:44:30 +0200 |
commit | 48e13ce6c93e7fc1cf75abbe082f383d28868cb6 (patch) | |
tree | 45a06cdca80919cf04ff46163e54675b22d39f3a /src/core/Radar.h | |
parent | weather stuff (diff) | |
parent | Merge pull request #386 from erorcun/erorcun (diff) | |
download | re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar.gz re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar.bz2 re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar.lz re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar.xz re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.tar.zst re3-48e13ce6c93e7fc1cf75abbe082f383d28868cb6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Radar.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/Radar.h b/src/core/Radar.h index fb10967b..6d5bb196 100644 --- a/src/core/Radar.h +++ b/src/core/Radar.h @@ -69,7 +69,7 @@ struct CBlip float m_Radius; int16 m_wScale; uint16 m_eBlipDisplay; // eBlipDisplay - uint16 m_IconID; // eRadarSprite + uint16 m_eRadarSprite; // eRadarSprite }; static_assert(sizeof(CBlip) == 0x30, "CBlip: error"); @@ -108,12 +108,16 @@ public: static float cachedCos; static float cachedSin; #ifdef MENU_MAP +#define NUM_MAP_LEGENDS 75 static CRGBA ArrowBlipColour1; static CRGBA ArrowBlipColour2; - static uint16 MapLegendList[75]; - static bool bMenuMapActive; + static uint16 MapLegendList[NUM_MAP_LEGENDS]; + static uint16 MapLegendCounter; + static int TargetMarkerId; static void InitFrontEndMap(); + static void DrawYouAreHereSprite(float, float); + static void ToggleTargetMarker(float, float); #endif static uint8 CalculateBlipAlpha(float dist); static void ChangeBlipBrightness(int32 i, int32 bright); |