X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Finit.h;h=a906273e613960aa5225c376a566d1c91cf462f4;hb=cc4ed0c49279f08a053a3e3a9a4acba22283a01f;hp=12d0c0876ed80d4020ea4a6800622d560880ef1c;hpb=fd2cb2cba67e6f26bb02b827d9e458524fd1f0d4;p=plomrogue diff --git a/src/server/init.h b/src/server/init.h index 12d0c08..a906273 100644 --- a/src/server/init.h +++ b/src/server/init.h @@ -13,8 +13,15 @@ /* Parses command line arguments -v and -s into server configuration. */ extern void obey_argv(int argc, char * argv[]); +/* Set map geometry and, from config files, map object (action) definitions. */ +extern void init_map_and_map_objects_configs(); + +/* 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 any pre-existing file at world.path_record to re-start record. + * 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. * * 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