aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-11-04 21:25:01 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-11-04 21:25:01 -0600
commitf45d32ca36a0ae85410b3eee61120fa97bf9bd25 (patch)
treed2b199bb12e9e9fe967dca415bf1b7270382774a /src/gameScreen.h
parent5627fd8128957710c6f16330b2bc1bc3251c5355 (diff)
Game play feeling great
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r--src/gameScreen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h
index aa690fa..009ba07 100644
--- a/src/gameScreen.h
+++ b/src/gameScreen.h
@@ -10,6 +10,9 @@
#define GAME_SCREEN_NEXT_LEVEL_DELAY 2.0
#define GAME_SCREEN_TARGET_INFO_MAX 20
+#define GAME_SCREEN_ZOOM_VIEW_SIZE 60 // Size it renders at.
+#define GAME_SCREEN_ZOOM_VIEW_UI_SIZE 150 // Size on screen.
+
// Gui stuff and shit.
typedef struct GameScreen {
Vector2 infoTextPosition;
@@ -23,6 +26,9 @@ typedef struct GameScreen {
double timeAtLevelComplete;
int lastLevel;
+ RenderTexture zoomViewTexture;
+ Vector2 zoomViewPosition;
+
RenderTexture worldRender;
bool usingWorldRenderTexture;
} GameScreen;