aboutsummaryrefslogtreecommitdiff
path: root/src/screens/infoScreen.h
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 15:36:56 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-22 15:36:56 -0700
commit4fa5a5374ae5062d9070b136bf873a50b7d8546f (patch)
treec8729c98d024b8603e9f036934a3be386943e05d /src/screens/infoScreen.h
parent5c9ab091b5556180c645c0981093a95b2eb61c25 (diff)
Got a somewhat working preview
Diffstat (limited to 'src/screens/infoScreen.h')
-rw-r--r--src/screens/infoScreen.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/screens/infoScreen.h b/src/screens/infoScreen.h
index 128033a..4113420 100644
--- a/src/screens/infoScreen.h
+++ b/src/screens/infoScreen.h
@@ -11,7 +11,7 @@
typedef struct EntityUserInfo {
EntityType type;
AssetId assetId;
- Vector3 cameraPosition;
+ float cameraDistance;
char msg[ENTITY_USER_INFO_MSG_MAX];
} EntityUserInfo;
@@ -21,6 +21,11 @@ typedef struct InfoScreen {
Rectangle goBackButton;
Camera3D camera;
int currentEntity;
+
+ Vector2 lastMouse;
+ Quaternion rotation;
+ bool resetMouse;
+ float distance;
} InfoScreen;
void initInfoScreen(Game * game);