home · contact · privacy
Added diagonal movement, with a 1.4 penalty.
[plomrogue] / src / server / map.c
index f46b03e99fc30c1227c1e91636e418039d7fe895..2969b6dd4f9d551c40ebd3e7e7879989f0fea635 100644 (file)
@@ -2,7 +2,6 @@
 
 #include "map.h"
 #include <stdint.h> /* uint8_t, uint16_t, uint32_t */
-#include "../common/map.h" /* struct Map */
 #include "../common/try_malloc.h" /* try_malloc() */
 #include "../common/yx_uint16.h" /* struct yx_uint16 */
 #include "rrand.h" /* rrand() */
@@ -13,8 +12,6 @@
 extern void init_map()
 {
     char * f_name = "init_map()";
-    world.map.size.x = 64;
-    world.map.size.y = 64;
     uint32_t size = world.map.size.x * world.map.size.y;
     world.map.cells = try_malloc(size, f_name);
     uint16_t y, x;