diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 15:36:56 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 15:36:56 -0700 |
commit | 4fa5a5374ae5062d9070b136bf873a50b7d8546f (patch) | |
tree | c8729c98d024b8603e9f036934a3be386943e05d /src/screens/infoScreen.h | |
parent | 5c9ab091b5556180c645c0981093a95b2eb61c25 (diff) |
Got a somewhat working preview
Diffstat (limited to 'src/screens/infoScreen.h')
-rw-r--r-- | src/screens/infoScreen.h | 7 |
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); |