summaryrefslogtreecommitdiffstats
path: root/src/Radar.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-23 19:59:58 +0200
committeraap <aap@papnet.eu>2019-06-23 19:59:58 +0200
commit4d84d94166772adf112652becf90f07f38e47ff4 (patch)
treea17cc3209730325de0ab4d0a8394da6f7a3ed715 /src/Radar.h
parentsome Radar and Hud cleanup; fix in Physical (diff)
downloadre3-4d84d94166772adf112652becf90f07f38e47ff4.tar
re3-4d84d94166772adf112652becf90f07f38e47ff4.tar.gz
re3-4d84d94166772adf112652becf90f07f38e47ff4.tar.bz2
re3-4d84d94166772adf112652becf90f07f38e47ff4.tar.lz
re3-4d84d94166772adf112652becf90f07f38e47ff4.tar.xz
re3-4d84d94166772adf112652becf90f07f38e47ff4.tar.zst
re3-4d84d94166772adf112652becf90f07f38e47ff4.zip
Diffstat (limited to '')
-rw-r--r--src/Radar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Radar.h b/src/Radar.h
index 9e687e24..dec07667 100644
--- a/src/Radar.h
+++ b/src/Radar.h
@@ -100,7 +100,7 @@ public:
static void Draw3dMarkers();
static void DrawMap();
static void StreamRadarSections(int x, int y);
- static int ClipRadarPoly(CVector2D *out, CVector2D *in);
+ static int ClipRadarPoly(CVector2D *out, const CVector2D *in);
static void DrawRadarSection(int x, int y);
static void RequestMapSection(int x, int y);
static void RemoveMapSection(int x, int y);
@@ -116,10 +116,12 @@ public:
static void DrawRadarMask();
static void SetRadarMarkerState(int counter, int flag);
static bool DisplayThisBlip(int counter);
- static void GetTextureCorners(int x, int y, CVector2D * out);
- static void ClipRadarTileCoords(int *x, int *y);
static void TransformRealWorldToTexCoordSpace(CVector2D &out, const CVector2D &in, int x, int y);
static void TransformRadarPointToRealWorldSpace(CVector2D &out, const CVector2D &in);
static void TransformRadarPointToScreenSpace(CVector2D &out, const CVector2D &in);
static void TransformRealWorldPointToRadarSpace(CVector2D &out, const CVector2D &in);
+
+ // no in CRadar in the game:
+ static void GetTextureCorners(int x, int y, CVector2D *out);
+ static void ClipRadarTileCoords(int &x, int &y);
};