aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
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;