home · contact · privacy
Unify Map struct common to server and client in src/common/map.h.
[plomrogue] / src / server / world.h
index ed019f2fb25742f9e64b944d9eef71b3ac723119..732c8107c231118d0966171d7877cf89524d30de 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <stdint.h> /* uint8_t, uint16_t, uint32_t */
 #include <stdio.h> /* define FILE */
-#include "map.h" /* struct Map */
+#include "../common/map.h" /* struct Map */
 struct MapObjDef;
 struct MapObjAct;
 struct MapObj;
@@ -40,6 +40,7 @@ struct World
     uint8_t player_type; /* Map object type that player will start as. */
     uint8_t is_verbose; /* Should server send debugging info to stdout? */
     uint8_t map_obj_count; /* Counts map objects generated so far. */
+    uint8_t enemy_fov; /* != 0 if non-player actors only see field of view. */
 };
 
 extern struct World world;