diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 16:38:12 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 16:38:12 -0700 |
commit | 797381def454d1556f82a81e6452c7b8ee6d1bad (patch) | |
tree | e729f9da706aab789e7e3e7db8392de9036144f1 /src/screens/infoScreen.h | |
parent | b321781f066608ad4c0c5f91096cbe103003825d (diff) |
Some more info about entities drawn on the preview
Diffstat (limited to 'src/screens/infoScreen.h')
-rw-r--r-- | src/screens/infoScreen.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/screens/infoScreen.h b/src/screens/infoScreen.h index 071eea6..0c2f93d 100644 --- a/src/screens/infoScreen.h +++ b/src/screens/infoScreen.h @@ -5,9 +5,12 @@ #ifndef INFO_SCREEN_H #define INFO_SCREEN_H -#define ENTITY_USER_INFO_MSG_MAX 100 +#define ENTITY_USER_INFO_MSG_MAX 70 #define INFO_SCREEN_ENTITY_COUNT 7 +#define ENTITY_INFO_NAME_FONT_SIZE 30 +#define ENTITY_INFO_FONT_SIZE 18 + typedef struct EntityUserInfo { EntityType type; AssetId assetId; @@ -19,14 +22,15 @@ extern const EntityUserInfo infoScreenEntityInfo[INFO_SCREEN_ENTITY_COUNT]; typedef struct InfoScreen { Rectangle goBackButton; + Camera3D camera; + float distances[ENTITY_USER_INFO_MSG_MAX]; + int currentEntity; Vector2 lastMouse; Quaternion rotation; bool resetMouse; - - float distances[ENTITY_USER_INFO_MSG_MAX]; } InfoScreen; void initInfoScreen(Game * game); |