Color is working.
[super-star-trek.git] / moving.c
index 4f2af10ad9dd8cba777d127e3c1ce495b4310464..887977afc6fbca9be2088b9acec2922bceb52ff1 100644 (file)
--- a/moving.c
+++ b/moving.c
@@ -1,6 +1,5 @@
-#include "conio.h"
-#include "sstlinux.h"
 #include <unistd.h>
+#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!\"");