]> granicus.if.org Git - nethack/commit
X11 dynamic map mode selection
authorcohrs <cohrs>
Fri, 3 Oct 2003 02:09:27 +0000 (02:09 +0000)
committercohrs <cohrs>
Fri, 3 Oct 2003 02:09:27 +0000 (02:09 +0000)
commita5c8b517d2355363b7c0dc3da6443bf4bf4d312a
tree230cfb29e268f6fa473f119c011eefea9ed6ef6b
parented8ce13d8fb4c7427ab494949494e8270832214c
X11 dynamic map mode selection
Prompted by a question from Pat a long time back, this change finally allows
tiles or text map mode to be chosen dynamically at runtime (using the
"tiled_map" option) rather than having to pick it via an X resource and
keep your selection until you exit. This brings map mode selection up to a
level similar to most other graphical window ports.
In addition, the map mode automatically switches to text on the Rogue
level, also like other graphical window ports.
The default mode for the X11 binary is now tiles, once again, like most (all?)
other graphical window ports.
The patch also removes some dead X11 code that is unlikely to be useful again.
doc/fixes35.0
include/config.h
include/winX.h
win/X11/NetHack.ad
win/X11/winX.c
win/X11/winmap.c