summaryrefslogtreecommitdiffstats
path: root/src/Radar.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
committeraap <aap@papnet.eu>2019-06-27 14:17:42 +0200
commitf6c767d87c5cb04710fb7e2363706d07dfcef8a6 (patch)
tree4c311a58c7989d35d9437046df6dd551be083494 /src/Radar.cpp
parentstarted filling debug menu (diff)
downloadre3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.gz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.bz2
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.lz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.xz
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.tar.zst
re3-f6c767d87c5cb04710fb7e2363706d07dfcef8a6.zip
Diffstat (limited to '')
-rw-r--r--src/Radar.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/Radar.cpp b/src/Radar.cpp
index 1b6ca527..71f9aacd 100644
--- a/src/Radar.cpp
+++ b/src/Radar.cpp
@@ -645,7 +645,7 @@ int32 CRadar::GetRadarTraceColour(int32 color, bool bright)
}
#endif
-#if 0
+#if 1
WRAPPER void CRadar::Initialise() { EAXJMP(0x4A3EF0); }
#else
void CRadar::Initialise()
@@ -671,8 +671,8 @@ float CRadar::LimitRadarPoint(CVector2D &point)
}
#endif
-#if 0
-WRAPPER void CRadar::LoadAllRadarBlips() { EAXJMP(0x4A6F30); }
+#if 1
+WRAPPER void CRadar::LoadAllRadarBlips(int32) { EAXJMP(0x4A6F30); }
#else
void CRadar::LoadAllRadarBlips(int32)
{
@@ -680,7 +680,7 @@ void CRadar::LoadAllRadarBlips(int32)
}
#endif
-#if 0
+#if 1
WRAPPER void CRadar::LoadTextures() { EAXJMP(0x4A4030); }
#else
void CRadar::LoadTextures()
@@ -689,8 +689,8 @@ void CRadar::LoadTextures()
}
#endif
-#if 0
-WRAPPER void CRadar::RemoveRadarSections() { EAXJMP(0x00); }
+#if 1
+WRAPPER void CRadar::RemoveRadarSections() { EAXJMP(0x4A60E0); }
#else
void CRadar::RemoveRadarSections()
{
@@ -718,8 +718,8 @@ void CRadar::RequestMapSection(int32 x, int32 y)
}
#endif
-#if 0
-WRAPPER void CRadar::SaveAllRadarBlips(int32) { EAXJMP(0x00); }
+#if 1
+WRAPPER void CRadar::SaveAllRadarBlips(int32) { EAXJMP(0x4A6E30); }
#else
void CRadar::SaveAllRadarBlips(int32)
{
@@ -727,8 +727,8 @@ void CRadar::SaveAllRadarBlips(int32)
}
#endif
-#if 0
-WRAPPER void CRadar::SetBlipSprite(int32, int32) { EAXJMP(0x00); }
+#if 1
+WRAPPER void CRadar::SetBlipSprite(int32, int32) { EAXJMP(0x4A5840); }
#else
void CRadar::SetBlipSprite(int32 i, int32 icon)
{
@@ -736,8 +736,8 @@ void CRadar::SetBlipSprite(int32 i, int32 icon)
}
#endif
-#if 0
-WRAPPER void CRadar::SetCoordBlip(int32, CVector, int32) { EAXJMP(0x00); }
+#if 1
+WRAPPER int CRadar::SetCoordBlip(int32, CVector, int32) { EAXJMP(0x4A5590); }
#else
int CRadar::SetCoordBlip(int32 type, CVector pos, int32 flag)
{
@@ -745,8 +745,8 @@ int CRadar::SetCoordBlip(int32 type, CVector pos, int32 flag)
}
#endif
-#if 0
-WRAPPER void CRadar::SetEntityBlip(int32 type, CVector pos, int32 color, int32 flag) { EAXJMP(0x00); }
+#if 1
+WRAPPER int CRadar::SetEntityBlip(int32 type, CVector pos, int32 color, int32 flag) { EAXJMP(0x4A5640); }
#else
int CRadar::SetEntityBlip(int32 type, CVector pos, int32 color, int32 flag)
{
@@ -815,7 +815,7 @@ void CRadar::ShowRadarTrace(float x, float y, uint32 size, uint32 red, uint32 gr
}
#endif
-#if 0
+#if 1
WRAPPER void CRadar::Shutdown() { EAXJMP(0x4A3F60); }
#else
void CRadar::Shutdown()
@@ -824,10 +824,10 @@ void CRadar::Shutdown()
}
#endif
-#if 0
-WRAPPER void CRadar::StreamRadarSections() { EAXJMP(0x4A6B60); }
+#if 1
+WRAPPER void CRadar::StreamRadarSections(const CVector &posn) { EAXJMP(0x4A6B60); }
#else
-void CRadar::StreamRadarSections(CVector posn)
+void CRadar::StreamRadarSections(const CVector &posn)
{
}