diff options
author | aap <aap@papnet.eu> | 2019-06-21 17:44:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 17:44:46 +0200 |
commit | a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1 (patch) | |
tree | 22049b218855e05ee2d95ae673b4441cde7ef54c /src/Radar.h | |
parent | more CStreaming; fixed CFileLoader (diff) | |
parent | Clean up (diff) | |
download | re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar.gz re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar.bz2 re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar.lz re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar.xz re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.tar.zst re3-a7aa475cbfcbd114b9ff7dcf1fe6669f3f2feca1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Radar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Radar.h b/src/Radar.h index b71618f1..5a63a83b 100644 --- a/src/Radar.h +++ b/src/Radar.h @@ -99,9 +99,13 @@ public: static void ClearBlipForEntity(eBlipType type, int32 id); static void Draw3dMarkers(); static void DrawMap(); + static void StreamRadarSections(int x, int y); + static int ClipRadarPoly(CVector2D *out, CVector2D *in); + static void TransformRealWorldToTexCoordSpace(CVector2D *out, CVector2D *in, int x, int y); + static void CRadar::TransformRadarPointToRealWorldSpace(CVector2D *out, CVector2D *in); + static void DrawRadarSection(int x, int y); static void TransformRadarPointToScreenSpace(CVector2D * out, CVector2D * in); static void DrawBlips(); - static bool DisplayThisBlip(int16 spriteid); static int CalculateBlipAlpha(float dist); static CRGBA GetRadarTraceColour(uint32 color, bool bright); static void DrawRadarMap(); @@ -111,4 +115,8 @@ public: static void DrawRadarSprite(int sprite, float x, float y, int alpha); static void ShowRadarMarker(CVector pos, CRGBA color, float radius); static void ShowRadarTrace(float x, float y, uint32 size, uint32 red, uint32 green, uint32 blue, uint32 alpha); + static void DrawRadarMask(); + static bool DisplayThisBlip(int counter); + static void GetTextureCorners(int x, int y, CVector2D * out); + static void ClipRadarTileCoords(int x, int y); }; |