X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=sst.c;h=330d8de7a5256a7e01904014bad5b28ef2d763bf;hp=050f670edea5668ecae1469b4fe95ad5f9e115f9;hb=93ede5b2bb8928b8aa17e750f48e6c5e59b81ab1;hpb=6ce608e874cf60dffe59fdbdedfb74e13f78382c diff --git a/sst.c b/sst.c index 050f670..330d8de 100644 --- a/sst.c +++ b/sst.c @@ -78,7 +78,8 @@ SERGEEV, not yet merged): There are other minor adjustments to what yields an attack and what does not. - 10. Ramming a black hole is no longer instant death. + 10. Ramming a black hole is no longer instant death. There is a + chance you might get timewarped instead. */ @@ -199,6 +200,27 @@ static void helpme(void) { fclose(fp); } +#ifdef SERGEEV +void drawmaps(short l){ + _setcursortype(_NOCURSOR); + if (l==1) sensor(); + if (l!=2) setwnd(1); + gotoxy(1,1); + strcpy(line,"s"); + srscan(1); + if (l!=2){ + setwnd(2); + clrscr(); + srscan(2); + setwnd(3); + clrscr(); + strcpy(line,"l"); + lrscan(); + _setcursortype(_NORMALCURSOR); + } +} +#endif /* SERGEEV */ + static void makemoves(void) { int i, hitme; while (TRUE) { /* command loop */