home · contact · privacy
Applied new style and documentation rules to the "windows" library, also performing...
[plomrogue] / src / map.c
index 6ee67746da9f398d5fb411f49d7e07ad44b3aa04..394f818c48a3876a9ddb445ad4fc3f44b57fe3e2 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -1,8 +1,8 @@
 #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.
@@ -48,4 +48,3 @@ void map_center_player (struct Map * map, struct Player * player, struct yx_uint
 // 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); }
-