diff options
author | UnavailableDev <ggwildplay@gmail.com> | 2023-04-06 16:40:34 +0200 |
---|---|---|
committer | UnavailableDev <ggwildplay@gmail.com> | 2023-04-06 16:40:34 +0200 |
commit | d8e8e63bac3ef5a203106c09731ed2e55c87688a (patch) | |
tree | c9876a5c0f1cfea1eb56a2c046bcb4d5813e2d78 /src/game_loop/ui.h | |
parent | 93e9426d5642dfab7a13d5a34873b296de1d9642 (diff) |
rendering hp + strings
Diffstat (limited to 'src/game_loop/ui.h')
-rw-r--r-- | src/game_loop/ui.h | 19 |
1 files changed, 19 insertions, 0 deletions
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); + |