aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-10-03 13:50:23 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-10-03 13:50:23 -0600
commit0aaad98b1f7d8a2e3021a5ef350be8e8a026cee2 (patch)
tree08b4a72e377947d329249161ae1982169b17672c /src/gameScreen.h
parent2bd87ba9d98973e59e89fab4be60ce4ef4cf95ae (diff)
Levels working
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 f12b8ea..1fdf089 100644
--- a/src/gameScreen.h
+++ b/src/gameScreen.h
@@ -7,6 +7,7 @@
#define GAME_SCREEN_H
#define GAME_SCREEN_TEXT_SIZE 20.0
+#define GAME_SCREEN_NEXT_LEVEL_DELAY 2.0
// Gui stuff and shit.
typedef struct GameScreen {
@@ -14,6 +15,10 @@ typedef struct GameScreen {
Gyroscope gyroscope;
Radar radar;
CameraId mainCamera;
+
+ bool levelComplete;
+ double timeAtLevelComplete;
+ int lastLevel;
} GameScreen;
void initGameScreen(GameScreen * gameScreen);