2020-03-27 21:47:29 +01:00
|
|
|
#ifndef LEADAI_H
|
|
|
|
#define LEADAI_H
|
|
|
|
|
|
|
|
|
|
|
|
extern int leadRand(); // 0x000E70A0
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void InitLead(CAR_DATA *cp); // 0x000E7128
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void LeadUpdateState(CAR_DATA *cp); // 0x000E73E8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-08 17:45:14 +01:00
|
|
|
extern u_int LeadPadResponse(CAR_DATA *cp); // 0x000E7994
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void FakeMotion(CAR_DATA *cp); // 0x000E7DE8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01: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-10-31 01:11:58 +01: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-10-31 01:11:58 +01: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-10-31 01:11:58 +01:00
|
|
|
extern void CheckCurrentRoad(CAR_DATA *cp); // 0x000EB1FC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void SetTarget(CAR_DATA *cp, int cr, int heading, int *nextJunction); // 0x000EC1C4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void SelectExit(CAR_DATA *cp, DRIVER2_JUNCTION *junction); // 0x000EC5E4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-08 17:45:14 +01:00
|
|
|
extern u_int FreeRoamer(CAR_DATA *cp); // 0x000EC99C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-08 17:45:14 +01:00
|
|
|
extern u_int hypot(int x, int y); // 0x000ECB28
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|