2020-03-27 21:47:29 +01:00
|
|
|
#ifndef OVERLAY_H
|
|
|
|
#define OVERLAY_H
|
|
|
|
|
2022-01-25 20:58:58 +01:00
|
|
|
struct COLOUR_BAND
|
|
|
|
{
|
|
|
|
CVECTOR colour;
|
|
|
|
int value;
|
|
|
|
int flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct _PERCENTAGE_BAR
|
|
|
|
{
|
|
|
|
char* tag;
|
|
|
|
short xpos, ypos;
|
|
|
|
short width, height;
|
|
|
|
u_short position;
|
|
|
|
u_short max;
|
|
|
|
COLOUR_BAND* pColourBand;
|
|
|
|
int flags, active;
|
|
|
|
} PERCENTAGE_BAR, * LPPERCENTAGE_BAR;
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern PERCENTAGE_BAR PlayerDamageBar;
|
|
|
|
extern PERCENTAGE_BAR Player2DamageBar;
|
|
|
|
extern PERCENTAGE_BAR DamageBar;
|
|
|
|
extern PERCENTAGE_BAR FelonyBar;
|
|
|
|
extern PERCENTAGE_BAR ProxyBar;
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-11-16 18:53:42 +01:00
|
|
|
extern int gDoOverlays;
|
2020-11-16 18:20:47 +01:00
|
|
|
extern int gWidescreenOverlayAlign;
|
2020-11-16 18:15:28 +01:00
|
|
|
|
2020-11-30 15:56:10 +01:00
|
|
|
extern int gOverlayXPos;
|
|
|
|
extern int gOverlayXOppPos;
|
|
|
|
|
2020-05-30 10:01:36 +02:00
|
|
|
extern char OverlayFlashValue;
|
|
|
|
|
2020-03-27 21:47:29 +01:00
|
|
|
extern void InitOverlays(); // 0x00014A58
|
|
|
|
extern void DisplayOverlays(); // 0x00014C3C
|
|
|
|
|
|
|
|
extern void SetFullscreenDrawing(); // 0x00015E70
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void InitPercentageBar(PERCENTAGE_BAR *bar, int size, COLOUR_BAND *pColourBand, char *tag); // 0x00015F20
|
|
|
|
extern void EnablePercentageBar(PERCENTAGE_BAR *bar, int max); // 0x00015F58
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-08 22:38:43 +01:00
|
|
|
extern void DrawProximityBar(PERCENTAGE_BAR* bar);
|
|
|
|
|
2020-10-31 01:11:58 +01:00
|
|
|
extern void SetColourByValue(COLOUR_BAND *pColourBand, int value, CVECTOR *pOut); // 0x00015F6C
|
2020-03-27 21:47:29 +01:00
|
|
|
extern void TransparencyOn(void *potz, unsigned short tpage); // 0x00016098
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|