]> granicus.if.org Git - nethack/commit
curses splash/copyright screen, role prompt
authorPatR <rankin@nethack.org>
Sun, 30 Dec 2018 02:38:30 +0000 (18:38 -0800)
committerPatR <rankin@nethack.org>
Sun, 30 Dec 2018 02:38:30 +0000 (18:38 -0800)
commitd418008b31109b70c812dcd5a810d5bd646fd656
tree8d50abcdfab1bb9f50c0f5d7bfbfd624f42e2f0a
parent9a9f76bf5c908657d6635d8473863f724aa9f12d
curses splash/copyright screen, role prompt

Back out '#include "date.h"' so that cursinit.c won't be recompiled
every time any other file(s) need to be compiled.  It doesn't need
patchlevel.h either.  There is already a straightforward way to fetch
the copyright banner lines from version.c.

The splash screen (ascii art spelling "NetHack" preceding the normal
copyright lines) was invisible when showing white text on white-ish
background.  Make it honor !guicolor.

"Shall I pick a character's role, race, gender and alignment for you?
 [ynaq] (y) " was too wide to accept the answer on the same line on
an 80-column display so "(y) " was placed on the second line.  That's
constructed in the core; change the construction to omit " a" when
using "character" rather than a role name.  (tty shortens it by omitting
the default " (y)"; with " a" gone, it could revert to normal prompt.)

Also a bit of lint cleanup and some reformatting of cursinit.c....
src/role.c
src/version.c
sys/unix/Makefile.src
win/curses/cursinit.c
win/curses/cursinvt.c