Add game over screen
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
|
||||
#include "constants.h"
|
||||
#include "sounds.h"
|
||||
#include "wave.h"
|
||||
|
||||
typedef enum GameScreen {
|
||||
SCREEN_GAME,
|
||||
SCREEN_GAME_OVER,
|
||||
SCREEN_PAUSE_MENU,
|
||||
SCREEN_MAIN_MENU,
|
||||
SCREEN_SETTINGS,
|
||||
@@ -74,6 +76,10 @@ typedef struct Game {
|
||||
|
||||
PlayerResources playerResources[PLAYER_COUNT];
|
||||
Player player;
|
||||
|
||||
WaveInfo waveInfo;
|
||||
ecs_entity_t keepEntity;
|
||||
|
||||
BzStackAlloc stackAlloc;
|
||||
struct {
|
||||
BzBTNode *workerHarvest;
|
||||
|
||||
Reference in New Issue
Block a user