Files
nethack/outdated/win/gnome
nhmall 02a48aa8cf split g into multiple structures
The consolidation of global variables from scattered source
files into decl.c and declared in decl.h was begun in 3.7.0.
Their placement in common files was done for centralized
initialization and potential re-initialization during a
"play again" scenario.

It wasn't really necessary for all of them to be housed in a
single huge structure to meet the "play again" requirement,
and the single huge structure has been a little unwieldy when
it comes to maintenance.

Following this commit, instead of one single extremely large structure
named 'g' to house all of the relocated global variables, they
are distributed into several ga through gz.

To make things easy for the developer, each variable is placed
into the struct corresponding to the starting letter of the variable.
That way, no lookup is required in order to know which struct houses
a particular variable, it is a simple match to the starting letter
for all the centralized global variables.

A global variable named 'amulets', would be found in ga.
    ga.amulets
     ^ ^
A global varable named 'move', would be found in gm.
    gm.moves
     ^ ^
A global variable named 'val_for_n_or_more' would be found in gv.
    gv.val_for_n_or_more
     ^ ^
A global variable named 'youmonst' would be found in gy.
    gy.youmonst
     ^ ^
2022-11-29 21:53:21 -05:00
..
2022-11-29 21:53:21 -05:00
2022-11-01 12:52:22 -04:00
2022-11-29 21:53:21 -05: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.