X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=moving.c;h=887977afc6fbca9be2088b9acec2922bceb52ff1;hb=5952a98d5a83ad6ed9dfe7821ed427504f280af1;hp=537a82b3783224af029230765626621fbefee5d9;hpb=5fd1629b862b1a1bba3f70d4d06ba0b0859ec0e6;p=super-star-trek.git diff --git a/moving.c b/moving.c index 537a82b..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); @@ -987,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!\"");