From d8e8e63bac3ef5a203106c09731ed2e55c87688a Mon Sep 17 00:00:00 2001 From: UnavailableDev Date: Thu, 6 Apr 2023 16:40:34 +0200 Subject: rendering hp + strings --- src/game_loop/ui.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/game_loop/ui.h (limited to 'src/game_loop/ui.h') diff --git a/src/game_loop/ui.h b/src/game_loop/ui.h new file mode 100644 index 0000000..7a8ffbd --- /dev/null +++ b/src/game_loop/ui.h @@ -0,0 +1,19 @@ +#pragma once + +#include "static/tilemap.h" +#include "engine/player_controller.h" + +#include "ppu/types.h" + +#include "engine/types.h" +#include "engine/entity.h" +#include "engine/animator.h" +#include "engine/player_controller.h" + + +// extern hh_g_max_hp; + +void hh_ui_show_hp(int* idx, hh_entity* player, uint8_t max_hp, vec_cor cam_pos); + +void hh_ui_show_char(int* idx, char* str, vec2 pos); + -- cgit v1.2.3