2020-03-27 21:47:29 +01:00
|
|
|
#ifndef FELONY_H
|
|
|
|
#define FELONY_H
|
|
|
|
|
2020-09-05 19:48:15 +02:00
|
|
|
#define FELONY_MIN_VALUE (658)
|
2020-10-17 08:03:08 +02:00
|
|
|
#define FELONY_MAX_VALUE (4096)
|
2020-09-05 19:48:15 +02:00
|
|
|
|
2020-05-01 08:08:36 +02:00
|
|
|
extern FELONY_DATA felonyData;
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void InitFelonyDelayArray(FELONY_DELAY *pFelonyDelay, short *pMaximum, int count); // 0x0004D364
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void InitFelonyData(FELONY_DATA *pFelonyData); // 0x0004D3A0
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern int GetCarHeading(int direction); // 0x0004D420
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern char GetCarDirectionOfTravel(CAR_DATA *cp); // 0x0004D430
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void NoteFelony(FELONY_DATA *pFelonyData, char type, short scale); // 0x0004C330
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void AdjustFelony(FELONY_DATA *pFelonyData); // 0x0004C8B4
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern void CheckPlayerMiscFelonies(); // 0x0004CC28
|
|
|
|
|
|
|
|
extern void InitFelonySystem(); // 0x0004D280
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void CarHitByPlayer(CAR_DATA *victim, int howHard); // 0x0004D2B8
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|