mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
#ifndef LEADAI_H
|
|
#define LEADAI_H
|
|
|
|
|
|
extern int leadRand(); // 0x000E70A0
|
|
|
|
extern void InitLead(CAR_DATA *cp); // 0x000E7128
|
|
|
|
extern void LeadUpdateState(CAR_DATA *cp); // 0x000E73E8
|
|
|
|
extern u_int LeadPadResponse(CAR_DATA *cp); // 0x000E7994
|
|
|
|
extern void FakeMotion(CAR_DATA *cp); // 0x000E7DE8
|
|
|
|
extern void PosToIndex(int *normal, int *tangent, int intention, CAR_DATA *cp); // 0x000E834C
|
|
|
|
extern void BlockToMap(MAP_DATA *data); // 0x000E86BC
|
|
|
|
extern int IsOnMap(int x, int z, VECTOR *basePos, int intention, CAR_DATA *cp); // 0x000E98A4
|
|
|
|
extern void UpdateRoadPosition(CAR_DATA *cp, VECTOR *basePos, int intention); // 0x000E9BB8
|
|
|
|
extern void slowWallTests() ; // 0x000E913C
|
|
|
|
extern void asf() ; // 0x000E9158
|
|
|
|
extern void DoExtraWorkForNFrames() ; // 0x000E99AC
|
|
|
|
extern void searchTarget() ; // 0x000E9AB8
|
|
|
|
extern void CheckCurrentRoad(CAR_DATA *cp); // 0x000EB1FC
|
|
|
|
extern void SetTarget(CAR_DATA *cp, int cr, int heading, int *nextJunction); // 0x000EC1C4
|
|
|
|
extern void SelectExit(CAR_DATA *cp, DRIVER2_JUNCTION *junction); // 0x000EC5E4
|
|
|
|
extern u_int FreeRoamer(CAR_DATA *cp); // 0x000EC99C
|
|
|
|
extern u_int hypot(int x, int y); // 0x000ECB28
|
|
|
|
|
|
#endif
|