SAFERHANGUP
This is an initial round of SAFERHANGUP hangup changes. It introduces SAFERHANGUP, provides the core framework, and enables it for UNIX. Window-port changes are provided for win/tty, win/X11 and win/gnome. Qt changes should be forthcoming after having Warwick look at them. window.doc is updated so windowport maintainers have an clue what needs to be done to support SAFERHANGUP.
This commit is contained in:
@@ -256,6 +256,14 @@
|
||||
#define SUSPEND /* let ^Z suspend the game */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define SAFERHANGUP to delay hangup processing until the main command
|
||||
* loop. 'safer' because it avoids certain cheats and also avoids losing
|
||||
* objects being thrown when the hangup occurs. All unix windowports
|
||||
* support SAFERHANGUP (couldn't define it here otherwise).
|
||||
*/
|
||||
#define SAFERHANGUP
|
||||
|
||||
|
||||
#if defined(BSD) || defined(ULTRIX)
|
||||
#include <sys/time.h>
|
||||
|
||||
Reference in New Issue
Block a user