summaryrefslogtreecommitdiffstats
path: root/src/Radar.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-22 02:56:46 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-22 02:56:46 +0200
commit5ee579daa28b9b1d4036f041e7650755484d79fc (patch)
tree8aa93221bd0baa39340f69796d88efcaf24033f7 /src/Radar.h
parentShotgun fix, CPed, CWeaponInfo (diff)
parentMerge pull request #28 from gennariarmando/master (diff)
downloadre3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar.gz
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar.bz2
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar.lz
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar.xz
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.tar.zst
re3-5ee579daa28b9b1d4036f041e7650755484d79fc.zip
Diffstat (limited to '')
-rw-r--r--src/Radar.h10
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);
};