sm64pc/src/game/hud.h

34 lines
681 B
C
Raw Normal View History

2019-10-05 21:08:05 +02:00
#ifndef HUD_H
#define HUD_H
2019-08-25 06:46:40 +02:00
#include "types.h"
2019-10-05 21:08:05 +02:00
enum PowerMeterAnimation {
POWER_METER_HIDDEN,
POWER_METER_EMPHASIZED,
POWER_METER_DEEMPHASIZING,
POWER_METER_HIDING,
POWER_METER_VISIBLE
};
2019-08-25 06:46:40 +02:00
2019-10-05 21:08:05 +02:00
enum CameraHUDLut {
GLYPH_CAM_CAMERA,
GLYPH_CAM_MARIO_HEAD,
GLYPH_CAM_LAKITU_HEAD,
GLYPH_CAM_FIXED,
GLYPH_CAM_ARROW_UP,
GLYPH_CAM_ARROW_DOWN
};
// Segment 3
extern u8 *power_meter_health_segments_lut[];
extern Gfx* dl_power_meter_base;
extern Gfx* dl_power_meter_health_segments_begin;
extern Gfx* dl_power_meter_health_segments_end;
// Functions
extern void set_hud_camera_status(s16 status);
2019-08-25 06:46:40 +02:00
extern void render_hud(void);
2019-10-05 21:08:05 +02:00
#endif /* HUD_H */