aboutsummaryrefslogtreecommitdiff
path: root/src/gameScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <nathansmith7@mailfence.com>2023-09-22 20:09:11 -0600
committernathansmithsmith <nathansmith7@mailfence.com>2023-09-22 20:09:11 -0600
commit7224002dcf90a2c12db9b031fdeb71bc29414e71 (patch)
treed0747ce287ffa7d0b1c472e9a3e456b3e904d5de /src/gameScreen.h
parent31e39555f6625ec7c2b9f8dd99b4bf19872e40c0 (diff)
Moved gyroscope code to its own file
Diffstat (limited to 'src/gameScreen.h')
-rw-r--r--src/gameScreen.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gameScreen.h b/src/gameScreen.h
index 698b044..42591a4 100644
--- a/src/gameScreen.h
+++ b/src/gameScreen.h
@@ -1,20 +1,15 @@
#include "gameCommon.h"
+#include "gyroscope.h"
#ifndef GAME_SCREEN_H
#define GAME_SCREEN_H
#define GAME_SCREEN_TEXT_SIZE 20.0
-#define GYROSCOPE_LINE_THICKNESS 2.0
-#define GYROSCOPE_TEXTURE_SIZE 80
-
// Gui stuff and shit.
typedef struct GameScreen {
Vector2 infoText;
-
- Vector2 gyroscopePosition;
- Camera3D gyroscopeCamaera;
- RenderTexture gyroscopeTexture;
+ Gyroscope gyroscope;
} GameScreen;
void initGameScreen(GameScreen * gameScreen);