X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fworld.h;h=84235ce42d2622a3dab38577c8b0bc1a5d3d2bf5;hb=eb96a1dfe83cef7f3d1c0c73e03b915caca09db8;hp=56a5f282fa8592218846b3540616e3be190f8e67;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue diff --git a/src/server/world.h b/src/server/world.h index 56a5f28..84235ce 100644 --- a/src/server/world.h +++ b/src/server/world.h @@ -7,7 +7,7 @@ #define MAIN_H #include /* 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.*/ @@ -31,7 +33,6 @@ struct World uint16_t replay; /* Turn up to which to replay game. No replay if zero. */ uint16_t turn; /* Current game turn. */ uint16_t last_update_turn; /* Last turn the .path_out file was updated. */ - uint16_t score; /* Player's score. */ uint8_t is_verbose; /* Should server send debugging info to stdout? */ uint8_t map_obj_count; /* Counts map objects generated so far. */ };