#include "utils.h" #include "settings.h" #ifndef MAP_H #define MAP_H #define MAP_ZOOM_MIN 2.0 #define MAP_ZOOM_MAX 30.0 typedef struct { Rectangle rect; RenderTexture render; Camera2D camera; Vector2 playerPosition; bool isEnabled; bool isFullSize; } Map; void initMap(Map* map, const Settings* settings); void updateMap(Map* map, Game* game); void closeMap(Map* map); #endif