#include "map.h"
#include <stdlib.h>
#include <stdint.h>
-#include "roguelike.h"
-#include "objects_on_map.h"
+#include "misc.h"
+#include "map_objects.h"
struct Map init_map () {
// Initialize map with some experimental start values.
// Center map on player.
map->offset.y = center_offset (player->pos.y, map->size.y, frame_size.y);
map->offset.x = center_offset (player->pos.x, map->size.x, frame_size.x); }
-