aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-09-18 19:03:52 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-09-18 19:03:52 -0600
commit9d42d9dcc3b492951785b35e08f0851842d7d148 (patch)
tree3d8bd6002ca34941bcac6235f60d90e35974ac22 /src/gameScreen.h
parent2c3290f9edebbde37737cc446a0e9f93e9430c06 (diff)
Started working on some gui stuff
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r--src/gameScreen.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h
index 5876e91..84d589b 100644
--- a/src/gameScreen.h
+++ b/src/gameScreen.h
@@ -3,10 +3,22 @@
#ifndef GAME_SCREEN_H
#define GAME_SCREEN_H
+#define GAME_SCREEN_TEXT_SIZE 20.0
+#define GYROSCOPE_TEXTURE_SIZE 100
+
// Gui stuff and shit.
typedef struct GameScreen {
+ Vector2 infoText;
+
+ Vector2 gyroscopePosition;
+ Camera3D gyroscopeCamaera;
+ RenderTexture gyroscopeTexture;
+ Model gyroscopeModel;
} GameScreen;
+void initGameScreen(GameScreen * gameScreen);
+void freeGameScreen(GameScreen * gameScreen);
+
void updateGameScreen(Game * game);
void openGameScreen(Game * game);