#include "gameCommon.h" #include "entity.h" #include "assets.h" #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; float cameraDistance; 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; Vector2 lastMouse; Quaternion rotation; bool resetMouse; float distance; } InfoScreen; void initInfoScreen(Game * game); void updateInfoScreen(Game * game); void resizeInfoScreen(Game * game, InfoScreen * infoScreen); #endif