Joshua Kwan
e541cf9a6f
Any key refreshes, not just 'r'
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@227 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-07 08:42:26 +00:00
Joshua Kwan
939fc7ef8b
Some administrivia... ->1.5pre
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@226 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-06 21:09:37 +00:00
Jilles Tjoelker
92bfc49788
while (true) -> for (;;)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@225 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:50:58 +00:00
Joshua Kwan
7f0a010f23
at Pasi's request add option to change email address.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@224 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:38:17 +00:00
Joshua Kwan
09b7c71f72
attempt to remove the inprogress file on an unclean termination
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@222 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 03:02:19 +00:00
Joshua Kwan
c0afaba270
- remove third argument from ttyplay_main
...
- kludge to not run strip_gfx when stripped == NO_GRAPHICS
- other random fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@221 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 02:55:24 +00:00
Jilles Tjoelker
e4ede2e885
Make ibmgraphics stripping work (decgraphics stripping still doesn't work
...
for me)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@220 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:42:41 +00:00
Joshua Kwan
39100e0631
a few security fixes
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@219 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:28:17 +00:00
Joshua Kwan
f0efefec2f
SECURITY: accept only argument following -f for dgamelaunch.conf path
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@218 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 22:57:54 +00:00
Jilles Tjoelker
142b5d434e
Remove C++ variable declaration after statement.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:51:37 +00:00
Joshua Kwan
38503b374a
allow dynamic switching of graphics stripping
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@216 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:43:12 +00:00
Joshua Kwan
6a0ceb9af0
Fix signed/unsigned char issues in ee.c to quell warnings with other compilers
...
as well as gcc -pedantic
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@215 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 09:58:10 +00:00
Joshua Kwan
9ca4d758a9
bad thinko, remove [^-]
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@214 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:31:48 +00:00
Joshua Kwan
98bc415047
add line number references to all errors
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@213 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:07:21 +00:00
Joshua Kwan
4fc6f54bec
handle unterminated strings a bit better, and negative numbers
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@212 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:03:57 +00:00
Joshua Kwan
d5c7d15202
doh, errno.h for ERANGE
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@211 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 00:30:06 +00:00
Joshua Kwan
56fd9165d0
Let's use getopt..
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@210 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:53:08 +00:00
Joshua Kwan
38d2f7576b
Support unhandled options.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@209 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:46:08 +00:00
Joshua Kwan
d136a3db4a
make error message like the others
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@208 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:45:55 +00:00
Joshua Kwan
ff36a733cf
Warning-fix for -O2
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@207 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 20:45:47 +00:00
Joshua Kwan
474bcfb095
error handling for when yyerror happens and we bounce back into create_config
...
with a NULL myconfig
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@206 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 09:25:22 +00:00
Joshua Kwan
b34e8a4af3
Kludge to detect 'maxusers = 0' and handle f_num > myconfig->max more smoothly
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@205 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:20:28 +00:00
Joshua Kwan
8721002b54
Error handling for negative numbers.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@204 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:10:18 +00:00
Joshua Kwan
1c777df980
Pedantry, c/o paxed
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@203 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-01 08:10:00 +00:00
Joshua Kwan
9072f9c8db
make sure precedence doens't bite ARRAY_SIZE in the ass
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@202 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 08:41:00 +00:00
Joshua Kwan
cdd0377d70
amended Changelog
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@201 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 08:39:46 +00:00
Joshua Kwan
a1369613b5
Unneeded variables now that ccomment() is gone
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@200 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:25:59 +00:00
Joshua Kwan
31ca4349ce
update documentation for -q flag
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@199 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:25:30 +00:00
Joshua Kwan
99e9e4997b
Config file blues.. add silent option on command line
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@198 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:23:02 +00:00
Joshua Kwan
8ef19f7ecc
C-comments are pretty superfluous, remove support for them
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@197 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:22:38 +00:00
Joshua Kwan
8bdb57a194
Fix a little fallout, also notify mailer of failed login...
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@196 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 03:10:03 +00:00
Joshua Kwan
710df809e0
Allow user to login on the spot.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@195 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 03:04:58 +00:00
Joshua Kwan
95d5ec6655
Return to game after mail sending - is done!
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@194 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 02:57:02 +00:00
Jilles Tjoelker
e8f6f8de8e
Return to watching after sending a simplemail message. This behaves like
...
choosing the letter again in the watch menu, as the screen contents are lost
when typing in the message and must be restored.
Tested on my FreeBSD 4.8 machine and the Solaris 9 machine. On the latter,
some problems because dgamelaunch doesn't recognize nethackstub's clear
screen sequence. Continuing watching works on both.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@193 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 21:28:38 +00:00
Jilles Tjoelker
7222c4a282
Clearer error message if h->len is too big. The current value of errno has
...
no meaning here, so don't use perror().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@192 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 20:08:31 +00:00
Joshua Kwan
846f59e3f6
Pull C99 initializers that don't work with Sun compiler :(
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@191 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 17:32:12 +00:00
Joshua Kwan
fb02d3614b
C99 initializers everywhere!
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@190 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 16:47:40 +00:00
Joshua Kwan
d9fc32fa02
Typo fix (rec -> play)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@189 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:57:48 +00:00
Joshua Kwan
71925d116e
Fix some minor fallout.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@188 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:52:23 +00:00
Joshua Kwan
e4383a6174
Ignore .svn now.
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@187 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:50:25 +00:00
Joshua Kwan
6f11c9053a
Regenerate dependencies, function prototypes, remove useless includes, globals,
...
and make code more readable. Move externs into a header file, just tidying up.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@186 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:49:29 +00:00
Joshua Kwan
e4779f7f8a
Header cleanup -- add #ifndef wrapping
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@185 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:28:48 +00:00
Joshua Kwan
faf21b5ac8
Not solely for use on alt.org...
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@184 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:10:14 +00:00
Joshua Kwan
282721fc0b
add a clear() that might be needed in case a process isn't HUPable and we
...
ask the user if he wants to SIGTERM it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@183 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 00:56:46 +00:00
Joshua Kwan
f6f3c63752
Added .cvsignore as ignore file
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@182 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-29 17:50:33 +00:00
Joshua Kwan
aaaa35c525
Fix some stuff related to HUP'ping processes (not completely fixed yet)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@181 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-28 16:31:37 +00:00
Joshua Kwan
6e6be8f40c
re-mention virus and last_char_is.c in COPYING
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@179 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-27 17:31:26 +00:00
Joshua Kwan
2c83144f25
Fix bug in populate_games where only first game would be seen (!)
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@178 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-27 09:05:39 +00:00
Joshua Kwan
beb01998dd
use Emacs keys by default
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@177 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:54:02 +00:00
Joshua Kwan
1547d8cbdc
bail out if you specified a config file, and it's ENOENT - less confusing
...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@176 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:50:13 +00:00