aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-11-07 22:11:06 -0700
committernathansmithsmith <nathansmith7@mailfence.com>2023-11-07 22:11:06 -0700
commit28f9f373667e1d676365c1d67d50221eda2c6379 (patch)
treef7bd490e42be6e68fe1725a565e705f264ab323b /src/gameScreen.h
parentc28b9fdb3c15248604d38717a03e98c78ac88961 (diff)
Just in case some shit happens to my laptop
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r--src/gameScreen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h
index 6cf95de..5bcd288 100644
--- a/src/gameScreen.h
+++ b/src/gameScreen.h
@@ -16,6 +16,8 @@
#define GAME_SCREEN_SKY_BOX_SIZE 1020.0
+#define GAME_SCREEN_SHOW_GAME_OVER_FOR 2.0
+
// Gui stuff and shit.
typedef struct GameScreen {
Vector2 infoTextPosition;
@@ -30,6 +32,9 @@ typedef struct GameScreen {
double timeAtLevelComplete;
int lastLevel;
+ bool gameOver;
+ double gameOverAt;
+
RenderTexture zoomViewTexture;
Vector2 zoomViewPosition;