]> git.pond.sub.org Git - empserver/blobdiff - include/optlist.h
WIP empdump, %a
[empserver] / include / optlist.h
index b32652acb6e6db79cfa3b2941e64f615fde52f90..083dcd9b98ba4fcbfcb27b9225a0e373335189e1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
@@ -37,7 +37,6 @@
 
 #include "nsc.h"
 
-/* Default econfig file */
 extern char dflt_econfig[];
 
 /* Game parameters, can be set in econfig */
@@ -45,16 +44,16 @@ extern char dflt_econfig[];
 #include "econfig-spec.h"
 #undef EMP_CONFIG_H_OUTPUT
 
-/* Variables that get values derived from econfig */
-extern char *motdfil;
-extern char *downfil;
-extern char *disablefil;
-extern char *banfil;
-extern char *authfil;
-extern char *annfil;
-extern char *timestampfil;
-extern char *teldir;
-extern char *telfil;
+extern char *configdir;
+extern char *builtindir;
+extern char *gamedir;
+extern char *infodir;
+extern char *schedulefil;
+
+extern char motdfil[];
+extern char downfil[];
+extern char annfil[];
+extern char teldir[];
 
 enum {
     KM_ALLOC = 1,              /* memory allocated */
@@ -62,6 +61,12 @@ enum {
     KM_OPTION = 4              /* historically an option */
 };
 
+enum {
+    UPD_DEMAND_NONE,           /* no demand updates */
+    UPD_DEMAND_SCHED,          /* scheduled updates are demand updates */
+    UPD_DEMAND_ASYNC,          /* zdone triggers unscheduled update */
+};
+
 struct keymatch {
     char *km_key;              /* the key */
     nsc_type km_type;          /* type of associated data */