diff options
Diffstat (limited to 'include/map.h')
| -rw-r--r-- | include/map.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/map.h b/include/map.h index 6106dc1..d1587fa 100644 --- a/include/map.h +++ b/include/map.h @@ -3,11 +3,18 @@ #include "raylib.h" #include "raytmx.h" +#include "marker.h" + +#define MAX_MARKERS 25 + typedef struct { TmxMap *map; TmxLayer *wallLayer; TmxLayer *groundLayer; TmxLayer *decorLayer; + + Marker markers[MAX_MARKERS]; + int markersCount; } Map; typedef struct Entities Entities; @@ -20,4 +27,6 @@ void DrawMap(Map *map); void DrawPickups(Entities *entities, Map *map); void DrawKeys(Entities *entities, Map *map); +Marker *FindMarker(Map *map, const char *name); + void UnloadMap(Map *map); |
