Files
nethack/win/gnome
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
..
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00
2002-01-05 21:06:01 +00:00

This directory contains the windowing code written for GnomeHack. The NetHack
devteam is in the process of making it part of the normal distribution.  
It should be noted that this is still work in progress and that there are
still problems with this code.  So use at your own risk.  Of course any
contributions, especially bug fixes, are more than welcome!

These files are based on the files from GnomeHack 1.0.5 by Erik Andersen.
Some files have been renamed to fit into 8.3 name constraints (yuk!).
These are:

	GnomeHack.h			gnomeprv.h
	GnomeHackAskStringDialog.c	gnaskstr.c
	GnomeHackAskStringDialog.h	gnaskstr.h
	GnomeHackBind.c			gnbind.c
	GnomeHackBind.h			gnbind.h
	GnomeHackGlyph.c		gnglyph.c
	GnomeHackGlyph.h		gnglyph.h
	GnomeHackMainWindow.c		gnmain.c
	GnomeHackMainWindow.h		gnmain.h
	GnomeHackMapWindow.c		gnmap.c
	GnomeHackMapWindow.h		gnmap.h
	GnomeHackMenuWindow.c		gnmenu.c
	GnomeHackMenuWindow.h		gnmenu.h
	GnomeHackMessageWindow.c	gnmesg.c
	GnomeHackMessageWindow.h	gnmesg.h
	GnomeHackPlayerSelDialog.c	gnplayer.c
	GnomeHackPlayerSelDialog.h	gnplayer.h
	GnomeHackSettings.c		gnopts.c
	GnomeHackSettings.h		gnopts.h
	GnomeHackSignals.c		gnsignal.c
	GnomeHackSignals.h		gnsignal.h
	GnomeHackStatusWindow.c		gnstatus.c
	GnomeHackStatusWindow.h		gnstatus.h
	GnomeHackTextWindow.c		gntext.c
	GnomeHackTextWindow.h		gntext.h
	GnomeHackYesNoDialog.c		gnyesno.c
	GnomeHackYesNoDialog.h		gnyesno.h

Other files have been removed because we don't or can't use them (yet).

	Makefile.am
	Makefile.in
	gnomehack.desktop
	gnomehack.desktop.in

NetHack currently doesn't use autoconf, so the setup for that has not
made the translation.

Note:  All loss in style, elegance, and readability is entirely our fault
and not Erik's.