diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2023-04-06 12:32:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 12:32:23 +0200 |
commit | d1c00c98ca0f2ca498284e60fa057a610cc5c461 (patch) | |
tree | a2efebcb9917d7f4f3666a722338f50b9590e843 /src/game_loop/shop.h | |
parent | 1771aaa12736b4dbc24419270cf595de6d345969 (diff) | |
parent | 93e9426d5642dfab7a13d5a34873b296de1d9642 (diff) |
Merge pull request #58 from UnavailableDev/dev
Dynamic tilemap
Diffstat (limited to 'src/game_loop/shop.h')
-rw-r--r-- | src/game_loop/shop.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game_loop/shop.h b/src/game_loop/shop.h index b0ad5e4..6f8f5a7 100644 --- a/src/game_loop/shop.h +++ b/src/game_loop/shop.h @@ -15,12 +15,14 @@ typedef enum { } hh_e_shop_states; /** @brief amount of upgrade types */ -#define HH_SHOP_UPG_COUNT 2 +#define HH_SHOP_UPG_COUNT 5 /** @brief count of visible upgrades in shop */ #define HH_SHOP_UPG_DISPLAY 4 /** @brief all possible upgrades */ typedef enum { hh_e_upg_jump, + hh_e_upg_speed, + hh_e_upg_damage, hh_e_upg_heal, hh_e_upg_max_health, } hh_e_upgrades; @@ -32,4 +34,4 @@ void hh_shop_display(uint8_t selected, hh_e_upgrades* upgrades); /** @brief moves 'cursor' through selection field */ void hh_shift_selected(uint8_t* pos, bool dir, uint8_t min, uint8_t max); -void hh_shop(hh_e_game_state*); +void hh_shop(hh_e_game_state* ,hh_level_entity* ); |