aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/ui.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-04-06 16:39:12 +0200
committerGitHub <noreply@github.com>2023-04-06 16:39:12 +0200
commit8be7919774250cca23151bf1505cbb48d1dd45ee (patch)
treec9876a5c0f1cfea1eb56a2c046bcb4d5813e2d78 /src/game_loop/ui.h
parentd1c00c98ca0f2ca498284e60fa057a610cc5c461 (diff)
parentd8e8e63bac3ef5a203106c09731ed2e55c87688a (diff)
Merge pull request #59 from UnavailableDev/dev
rendering hp + strings
Diffstat (limited to 'src/game_loop/ui.h')
-rw-r--r--src/game_loop/ui.h19
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);
+