2020-03-27 21:47:29 +01:00
|
|
|
#ifndef PEDEST_H
|
|
|
|
#define PEDEST_H
|
|
|
|
|
2020-04-28 20:00:25 +02:00
|
|
|
extern int bKillTanner;
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void IHaveThePower(); // 0x0006DD34
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void ProcessTannerPad(PEDESTRIAN *pPed, unsigned long pad, char PadSteer, char use_analogue); // 0x0006DF54
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void InitTanner(); // 0x0006E408
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetTannerPosition(VECTOR *pVec); // 0x00072478
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void InitPedestrians(); // 0x0006E5C4
|
|
|
|
|
|
|
|
extern void DestroyPedestrians(); // 0x00071F54
|
|
|
|
|
|
|
|
extern void DestroyCivPedestrians(); // 0x00072FD0
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void DestroyPedestrian(PEDESTRIAN *pPed); // 0x00071FB4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int ActivatePlayerPedestrian(_CAR_DATA *pCar, char *padId, int direction, long (*position)[4], int playerType); // 0x0006E6C4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern struct PEDESTRIAN * CreatePedestrian(); // 0x000720AC
|
|
|
|
|
|
|
|
extern void PlaceRoadBlockCops(); // 0x0006EC88
|
|
|
|
|
|
|
|
extern int CreatePedAtLocation(long (*pPos)[4], int pedType); // 0x0006F00C
|
|
|
|
|
|
|
|
extern void DrawAllPedestrians(); // 0x00072290
|
|
|
|
|
|
|
|
extern int TannerActionHappening(); // 0x00072430
|
|
|
|
|
|
|
|
extern void ControlPedestrians(); // 0x0006F16C
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupDoNowt(PEDESTRIAN *pPed); // 0x00073038
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupWalker(PEDESTRIAN *pPed); // 0x0007307C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupRunner(PEDESTRIAN *pPed); // 0x000730B8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupBack(PEDESTRIAN *pPed); // 0x000730FC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CivGetIn(PEDESTRIAN *pPed); // 0x00072DFC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CopStand(PEDESTRIAN *pPed); // 0x00072DA0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedDoNothing(PEDESTRIAN *pPed); // 0x0006F2DC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedUserRunner(PEDESTRIAN *pPed); // 0x0006F5AC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedUserWalker(PEDESTRIAN *pPed); // 0x00072944
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedCarryOutAnimation(PEDESTRIAN *pPed); // 0x00072A10
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedGetOutCar(PEDESTRIAN *pPed); // 0x00072BEC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupGetOutCar(PEDESTRIAN *pPed, struct _CAR_DATA *pCar, int side); // 0x0006F80C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupGetInCar(PEDESTRIAN *pPed); // 0x0006FA3C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedGetInCar(PEDESTRIAN *pPed); // 0x00072B5C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupPressButton(PEDESTRIAN *pPed); // 0x00072904
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedPressButton(PEDESTRIAN *pPed); // 0x00072C90
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupTannerSitDown(PEDESTRIAN *pPed); // 0x000728C8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void TannerCameraHandler(PEDESTRIAN *pPed); // 0x0006FD08
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void TannerSitDown(PEDESTRIAN *pPed); // 0x0006FF48
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void AnimatePed(PEDESTRIAN *pPed); // 0x000700D0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void DeActivatePlayerPedestrian(PEDESTRIAN *pPed); // 0x0007216C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CivPedDoNothing(PEDESTRIAN *pPed); // 0x00072CE0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupCivPedRouteData(VECTOR *pPos); // 0x0007313C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void PingInPedestrians(); // 0x0007047C
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void TannerCollision(PEDESTRIAN *pPed); // 0x00072EE4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int FindPointOfCollision(_CAR_DATA *pCar, VECTOR *pPos); // 0x00070878
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int TannerCarCollisionCheck(VECTOR *pPos, int dir, int bQuick); // 0x00070A9C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int PingOutPed(PEDESTRIAN *pPed); // 0x000731F8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupCivJump(PEDESTRIAN *pPed, struct _CAR_DATA *cp); // 0x00071054
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CivPedJump(PEDESTRIAN *pPed); // 0x00072CF0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetupCivPedWalk(PEDESTRIAN *pPed); // 0x00073270
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CivPedWalk(PEDESTRIAN *pPed); // 0x00071324
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CivPedSit(PEDESTRIAN *pPed); // 0x00072CE8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void HandlePedestrians(); // 0x0007211C
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void PedestrianActionInit_WalkToTarget(PEDESTRIAN *pPed); // 0x0007283C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CorrectPathPosition(PEDESTRIAN *pedestrian, VECTOR *position); // 0x000715FC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int CalcPedestrianDirection(int last_dir, int wx, int wz, VECTOR *target); // 0x00071608
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern int IsPavement(int x, int y, int z, struct PEDESTRIAN *pPed); // 0x000725B8
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void SetPedestrianTurn(PEDESTRIAN *pedestrian, int turn); // 0x00072500
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern struct SEATED_PEDESTRIANS * FindSeated(); // 0x00072644
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern struct SEATED_PEDESTRIANS * FindTannerASeat(PEDESTRIAN *pPed); // 0x000717AC
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void add_seated(SEATED_PEDESTRIANS *seatedptr, int seat_index); // 0x000718C8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void set_coll_box(int index, _CAR_DATA *cp, int offset); // 0x00071A5C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void BuildCarCollisionBox(); // 0x00071B7C
|
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern struct _CAR_DATA * CheckForCar(PEDESTRIAN *pedestrian); // 0x00072738
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int CheckForPlayerCar(PEDESTRIAN *pedestrian, CAR_COLLISION_BOX *collision_box); // 0x000732C0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern void CalculatePedestrianInterest(PEDESTRIAN *pPed); // 0x00071E0C
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-04-03 00:44:09 +02:00
|
|
|
extern int PedSurfaceType(VECTOR *ped_pos); // 0x00072584
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void ProcessChairLump(char *lump_file, int lump_size); // 0x00073328
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|