]> granicus.if.org Git - nethack/commit
more window port interface adjustments
authornhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 15:09:37 +0000 (10:09 -0500)
committernhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 15:09:37 +0000 (10:09 -0500)
commitc9673b3d9e41e050629626a6c45e54ce313a8c9a
tree41ba508085dca86a557297ffe99aa9ec86e228d6
parent2a9a18fa2f332b37d707c64c076385db1eb77d23
more window port interface adjustments

further adjustments to the window port interface to pass a pointer
to a glyph_info struct which describes not just the glyph number
itself, but also the ttychar, the color, the glyphflags, and the
symset index.

This affects two existing window port calls that get passed glyphs
and does the parameter consistently for both of them using the
glyph_info struct pointer:
print_glyph()
add_menu().

The recently added glyphmod parameter is now unnecessary and has been
removed.
63 files changed:
doc/fixes37.0
doc/window.doc
include/decl.h
include/display.h
include/extern.h
include/winX.h
include/wincurs.h
include/wingem.h
include/winprocs.h
include/wintty.h
include/wintype.h
src/apply.c
src/artifact.c
src/botl.c
src/cmd.c
src/decl.c
src/detect.c
src/display.c
src/do.c
src/do_name.c
src/drawing.c
src/dungeon.c
src/insight.c
src/invent.c
src/nhlua.c
src/o_init.c
src/options.c
src/pager.c
src/pickup.c
src/restore.c
src/role.c
src/spell.c
src/teleport.c
src/weapon.c
src/windows.c
win/Qt/qt_bind.cpp
win/Qt/qt_bind.h
win/Qt/qt_map.cpp
win/Qt/qt_map.h
win/Qt/qt_win.cpp
win/Qt/qt_win.h
win/X11/winX.c
win/X11/winmap.c
win/X11/winmenu.c
win/chain/wc_chainin.c
win/chain/wc_chainout.c
win/chain/wc_trace.c
win/curses/cursdial.c
win/curses/cursdial.h
win/curses/cursinit.c
win/curses/cursinvt.c
win/curses/cursmain.c
win/curses/cursmesg.c
win/curses/cursmisc.c
win/curses/curswins.c
win/share/safeproc.c
win/shim/winshim.c
win/tty/wintty.c
win/win32/mhmap.c
win/win32/mhmenu.c
win/win32/mhmsg.h
win/win32/mswproc.c
win/win32/winMS.h