mzm/include/hud.h
2022-09-23 15:39:42 +02:00

27 lines
813 B
C

#ifndef HUD_H
#define HUD_H
#include "types.h"
// Defines
#define HIGHLIGHT_STATUS_NOT_HIGHLIGHTED 0
#define HIGHLIGHT_STATUS_SELECTED 1
#define HIGHLIGHT_STATUS_HIGHLIGHTED 2
// Functions
void HUDUpdateOAM(void);
void HUDUpdateEnergyTanks(u8* pDst, const u8* pSrcNormal, const u8* pSrcRefill, u8 nbrTanks, u8 refillStage);
void HUDDrawEnergy(u8 fileNumber);
void HUDDrawMissileDigits(u16 hundreds, u16 tens, u16 ones, u16 highlightStatus);
void HUDDrawSuperMissileDigits(u16 tens, u16 ones, u16 highlightStatus);
void HUDDrawPowerBombDigits(u16 tens, u16 ones, u16 highlightStatus);
void HUDDrawMissiles(u8 updateHighlight);
void HUDDrawPowerBomb(u8 updateHighlight);
void HUDDrawSuperMissiles(u8 updateHighlight);
void HUDUpdateGFX(void);
void HUDDrawSuitless(void);
void HUDDraw(void);
#endif /* HUD_H */