hangup revamp (trunk only)
[See cvs log for src/cmd.c for more complete description.]
This turns clearlocks() into a no-op during the period when the UNIX
port is asking the user to confirm whether to overwrite an existing game.
Also, this removes the duplication of code and function between hangup()
and end_of_input(), and it simplifies the check for whether hangups are
supported by adding new macro HANGUPHANDLING. (I don't think global.h is
the best place to be defining that but I couldn't figure out where else
it would fit, other than repeating for individual xxxconf.h files.) And
adds a couple more done_hup checks to try to cope with situations where
rhack() is being bypassed. Lastly, having readchar() return EOF was
ignored for non-UNIX configs; now everybody gets ESC instead of letting
EOF be seen further inside the core.
This commit is contained in:
@@ -189,6 +189,8 @@ can't drop part of a stack of N weapons welded to hero's hand
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
-----------------------------------------
|
||||
unix: new -wwindowtype option
|
||||
unix: don't clobber old level files if 2nd hangup/disconnect occurs while
|
||||
reconnected user is responding to the "destroy old game?" prompt
|
||||
win32gui: better handling of "more" prompt for messages that would have scrolled
|
||||
off the window
|
||||
win32gui: set correct checkmark on "Lock Windows" menu item on startup
|
||||
|
||||
Reference in New Issue
Block a user