aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/ui.h
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-04-06 21:36:24 +0200
committerUnavailableDev <ggwildplay@gmail.com>2023-04-06 21:36:24 +0200
commite88c48ae60dd48542e44b0cc244b191c91782681 (patch)
tree344243247b21a93311a9cc2173fbddb2d126c040 /src/game_loop/ui.h
parent03748610041bcc8ec7a7743e9a5fb35c06731fa0 (diff)
random shop items + animations
Diffstat (limited to 'src/game_loop/ui.h')
-rw-r--r--src/game_loop/ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game_loop/ui.h b/src/game_loop/ui.h
index 527cc74..073824e 100644
--- a/src/game_loop/ui.h
+++ b/src/game_loop/ui.h
@@ -19,3 +19,6 @@ 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);
+
+/** @brief moves 'cursor' through selection field */
+void hh_shift_selected(uint8_t *pos, bool dir, uint8_t min, uint8_t max);