X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.c;h=dc26b35442556fcf1b04a2747ec573f8d1f8c2f7;hp=9e48a03c7d3f05c3c5e223644b544c877c0b0d89;hb=89e52d61fcf689e15a8f831dea084a33ceaa8217;hpb=4db9f58f3d225517845712696e3c58a16e4fb19c diff --git a/sst.c b/sst.c index 9e48a03..dc26b35 100644 --- a/sst.c +++ b/sst.c @@ -2,7 +2,6 @@ #include #include #include -#include "conio.h" #include "sstlinux.h" #include "sst.h" @@ -260,7 +259,7 @@ static void helpme(void) { while (fgets(linebuf, sizeof(linebuf),fp)) { if (strstr(linebuf, "******")) break; - proutc(linebuf); + proutn(linebuf); } fclose(fp); } @@ -493,6 +492,8 @@ int main(int argc, char **argv) { strcat(line, " "); } while (TRUE) { /* Play a game */ + setwnd(FULLSCREEN_WINDOW); + clrscr(); prelim(); setup(line[0] == '\0'); if (alldone) { @@ -513,11 +514,8 @@ int main(int argc, char **argv) { } proutn("Do you want to play again? "); if (!ja()) break; - setwnd(FULLSCREEN_WINDOW); - clrscr(); } skip(1); - ioend(); prout("May the Great Bird of the Galaxy roost upon your home planet."); return 0; }