summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-07 19:38:49 +0200
committerGitHub <noreply@github.com>2019-08-07 19:38:49 +0200
commit1fa2fe566c83412a93ea19531437c4868ec0c091 (patch)
tree40109a8e21b7271763ff8375ed70905a3b716446 /src/control/PathFind.h
parentfixed COMMAND_ADD_BLIP_FOR_COORD_OLD (diff)
parentMinor fixes (diff)
downloadre3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar.gz
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar.bz2
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar.lz
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar.xz
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.tar.zst
re3-1fa2fe566c83412a93ea19531437c4868ec0c091.zip
Diffstat (limited to '')
-rw-r--r--src/control/PathFind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 9d97de3f..b5255704 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -130,6 +130,8 @@ public:
void RegisterMapObject(CTreadable *mapObject);
int32 FindNodeClosestToCoors(CVector coors, uint8 type, float distLimit, bool disabled, bool betweenLevels);
CPathNode** FindNextNodeWandering(uint8, CVector, CPathNode**, CPathNode**, uint8, uint8*);
+ bool NewGenerateCarCreationCoors(float spawnX, float spawnY, float frontX, float frontY, float preferredDistance, float angleLimit /* angle limit between camera direction and vector to spawn */, bool invertAngleLimitTest, CVector* pSpawnPosition, int32* pNode1, int32* pNode2, float* pPositionBetweenNodes, bool ignoreSwitchedOff);
+ bool TestCoorsCloseness(CVector pos1, bool, CVector pos2);
bool IsPathObject(int id) { return id < PATHNODESIZE && (InfoForTileCars[id*12].type != 0 || InfoForTilePeds[id*12].type != 0); }