Files
nethack/outdated/win/gnome
nhmall 6c0ae092c6 distinguish global variables that get written to savefile
The g? structs had a mix of variables that were written to
the savefile, and those that were not.

For better clarity and to distinguish those that end up in
the savefile, relocate some g? variables that get written
directly to the savefile into different structs.

This updates EDITLEVEL, although technically it probably
didn't need to, since savefile contents are not changing.

Details:

    gb.bases            -> svb.bases
    gb.bbubbles         -> svb.bbubbles
    gb.branches         -> svb.branches
    gc.context          -> svc.context
    gd.disco            -> svd.disco
    gd.dndest           -> svd.dndest
    gd.doors            -> svd.doors
    gd.doors_alloc      -> svd.doors_alloc
    gd.dungeon_topology -> svd.dungeon_topology
    gd.dungeons         -> svd.dungeons
    ge.exclusion_zones  -> sve.exclusion_zones
    gh.hackpid          -> svh.hackpid
    gi.inv_pos          -> svi.inv_pos
    gk.killer           -> svk.killer
    gl.lastseentyp      -> svl.lastseentyp
    gl.level            -> svl.level
    gl.level_info       -> svl.level_info
    gm.mapseenchn       -> svm.mapseenchn
    gm.moves            -> svm.moves
    gm.mvitals          -> svm.mvitals
    gn.n_dgns           -> svn.n_dgns
    gn.n_regions        -> svn.n_regions
    gn.nroom            -> svn.nroom
    go.oracle_cnt       -> svo.oracle_cnt
    gp.pl_character     -> svp.pl_character
    gp.pl_fruit         -> svp.pl_fruit
    gp.plname           -> svp.plname
    gp.program_state    -> svp.program_state
    gq.quest_status     -> svq.quest_status
    gr.rooms            -> svr.rooms
    gs.sp_levchn        -> svs.sp_levchn
    gs.spl_book         -> svs.spl_book
    gt.timer_id         -> svt.timer_id
    gt.tune             -> svt.tune
    gu.updest           -> svu.updest
    gx.xmax             -> svx.xmax
    gx.xmin             -> svx.xmin
    gy.ymax             -> svy.ymax
    gy.ymin             -> svy.ymin

Related note:
There are some pointer variables that are heads of chains that were not
moved from 'g?' to 'sv?', because they are not actually written to the
savefile directly, but the objects/monst/trap/lightsource/timer in the
chains they point to are. That can be changed, if desired.
Examples: gi.invent, gm.migrating_objs, gb.billobjs, gm.migrating_mons,
          gf.ftrap, gl.light_base, gt.timer_base
2024-07-13 14:57:50 -04:00
..
2022-11-01 12:52:22 -04:00
2023-11-22 16:01:58 -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.