empserver/src
Markus Armbruster d89c268b8b (keymatch): Replace member km_func by km_type. Initializers adapted.
(emp_config, print_config): Cope with km_type.
(worldxset, intset, floatset, optstrset, doubleset, longset): Unused,
remove.

(emp_config): Fail if specified file can't be read or contains errors.
Used to succeed always, returning RET_OK.  RET_OK is not appropriate,
since this is not a command.  Return 0 on success, -1 on failure.
Callers ignore failure at the moment.  A missing or unreadable econfig
file used to be silently ignored.  It is still ignored, but no longer
silently.  It is questionable whether ignoring is wise, but that's
left for another day.

(emp_config): Improve diagnostic messages.

(set_option): Move diagnostics to caller.

(emp_config): Ignore leading whitespace in `#' comment lines.

(print_config): Simplify printing of km_comment.

(set_option): New parameter val, so it can set and clear options.
(delete_option): Remove.

(KM_ALLOC): Turn macro into enumeration constant.

(KM_INTERNAL): New.
(xdump, xdver): New version dump.

(keymatch, infodir, datadir, teldir, upfil, downfil, disablefil,
telfil, annfil, banfil, timestampfil, privname, privlog, update_times,
update_demandtimes, game_days, game_hours): Use plain char * instead
of s_char * for strings, void * for generic pointers.
2004-09-04 08:07:51 +00:00
..
client (fnlist): Move from misc.h to fnlist.h, where it belongs and has 2004-02-24 18:34:25 +00:00
doconfig (safe_getcwd): New. When getcwd() is known to be able to allocate its 2004-03-01 07:07:27 +00:00
lib (keymatch): Replace member km_func by km_type. Initializers adapted. 2004-09-04 08:07:51 +00:00
scripts caddr_t is obsolete. Replace by void *, except for struct empfile 2004-08-23 18:29:44 +00:00
server (PLANENAMES, opt_PLANENAMES, Options, plchrstr, plchr_ca, plchr, 2004-08-21 06:48:34 +00:00
util (PRI_SMAINT, PRI_PMAINT, PRI_LMAINT, PRI_SBUILD, PRI_PBUILD, 2004-08-19 16:59:36 +00:00
.cvsignore List generated files and directories that CVS doesn't ignore by 2003-10-04 14:54:09 +00:00
make.defs Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00
make.rules Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00