2020-03-27 21:47:29 +01:00
|
|
|
#ifndef LEADAI_H
|
|
|
|
#define LEADAI_H
|
|
|
|
|
|
|
|
|
|
|
|
extern int leadRand(); // 0x000E70A0
|
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void InitLead(_CAR_DATA *cp); // 0x000E7128
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void LeadUpdateState(_CAR_DATA *cp); // 0x000E73E8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern unsigned long LeadPadResponse(_CAR_DATA *cp); // 0x000E7994
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void FakeMotion(_CAR_DATA *cp); // 0x000E7DE8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void PosToIndex(int *normal, int *tangent, int intention, _CAR_DATA *cp); // 0x000E834C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void BlockToMap(MAP_DATA *data); // 0x000E86BC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern int IsOnMap(int x, int z, VECTOR *basePos, int intention, _CAR_DATA *cp); // 0x000E98A4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void UpdateRoadPosition(_CAR_DATA *cp, VECTOR *basePos, int intention); // 0x000E9BB8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void slowWallTests() ; // 0x000E913C
|
|
|
|
|
|
|
|
extern void asf() ; // 0x000E9158
|
|
|
|
|
|
|
|
extern void DoExtraWorkForNFrames() ; // 0x000E99AC
|
|
|
|
|
|
|
|
extern void searchTarget() ; // 0x000E9AB8
|
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void CheckCurrentRoad(_CAR_DATA *cp); // 0x000EB1FC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void SetTarget(_CAR_DATA *cp, int cr, int heading, int *nextJunction); // 0x000EC1C4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern void SelectExit(_CAR_DATA *cp, DRIVER2_JUNCTION *junction); // 0x000EC5E4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-06-04 21:29:46 +02:00
|
|
|
extern unsigned long FreeRoamer(_CAR_DATA *cp); // 0x000EC99C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern unsigned long hypot(long x, long y); // 0x000ECB28
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|