projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Color is working.
[super-star-trek.git]
/
moving.c
diff --git
a/moving.c
b/moving.c
index 174cd54b79a84fef6fe64071afb21fd468dd76e1..887977afc6fbca9be2088b9acec2922bceb52ff1 100644
(file)
--- a/
moving.c
+++ b/
moving.c
@@
-1,6
+1,5
@@
-#include "conio.h"
-#include "sstlinux.h"
#include <unistd.h>
#include <unistd.h>
+#include "sstlinux.h"
#include "sst.h"
static void getcd(int, int);
#include "sst.h"
static void getcd(int, int);
@@
-987,16
+986,16
@@
void help(void) {
textcolor(RED);
prout("fails.");
delay(500);
textcolor(RED);
prout("fails.");
delay(500);
- textcolor(
LIGHTGRAY
);
+ textcolor(
DEFAULT
);
}
if (l > 3) {
finish(FMATERIALIZE);
return;
}
game.quad[ix][iy]=ship;
}
if (l > 3) {
finish(FMATERIALIZE);
return;
}
game.quad[ix][iy]=ship;
- textcolor(
WHITE
);
+ textcolor(
GREEN
);
prout("succeeds.");
prout("succeeds.");
- textcolor(
LIGHTGRAY
);
+ textcolor(
DEFAULT
);
dock(0);
skip(1);
prout("Lt. Uhura- \"Captain, we made it!\"");
dock(0);
skip(1);
prout("Lt. Uhura- \"Captain, we made it!\"");