From: PatR Date: Wed, 16 Dec 2020 10:49:00 +0000 (-0800) Subject: extra ^X feedback X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f0e47fd0c34ee935a6d0d542ef1dd0cd437a515;p=nethack extra ^X feedback Report "abnormal" play (wizard mode or explore mode) in ^X output or end of game dumplog. Omitted for normal play. --- diff --git a/src/insight.c b/src/insight.c index 519a64be4..b95791968 100644 --- a/src/insight.c +++ b/src/insight.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 insight.c $NHDT-Date: 1596334662 2020/08/02 02:17:42 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.22 $ */ +/* NetHack 3.7 insight.c $NHDT-Date: 1608115734 2020/12/16 10:48:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.23 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -259,9 +259,7 @@ int final; /* ENL_GAMEINPROGRESS:0, ENL_GAMEOVERALIVE, ENL_GAMEOVERDEAD */ characteristics_enlightenment(mode, final); } /* expanded status line information, including things which aren't - included there due to space considerations--such as obvious - alternative movement indicators (riding, levitation, &c), and - various troubles (turning to stone, trapped, confusion, &c); + included there due to space considerations; shown for both basic and magic enlightenment */ status_enlightenment(mode, final); /* remaining attributes; shown for potion,&c or wizard mode and @@ -270,6 +268,13 @@ int final; /* ENL_GAMEINPROGRESS:0, ENL_GAMEOVERALIVE, ENL_GAMEOVERDEAD */ /* intrinsics and other traditional enlightenment feedback */ attributes_enlightenment(mode, final); } + /* reminder to player and/or information for dumplog */ + if ((mode & BASICENLIGHTENMENT) != 0 && (wizard || discover)) { + enlght_out(""); /* separator */ + enlght_out("Miscellaneous:"); + Sprintf(buf, "running in %s mode", wizard ? "debug" : "explore"); + you_are(buf, ""); + } if (!g.en_via_menu) { display_nhwindow(g.en_win, TRUE);