mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
34 lines
780 B
C
34 lines
780 B
C
#pragma once
|
|
#define MAX_COLLECTED_PICKUPS 32
|
|
|
|
typedef struct DISPLAY_PICKUP
|
|
{
|
|
short life;
|
|
short objectNumber;
|
|
};
|
|
|
|
void DrawHealthBarOverlay(int value);
|
|
void DrawHealthBar(float value);
|
|
void UpdateHealthBar(int flash);
|
|
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;
|
|
extern int HealthBarTimer;
|
|
extern float HealthBar;
|
|
extern float MutateAmount;
|
|
extern int FlashState;
|
|
extern int PoisonFlag;
|
|
extern int DashTimer;
|
|
|
|
extern bool EnableSmoothHealthBar;
|