summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-10 18:36:39 +0200
committeraap <aap@papnet.eu>2020-04-10 18:36:39 +0200
commitc5d61392ead394a3d6a1e2832c7d9f0ccf951ad3 (patch)
treedd8186d8f12e842649ba233274ad1916ed5b1343 /src/control/PathFind.h
parentdisabling the code that freezes gang members (diff)
downloadre3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.gz
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.bz2
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.lz
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.xz
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.zst
re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.zip
Diffstat (limited to 'src/control/PathFind.h')
-rw-r--r--src/control/PathFind.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/control/PathFind.h b/src/control/PathFind.h
index c51cb7c7..81467cdf 100644
--- a/src/control/PathFind.h
+++ b/src/control/PathFind.h
@@ -84,10 +84,8 @@ union CConnectionFlags
struct CCarPathLink
{
- float posX;
- float posY;
- float dirX;
- float dirY;
+ CVector2D pos;
+ CVector2D dir;
int16 pathNodeIndex;
int8 numLeftLanes;
int8 numRightLanes;
@@ -208,7 +206,13 @@ public:
bool TestCoorsCloseness(CVector target, uint8 type, CVector start);
void Save(uint8 *buf, uint32 *size);
void Load(uint8 *buf, uint32 size);
+
+ void DisplayPathData(void);
};
static_assert(sizeof(CPathFind) == 0x49bf4, "CPathFind: error");
extern CPathFind &ThePaths;
+
+extern bool gbShowPedPaths;
+extern bool gbShowCarPaths;
+extern bool gbShowCarPathsLinks;