X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=moving.c;h=887977afc6fbca9be2088b9acec2922bceb52ff1;hb=5952a98d5a83ad6ed9dfe7821ed427504f280af1;hp=4f2af10ad9dd8cba777d127e3c1ce495b4310464;hpb=2e65db78c58369f165c7d5c4edc849300a2d7f53;p=super-star-trek.git diff --git a/moving.c b/moving.c index 4f2af10..887977a 100644 --- a/moving.c +++ b/moving.c @@ -1,6 +1,5 @@ -#include "conio.h" -#include "sstlinux.h" #include +#include "sstlinux.h" #include "sst.h" static void getcd(int, int); @@ -107,7 +106,7 @@ void imove(void) { quady = (iy+9)/10; sectx = ix - 10*(quadx-1); secty = iy - 10*(quady-1); - proutn("\n\rEntering %s.", + prout("\n\rEntering %s.", cramlc(quadrant, quadx, quady)); game.quad[sectx][secty] = ship; newqad(0); @@ -209,9 +208,7 @@ label100: } newcnd(); iattak = 0; -#ifdef SERGEEV drawmaps(0); -#endif /* SERGEEV */ return; } @@ -989,16 +986,16 @@ void help(void) { textcolor(RED); prout("fails."); delay(500); - textcolor(LIGHTGRAY); + textcolor(DEFAULT); } if (l > 3) { finish(FMATERIALIZE); return; } game.quad[ix][iy]=ship; - textcolor(WHITE); + textcolor(GREEN); prout("succeeds."); - textcolor(LIGHTGRAY); + textcolor(DEFAULT); dock(0); skip(1); prout("Lt. Uhura- \"Captain, we made it!\"");