diff options
author | UnavailableDev <ggwildplay@gmail.com> | 2023-04-06 17:31:38 +0200 |
---|---|---|
committer | UnavailableDev <ggwildplay@gmail.com> | 2023-04-06 17:31:38 +0200 |
commit | 03748610041bcc8ec7a7743e9a5fb35c06731fa0 (patch) | |
tree | 8289f2e21c80dcbfbafbc5150bd109bcb40aca7c /src/game_loop/ui.h | |
parent | 8be7919774250cca23151bf1505cbb48d1dd45ee (diff) |
printing strings coming to YOUR screen!
Diffstat (limited to 'src/game_loop/ui.h')
-rw-r--r-- | src/game_loop/ui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game_loop/ui.h b/src/game_loop/ui.h index 7a8ffbd..527cc74 100644 --- a/src/game_loop/ui.h +++ b/src/game_loop/ui.h @@ -17,3 +17,5 @@ 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); +/** @brief converts char* [0] to i and [1]='\0' */ +void itoa(char *c, int i); |