Proper build UI

This commit is contained in:
2024-01-23 16:54:39 +01:00
parent f3acb1a0a3
commit b6e54a7fcb
9 changed files with 110 additions and 30 deletions

View File

@@ -42,6 +42,14 @@ static Options getDefaultOptions() {
};
}
typedef struct PlayerResources {
i64 wood;
i64 food;
i64 gold;
i64 pop;
i64 popCapacity;
} PlayerResources;
typedef struct Game {
GameScreen screen;
GameScreen nextScreen;
@@ -56,13 +64,8 @@ typedef struct Game {
Options options;
struct {
i64 wood;
i64 iron;
i64 food;
i64 gold;
i64 pop;
} resources;
PlayerResources playerResources[PLAYER_COUNT];
Player player;
BzStackAlloc stackAlloc;
struct {
BzBTNode *workerHarvest;