From 665b7ab04d99076511156ac4da537f0fa144d268 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 Feb 2005 04:47:57 +0000 Subject: [PATCH] Added OPTION_SHOWME. --- reports.c | 11 +++++++++-- sst.c | 2 +- sst.h | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/reports.c b/reports.c index d4b1f63..ed1a144 100644 --- a/reports.c +++ b/reports.c @@ -208,7 +208,10 @@ void chart(int nn) proutn("%d |", i); for_quadrants(j) { char buf[4]; - proutn(" "); + if ((game.options & OPTION_SHOWME) && i == quady && j == quadx) + proutn("<"); + else + proutn(" "); if (game.state.galaxy[i][j].supernova) strcpy(buf, "***"); else if (!game.state.galaxy[i][j].charted && game.state.galaxy[i][j].starbase) @@ -221,6 +224,10 @@ void chart(int nn) if (*cp == '0') *cp = '.'; proutn(buf); + if ((game.options & OPTION_SHOWME) && i == quady && j == quadx) + proutn(">"); + else + proutn(" "); } proutn(" |"); if (i