diff options
author | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 13:51:23 -0700 |
---|---|---|
committer | nathansmithsmith <thenathansmithsmith@gmail.com> | 2023-12-22 13:51:23 -0700 |
commit | 5c9ab091b5556180c645c0981093a95b2eb61c25 (patch) | |
tree | 288e657798c1108cea9bb82a495c276d4f24ea9e /src/screens/infoScreen.h | |
parent | 0be4fca7d5d05fe3cb161ed92218277f4af739e0 (diff) |
Working on the ship viewer thingy thing
Diffstat (limited to 'src/screens/infoScreen.h')
-rw-r--r-- | src/screens/infoScreen.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/screens/infoScreen.h b/src/screens/infoScreen.h index a677a3d..128033a 100644 --- a/src/screens/infoScreen.h +++ b/src/screens/infoScreen.h @@ -5,13 +5,22 @@ #ifndef INFO_SCREEN_H #define INFO_SCREEN_H +#define ENTITY_USER_INFO_MSG_MAX 100 +#define INFO_SCREEN_ENTITY_COUNT 7 + typedef struct EntityUserInfo { EntityType type; AssetId assetId; + Vector3 cameraPosition; + char msg[ENTITY_USER_INFO_MSG_MAX]; } EntityUserInfo; +extern const EntityUserInfo infoScreenEntityInfo[INFO_SCREEN_ENTITY_COUNT]; + typedef struct InfoScreen { Rectangle goBackButton; + Camera3D camera; + int currentEntity; } InfoScreen; void initInfoScreen(Game * game); |