home · contact · privacy
Added diagonal movement, with a 1.4 penalty.
[plomrogue] / src / server / world.h
index 56a5f282fa8592218846b3540616e3be190f8e67..c17fd60be34a652e4c2470b5c789e28e42048a9c 100644 (file)
@@ -7,7 +7,7 @@
 #define MAIN_H
 
 #include <stdint.h> /* uint8_t, uint16_t, uint32_t */
-#include "../common/map.h" /* struct Map */
+#include "map.h" /* struct Map */
 struct MapObjDef;
 struct MapObjAct;
 struct MapObj;
@@ -24,6 +24,8 @@ struct World
     char * path_in; /* Fifo to receive command messages. */
     char * path_out; /* File to write the game state as visible to clients.*/
     char * path_record; /* Record file from which to read the game history. */
+    char * path_map_obj_defs; /* path for map object definitions config file */
+    char * path_map_obj_acts; /* path for map object actions config file */
     char * tmp_suffix; /* Appended to paths of files for their tmp versions. */
     char * queue; /* Stores un-processed messages received via input fifo. */
     uint32_t queue_size;/* Length of .queue sequence of \0-terminated strings.*/