Implement market
This commit is contained in:
@@ -422,6 +422,11 @@ void uiGameBuild(const char *label, Rectangle rec, Texture2D tex, bool canAfford
|
||||
|
||||
bzUIPopParent(UI);
|
||||
}
|
||||
bool uiGameTrade(const char *label, Rectangle rec, Texture2D tex, bool canAfford) {
|
||||
bool selected = false;
|
||||
uiGameBuild(label, rec, tex, canAfford, &selected);
|
||||
return selected;
|
||||
}
|
||||
bool uiGameUnit(const char *label, i32 count, Rectangle rec, Texture2D tex) {
|
||||
if (rec.height > 16)
|
||||
rec.y += 16;
|
||||
|
||||
Reference in New Issue
Block a user