Commit Graph
64 Commits
Author SHA1 Message Date
nethack.allison 14ec6fe03b some 3.4.1 preparation
Update patchlevel.h
Update some strings from 3.4.0 to 3.4.1.
2002-03-29 06:30:33 +00:00
jwalz d98c30d989 <Someone>'s new files. 2002-03-20 03:50:49 +00:00
jwalz 931e38a6d7 <Someone>'s gem changes. 2002-03-20 03:45:07 +00:00
nethack.allison 742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.allison cb6a93641b Adjust window-port related option processing
to allow common parsing in the core, and direct access to the
results by the window port.

Notes:

o Adds a new field, wincap, to the window_procs
structure for setting bits related to the preference
features that the window port supports.  This allows
run-time determination of whether a particular option
setting is applicable to the running window port.  A
window-port is free to support as many, or as few,
of the available options as it wants.  Ensure that
only the ones supported have their corresponding bit
set in window_proc.wincap. [see chart in
doc/window.doc for help with that.]

o The settings I stuck into wincap for each window
port are almost certainly not accurate, so each port
team should review them.  You should only include
the ones that you will actually react to and make
adjustments for if the user changes that option.
Without the setting in wincap, the option won't even
show up in the 'O'ptions menu.

o preference_update() added to the window-port
interface, so that the window-port can be notified
if an option of interest (an option with its
corresponding bit set in wincap field) is
changed.

o provided a genl_preference_update() routine in
windows.c and used it for all the existing
window ports since they don't have a functional
one of their own yet.

o this messes around heavily with iflags and the options
arrays in options.c

o I hope I didn't break any port's existing code. I
tried not to.  The Mac however, in particular, should
be looked at because it suffered a namespace collision
with what I was working on around fontname.  It had
Mac specific font stuff in options.c. Please test
the Mac.
2002-02-03 05:31:47 +00:00
jwalz 41eabacf16 *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz 39f77c14e6 *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz e9a6dfe268 *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz 5fa5f3bba7 *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz 645b71c442 *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz 27fbb7c86a *** empty log message *** 2002-01-05 21:06:01 +00:00
jwalz 7e0b846585 *** empty log message *** 2002-01-05 21:06:00 +00:00
jwalz 3502ed20fc *** empty log message *** 2002-01-05 21:06:00 +00:00
jwalz 69afbd6169 *** empty log message *** 2002-01-05 21:06:00 +00:00