Make REINCARNATION unconditional.

There is a lot of code affected by this, and Pat Rankin correctly
observes that it would be better to store roguelike as a level flag
rather than just using Is_rogue_level. A note for the future.
This commit is contained in:
Sean Hunt
2015-02-13 23:46:47 -05:00
committed by Pasi Kallinen
parent bb647dc33c
commit ffd201495c
42 changed files with 38 additions and 273 deletions

View File

@@ -1644,12 +1644,7 @@ void NetHackQtMapWindow::paintEvent(QPaintEvent* event)
painter.begin(this);
if (
#ifdef REINCARNATION
Is_rogue_level(&u.uz) ||
#endif
iflags.wc_ascii_map
)
if (Is_rogue_level(&u.uz) || iflags.wc_ascii_map)
{
// You enter a VERY primitive world!
@@ -1730,7 +1725,6 @@ void NetHackQtMapWindow::paintEvent(QPaintEvent* event)
}
if (garea.contains(cursor)) {
#ifdef REINCARNATION
if (Is_rogue_level(&u.uz)) {
#ifdef TEXTCOLOR
painter.setPen( white );
@@ -1738,7 +1732,6 @@ void NetHackQtMapWindow::paintEvent(QPaintEvent* event)
painter.setPen( green ); // REALLY primitive
#endif
} else
#endif
{
int hp100;
if (u.mtimedone) {