mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
681747cb2e
- fix PlaceCameraAtLocation
44 lines
1.0 KiB
C
44 lines
1.0 KiB
C
#ifndef COP_AI_H
|
|
#define COP_AI_H
|
|
|
|
extern COP_DATA gCopData;
|
|
|
|
extern int CopsCanSeePlayer;
|
|
extern short pedestrianFelony;
|
|
|
|
extern int numRoadblockCars;
|
|
extern int roadblockCount;
|
|
extern int copsAreInPursuit;
|
|
extern int requestRoadblock;
|
|
extern int roadblockDelay;
|
|
extern int roadblockDelayDiff;
|
|
extern int requestCopCar;
|
|
extern char first_offence;
|
|
|
|
extern void InitCopState(_CAR_DATA *cp, char *extraData); // 0x0002F680
|
|
|
|
extern void WibbleDownTheRoad(VECTOR *from, int distance, VECTOR *to); // 0x0002D78C
|
|
|
|
extern void InitCops(); // 0x0002D99C
|
|
|
|
extern void ControlCops(); // 0x0002DAD8
|
|
|
|
extern void CopControl(_CAR_DATA *cp); // 0x0002F60C
|
|
|
|
extern void CopControl1(_CAR_DATA *cp); // 0x0002DEFC
|
|
|
|
extern int FindCost(int x, int z, int dvx, int dvz); // 0x0002F8DC
|
|
|
|
extern void InitCopData(COP_DATA *pCopData); // 0x0002F7F8
|
|
|
|
extern void UpdateCopSightData(); // 0x0002F844
|
|
|
|
extern void ControlCopDetection(); // 0x0002ECD8
|
|
|
|
extern void PassiveCopTasks(_CAR_DATA *cp); // 0x0002F6FC
|
|
|
|
extern void ControlNumberOfCops(); // 0x0002F3CC
|
|
|
|
|
|
#endif
|