Message recall window extensions
by <Someone> (the following text accompanies the patch at <Someone>'s web page) add more configurability to the new msg_window option of [..]3.4.0. It allows the configuration option to take an optional parameter to specify the style of message history display to use. allows the following configuration options: msg_window:s - single message (as was the default in 3.3.0) msg_window:c - combination; two messages in 'single', then as 'full' msg_window:f - full window; oldest message first msg_window:r - full window reversed; newest message first In the event of no parameter being provided, the patch is compatible with the current 3.4.0 behaviour: msg_window = 'full' !msg_window = 'single' msg_window can be configured for these options in the Options menu (Shift-O) msg_window stores the current window type in the non-persistent iflags structure, which means that savefile/bones files should be 100% compatible with Vanilla, but at the disadvantage that your customisations to msg_window will be replaced with your defaults.nh (or ~/.nethackrc) value every time you restart a saved game. Credits: The patch draws inspiration (and code snippets) extensively from <Someone>'s original msg_window patch, [...] as well as <Someone>'s code for reverse ordering implemented until recently in Slash'em.
This commit is contained in:
@@ -174,7 +174,7 @@ struct instance_flags {
|
||||
boolean mon_polycontrol; /* debug: control monster polymorphs */
|
||||
#endif
|
||||
#ifdef TTY_GRAPHICS
|
||||
boolean prevmsg_window; /* show more old messages at a time */
|
||||
char prevmsg_window; /* type of old message window to use */
|
||||
boolean extmenu; /* extended commands use menu interface */
|
||||
#endif
|
||||
#ifdef MFLOPPY
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)patchlevel.h 3.4 2002/03/29 */
|
||||
/* SCCS Id: @(#)patchlevel.h 3.4 2002/04/20 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -40,11 +40,16 @@
|
||||
/*****************************************************************************/
|
||||
/* Version 3.4.x */
|
||||
|
||||
/* Patch 1, March 31, 2002
|
||||
* Fix a fatal error involving land mines and boulders/statues
|
||||
* Several message and other glitches corrected
|
||||
/* Patch 1, May 1, 2002
|
||||
* Fix a couple of fatal errors including one for reentering shops, one
|
||||
* involving land mines and boulders/statues, and one for delayed
|
||||
* polymorph
|
||||
* Dozens of general bug fixes
|
||||
* Several message and other glitches corrected
|
||||
* Travel command adjustments and ability to disable travel command
|
||||
* win32: some interface improvements
|
||||
* unix: improved tile support
|
||||
* message recall window extensions (by Christian Cooper)
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user