Refactor world gold and combat

This commit is contained in:
2026-06-26 20:41:39 -07:00
parent e75dd82a76
commit 4d9c52c56a
7 changed files with 45 additions and 34 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ render_overlay :: proc(world: ^World) {
gap: i32 : 16
gold := fmt.ctprintf("Gold: %d", world.gold)
gold := fmt.ctprintf("Gold: %d", world.economy.gold)
rl.DrawText(gold, OVERLAY_PADDING, OVERLAY_PADDING, 18, OVERLAY_GOLD_COLOR)
x += rl.MeasureText(gold, font_size) + gap