X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance?a=blobdiff_plain;f=src%2Fserver%2Finit.h;h=1cc6706f4317f19f2ef757975940aca904c72c25;hb=2a60941d0815c19c11a01943faed931e0b364d4f;hp=bc5c76cf1bae1943f57a0228ce15fdf9248bef20;hpb=273a2b16c82a26b8f6592cfe08162d5714738108;p=plomrogue diff --git a/src/server/init.h b/src/server/init.h index bc5c76c..1cc6706 100644 --- a/src/server/init.h +++ b/src/server/init.h @@ -13,6 +13,9 @@ /* Parses command line arguments -v and -s into server configuration. */ extern void obey_argv(int argc, char * argv[]); +/* Start server in file and out file, latter with server process test string. */ +extern void setup_server_io(); + /* Dissolves old game world if it exists, and generates a new one from "seed". * Unlinks a pre-existing file at world.path_record if called on a world.turn>0, * i.e. if called after iterating through an already established game world. @@ -20,8 +23,7 @@ extern void obey_argv(int argc, char * argv[]); * Map object (action) definitions read in from server config directory are not * affected. world.last_update_turn is set to 0 and world.turn to 1, so that * io_round()'s criteria for updating the output file are triggered even when - * this function is called during a round 1. How many map objects of what type - * id are generated on the map is currently hard-coded. + * this function is called during a round 1. */ extern void remake_world(uint32_t seed);