Add UI for recruiting

This commit is contained in:
2024-02-07 12:12:07 +01:00
parent e41837001e
commit 28b36e86dc
3 changed files with 104 additions and 2 deletions

View File

@@ -27,6 +27,8 @@ void uiSettingsSlider(const char *txt, f32 *value);
void uiGameResCount(i32 amount, i32 capacity, Rectangle icon, Texture2D texture);
void uiGameRecruit(const char *label, Rectangle rec, Texture2D tex, i32 numRecruiting,
f32 progress, bool canAfford, bool *selected);
void uiGameBuild(const char *label, Rectangle rec, Texture2D tex, bool canAfford, bool *selected);
bool uiGameUnit(const char *label, i32 count, Rectangle rec, Texture2D tex);