X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.c;h=2d454cbace8a96052649698ced7137770730ec8d;hb=0494866db0a61c4111d1fb15836cea9b8c1a9d97;hp=3d394c67b4da2097edf5f027d119589227e3c5e3;hpb=8629b4a298e31f81ba0db0debb4796356c3966c7;p=super-star-trek.git diff --git a/sst.c b/sst.c index 3d394c6..2d454cb 100644 --- a/sst.c +++ b/sst.c @@ -508,9 +508,9 @@ 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; + game.options |= OPTION_CURSES | OPTION_SHOWME; else game.options |= OPTION_TTY; @@ -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(); @@ -751,7 +751,6 @@ void debugme(void) for (i=0; i < NDEVICES; i++) if (game.damage[i] > 0.0) game.damage[i] = 0.0; - stdamtim = 1e30; } proutn("Toggle idebug? "); if (ja() != 0) { @@ -770,7 +769,6 @@ void debugme(void) key = scan(); if (key == IHALPHA && isit("y")) { game.damage[i] = 10.0; - if (i == DRADIO) stdamtim = game.state.date; } } } @@ -779,7 +777,7 @@ void debugme(void) int i; for (i = 1; i < NEVENTS; i++) { int key; - if (game.future[i] == 1e30) continue; + if (game.future[i] == FOREVER) continue; switch (i) { case FSNOVA: proutn("Supernova "); break; case FTBEAM: proutn("T Beam "); break;