Commit graph

17 commits

Author SHA1 Message Date
ehouse
91c1b1246e Replace ints with bools; add rev command; fix bug by reiniting args with each
command so they don't hold previous values.
2007-02-07 13:22:40 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
bdace2be94 shutdown in response to SIGINT 2005-10-23 15:49:48 +00:00
ehouse
e72740d184 add uptime 2005-10-19 03:39:18 +00:00
ehouse
be6769a937 cleanup ctrl printing; repeat most recent command; cleanup internal names. 2005-10-16 01:19:25 +00:00
ehouse
1ad46f9b33 clean up command help 2005-10-15 16:28:26 +00:00
ehouse
4f8626735a print prompt 2005-10-14 08:26:56 +00:00
ehouse
bf1264b2ee rename states so can format to 80 cols; add log level param. No
change to functionality in this checkin.
2005-10-02 16:08:42 +00:00
ehouse
e098e6f7b2 make transmitted vars smaller where possible; new relay identifying
scheme where cookie is used only to connect, and is replaced for
reconnects by a relay-generated name that's supposed to be unique
across all games on all relays and includes a hostname read in from
config file; relay assign non-servers' hostIDs.
2005-10-01 16:33:45 +00:00
ehouse
1afdfa3732 fix print_cookies to use iterator 2005-09-14 05:14:41 +00:00
ehouse
da323ede86 loads of changes: get settings from config file; remove sockets and
kill crefs via state machine, and protect access to a cref so it can
die without another thread being in it; do timers via timeout to
poll() rather than interrupt (and integrate into state machine);
detect when all players are present and change state so new
connections on that cookie will get a new cref.
2005-09-02 06:56:34 +00:00
ehouse
9e572d1743 add several new commands 2005-04-20 11:57:26 +00:00
ehouse
37062d4ab6 mutex replaced by rwlock 2005-04-08 14:17:28 +00:00
ehouse
6baa887b77 add command parsing and dispatch table 2005-03-31 02:20:50 +00:00
ehouse
bf6837a9d0 this file owns thread creation now 2005-03-30 01:52:10 +00:00
ehouse
1ec9e7b851 add cmd to lock/unlock main mutex 2005-03-25 03:24:00 +00:00
ehouse
12b0c74790 first checked in. 2005-03-19 22:16:49 +00:00