From d74b8fa9521b070ba09496563904a5e4b994edf2 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 27 Jun 2019 10:58:51 +0200 Subject: started filling debug menu --- src/control/PathFind.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/control/PathFind.h') 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); } }; -- cgit v1.2.3