summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-17 10:30:02 +0200
committeraap <aap@papnet.eu>2019-06-17 22:40:15 +0200
commitb5fba778c4a307f0a5721c9b3b0efb38be96634b (patch)
tree9fe0738d1d6dcf4677aac12e1efadff18887f7b4 /src/control/PathFind.h
parentMerge pull request #20 from gennariarmando/master (diff)
downloadre3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.gz
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.bz2
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.lz
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.xz
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.zst
re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.zip
Diffstat (limited to '')
-rw-r--r--src/control/PathFind.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index 495c4a73..ed3c7e9f 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -65,7 +65,7 @@ struct CPathInfoForObject
int8 next;
int8 numLeftLanes;
int8 numRightLanes;
- uint8 flag;
+ uint8 crossing : 1;
};
struct CTempNode
@@ -123,6 +123,8 @@ public:
void PreparePathDataForType(uint8 type, CTempNode *tempnodes, CPathInfoForObject *objectpathinfo,
float unk, CTempDetachedNode *detachednodes, int unused);
void CalcNodeCoors(int16 x, int16 y, int16 z, int32 id, CVector *out);
+ 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);
};
static_assert(sizeof(CPathFind) == 0x4c8f4, "CPathFind: error");