summaryrefslogtreecommitdiffstats
path: root/src/Radar.h
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-20 21:34:39 +0200
committer_AG <gennariarmando@outlook.com>2019-06-20 21:34:48 +0200
commit11ba688c988758c8654e5ea976aa141d44205b92 (patch)
tree1b5c51bf1e8f774059401ff9a565eedfabbf128a /src/Radar.h
parentCode clean up. (diff)
downloadre3-11ba688c988758c8654e5ea976aa141d44205b92.tar
re3-11ba688c988758c8654e5ea976aa141d44205b92.tar.gz
re3-11ba688c988758c8654e5ea976aa141d44205b92.tar.bz2
re3-11ba688c988758c8654e5ea976aa141d44205b92.tar.lz
re3-11ba688c988758c8654e5ea976aa141d44205b92.tar.xz
re3-11ba688c988758c8654e5ea976aa141d44205b92.tar.zst
re3-11ba688c988758c8654e5ea976aa141d44205b92.zip
Diffstat (limited to 'src/Radar.h')
-rw-r--r--src/Radar.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Radar.h b/src/Radar.h
index b71618f1..9d219cc6 100644
--- a/src/Radar.h
+++ b/src/Radar.h
@@ -99,9 +99,12 @@ 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 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 +114,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);
};