projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We have the framework of the curses interface working.
[super-star-trek.git]
/
events.c
diff --git
a/events.c
b/events.c
index ec3902e2ee71933438b30293e2056753f7fa818e..940ad7b54e126d03834a0b118ca1d02f52c52b4c 100644
(file)
--- a/
events.c
+++ b/
events.c
@@
-580,7
+580,7
@@
void nova(int ix, int iy) {
skip(1);
\r
prout("Force of nova displaces starship.");
\r
iattak=2; /* Eliminates recursion problem */
\r
skip(1);
\r
prout("Force of nova displaces starship.");
\r
iattak=2; /* Eliminates recursion problem */
\r
- move();
\r
+
i
move();
\r
Time = 10.0*dist/16.0;
\r
return;
\r
}
\r
Time = 10.0*dist/16.0;
\r
return;
\r
}
\r
@@
-634,8
+634,8
@@
void snova(int insx, int insy) {
/* it isn't here, or we just entered (treat as inroute) */
\r
if (game.damage[DRADIO] == 0.0 || condit == IHDOCKED) {
\r
skip(1);
\r
/* it isn't here, or we just entered (treat as inroute) */
\r
if (game.damage[DRADIO] == 0.0 || condit == IHDOCKED) {
\r
skip(1);
\r
- prout("Message from Starfleet Command Stardate %
5
.2f", game.state.date);
\r
- prout
n
(" Supernova in %s; caution advised.",
\r
+ prout("Message from Starfleet Command Stardate %.2f", game.state.date);
\r
+ prout(" Supernova in %s; caution advised.",
\r
cramlc(quadrant, nqx, nqy));
\r
}
\r
}
\r
cramlc(quadrant, nqx, nqy));
\r
}
\r
}
\r