X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=sst.c;h=346bb4c740c4a697ed76451183eadf6375f923b9;hb=a96a31750d67dfc0d4636aae4040155f78d5eda8;hp=eb7c8f6cb4303edc7ab08b4b85bbf35c12332adf;hpb=c1bda490aef42a6b3d0e8d97a20fb58236d02ee7;p=super-star-trek.git diff --git a/sst.c b/sst.c index eb7c8f6..346bb4c 100644 --- a/sst.c +++ b/sst.c @@ -227,8 +227,11 @@ static void helpme(void) { fp = fopen(SSTDOC, "r"); if (fp == NULL) { prout("Spock- \"Captain, that information is missing from the"); - prout(" computer. You need to find SST.DOC and put it in the"); - prout(" current directory.\""); + prout(" computer.\""); + /* + * This used to continue: "You need to find SST.DOC and put + * it in the current directory." + */ return; } for (;;) { @@ -258,8 +261,9 @@ static void helpme(void) { fclose(fp); } +void drawmaps(short l) { +/* hook to be called after moving to redraw maps */ #ifdef SERGEEV -void drawmaps(short l){ _setcursortype(_NOCURSOR); if (l==1) sensor(); if (l!=2) setwnd(1); @@ -276,8 +280,8 @@ void drawmaps(short l){ lrscan(); _setcursortype(_NORMALCURSOR); } -} #endif /* SERGEEV */ +} static void makemoves(void) { int i, hitme; @@ -286,9 +290,7 @@ static void makemoves(void) { setwnd(4); #endif /* SERGEEV */ while (TRUE) { /* command loop */ -#ifdef SERGEEV drawmaps(1); -#endif /* SERGEEV */ while (TRUE) { /* get a command */ hitme = FALSE; justin = 0;