home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-factored server's main() into smaller routines in init.c.
[plomrogue]
/
src
/
server
/
init.h
diff --git
a/src/server/init.h
b/src/server/init.h
index bc5c76cf1bae1943f57a0228ce15fdf9248bef20..a906273e613960aa5225c376a566d1c91cf462f4 100644
(file)
--- a/
src/server/init.h
+++ b/
src/server/init.h
@@
-13,6
+13,12
@@
/* Parses command line arguments -v and -s into server configuration. */
extern void obey_argv(int argc, char * argv[]);
/* 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 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.
/* 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.