aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 1da279c..6d11c57 100644
--- a/include/common.h
+++ b/include/common.h
@@ -49,8 +49,9 @@ typedef struct {
#define GAME_NAME "Independent Study v.0.2 alpha"
-#define SCREEN_WIDTH 1280
-#define SCREEN_HEIGHT 720
+#define SCREEN_WIDTH 1920
+#define SCREEN_HEIGHT 1080
+#define FULLSCREEN
//#define FULLSCREEN
@@ -94,6 +95,11 @@ typedef struct {
extern unsigned int deltaTime;
/*
+ * References the variable in main.cpp, used for drawing with the player
+*/
+extern vec2 offset;
+
+/*
* Loads an image from the given file path and attempts to make a texture out of it. The
* resulting GLuint is returned (used to recall the texture in glBindTexture).
*