summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-27 10:58:51 +0200
committeraap <aap@papnet.eu>2019-06-27 10:58:51 +0200
commitd74b8fa9521b070ba09496563904a5e4b994edf2 (patch)
tree21d37d89d193bffa20ac2fcbbbf20d63408cd247 /src/control
parentMerge pull request #61 from gennariarmando/master (diff)
downloadre3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.gz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.bz2
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.lz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.xz
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.tar.zst
re3-d74b8fa9521b070ba09496563904a5e4b994edf2.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/PathFind.cpp2
-rw-r--r--src/control/PathFind.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index c3af2e30..f511b5dc 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -4,6 +4,8 @@
CPathFind &ThePaths = *(CPathFind*)0x8F6754;
+WRAPPER int32 CPathFind::FindNodeClosestToCoors(CVector coors, uint8 type, float distLimit, bool disabled, bool betweenLevels) { EAXJMP(0x42CC30); }
+
int TempListLength;
enum
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 83b89953..cc0b0a2f 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -128,6 +128,7 @@ public:
void StoreNodeInfoPed(int16 id, int16 node, int8 type, int8 next, int16 x, int16 y, int16 z, int16 width, bool crossing);
void StoreNodeInfoCar(int16 id, int16 node, int8 type, int8 next, int16 x, int16 y, int16 z, int16 width, int8 numLeft, int8 numRight);
void RegisterMapObject(CTreadable *mapObject);
+ int32 FindNodeClosestToCoors(CVector coors, uint8 type, float distLimit, bool disabled, bool betweenLevels);
bool IsPathObject(int id) { return id < PATHNODESIZE && (InfoForTileCars[id*12].type != 0 || InfoForTilePeds[id*12].type != 0); }
};