X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.c;h=1d4ca2feb1d55d33a9e89a00d7a43326c0828f26;hp=7f7bf89497356fbb4071b759907fa93b572c106c;hb=f1af4f83e663d93c704ce0ada75ea4aa9ae3c65b;hpb=665b7ab04d99076511156ac4da537f0fa144d268 diff --git a/sst.c b/sst.c index 7f7bf89..1d4ca2f 100644 --- a/sst.c +++ b/sst.c @@ -82,7 +82,7 @@ Here are Stas Sergeev's changes: chasing SCom can take an eternity). 5. Probe target you enter is now the destination quadrant. Before I don't - remember what it was, but it was something I had difficulty using) + remember what it was, but it was something I had difficulty using. 6. Secret password is now autogenerated. @@ -508,7 +508,7 @@ int main(int argc, char **argv) { int i, option; - game.options = OPTION_ALL &~ OPTION_IOMODES; + game.options = OPTION_ALL &~ (OPTION_IOMODES | OPTION_SHOWME); if (getenv("TERM")) game.options |= OPTION_CURSES | OPTION_SHOWME; else @@ -537,7 +537,7 @@ int main(int argc, char **argv) while (TRUE) { /* Play a game */ setwnd(fullscreen_window); #ifdef DEBUG - prout("INITIAL OPTIONS: %0lx\n", game.options); + prout("INITIAL OPTIONS: %0lx", game.options); #endif /* DEBUG */ clrscr(); prelim(); @@ -797,5 +797,10 @@ void debugme(void) } chew(); } + proutn("Induce supernova here? "); + if (ja() != 0) { + game.state.galaxy[quadx][quady].supernova = TRUE; + atover(1); + } } #endif