2020-05-27 09:21:20 +02:00
|
|
|
#pragma once
|
|
|
|
#define MAX_COLLECTED_PICKUPS 32
|
|
|
|
|
2020-05-30 15:55:23 +02:00
|
|
|
typedef struct DISPLAY_PICKUP
|
|
|
|
{
|
|
|
|
short life;
|
|
|
|
short objectNumber;
|
|
|
|
};
|
|
|
|
|
2020-05-27 09:21:20 +02:00
|
|
|
void DrawHealthBarOverlay(int value);
|
|
|
|
void DrawHealthBar(float value);
|
2020-08-04 20:51:47 +10:00
|
|
|
void UpdateHealthBar(int flash);
|
2020-05-27 09:21:20 +02:00
|
|
|
void DrawAirBar(float value);
|
|
|
|
void UpdateAirBar(int flash);
|
|
|
|
void DrawDashBar(int value);
|
|
|
|
void AddDisplayPickup(short objectNumber);
|
|
|
|
int DrawAllPickups();
|
|
|
|
void InitialisePickupDisplay();
|
|
|
|
int FlashIt();
|
|
|
|
|
|
|
|
extern short PickupX;
|
|
|
|
extern short PickupY;
|
|
|
|
extern short CurrentPickup;
|
|
|
|
extern DISPLAY_PICKUP Pickups[MAX_COLLECTED_PICKUPS];
|
|
|
|
extern short PickupVel;
|
|
|
|
extern int OldHitPoints;
|
2020-08-04 20:51:47 +10:00
|
|
|
extern int HealthBarTimer;
|
|
|
|
extern float HealthBar;
|
|
|
|
extern float MutateAmount;
|
2020-05-27 09:21:20 +02:00
|
|
|
extern int FlashState;
|
|
|
|
extern int PoisonFlag;
|
|
|
|
extern int DashTimer;
|
2020-08-04 20:51:47 +10:00
|
|
|
|
|
|
|
extern bool EnableSmoothHealthBar;
|