Add path debug drawing, resources fields
This commit is contained in:
@@ -10,13 +10,25 @@ typedef struct Game {
|
||||
BzTileset buildingsTileset;
|
||||
BzTileset entitiesTileset;
|
||||
BzTileMap map;
|
||||
int selectedBuilding;
|
||||
ecs_entity_t *entityMap;
|
||||
f32 frameDuration;
|
||||
Vector2 targetPos;
|
||||
ecs_entity_t entity;
|
||||
Path path;
|
||||
Position waypoints[128];
|
||||
struct {
|
||||
int building;
|
||||
Vector2 mouseDown;
|
||||
f32 mouseDownElapsed;
|
||||
} input;
|
||||
struct {
|
||||
i64 wood;
|
||||
i64 iron;
|
||||
i64 food;
|
||||
i64 gold;
|
||||
i64 pop;
|
||||
} resources;
|
||||
f32 elapsed;
|
||||
} Game;
|
||||
|
||||
extern Game *GAME;
|
||||
|
||||
Reference in New Issue
Block a user