enlightenment revamp, part I (trunk only)

Groundwork for re-doing ^X so that it'll be more integrated with
enlightenment and display bottom line information without abbreviations
or long-line truncation.  `mode' doesn't do anything yet so may provoke
lint complaints.
This commit is contained in:
nethack.rankin
2008-01-21 16:40:56 +00:00
parent f2d37bac2e
commit 33c14ba523
8 changed files with 29 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)end.c 3.5 2007/05/12 */
/* SCCS Id: @(#)end.c 3.5 2008/01/19 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -398,7 +398,8 @@ boolean taken;
c = ask ? yn_function("Do you want to see your attributes?",
ynqchars, defquery) : defquery;
if (c == 'y')
enlightenment(how >= PANICKED ? 1 : 2); /* final */
enlightenment((BASICENLIGHTENMENT|MAGICENLIGHTENMENT),
(how >= PANICKED) ? ENL_GAMEOVERALIVE : ENL_GAMEOVERDEAD);
if (c == 'q') done_stopprint++;
}