summaryrefslogtreecommitdiffstats
path: root/src/core/Radar.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-07 01:15:55 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-07 19:18:24 +0200
commit1f8e073c0a446a6c6fe959cc39e27df6e456becc (patch)
tree4f6829e3ada8874d0ad7fa8bf1f4778b682e0756 /src/core/Radar.h
parentfinished CCollision (diff)
downloadre3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar.gz
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar.bz2
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar.lz
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar.xz
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.tar.zst
re3-1f8e073c0a446a6c6fe959cc39e27df6e456becc.zip
Diffstat (limited to 'src/core/Radar.h')
-rw-r--r--src/core/Radar.h10
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);