projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More presentation bugs.
[super-star-trek.git]
/
sst.c
diff --git
a/sst.c
b/sst.c
index 5dfdabdca07321ce3bfda7d8688840a98c5a97c9..2dca29e412550cde4c44e2c0804f12f7a0b8110d 100644
(file)
--- a/
sst.c
+++ b/
sst.c
@@
-114,9
+114,7
@@
Eric Raymond's changes:
2. Status report now indicates when dilithium crystals are on board.
2. Status report now indicates when dilithium crystals are on board.
- 3. Can now report starbases left in scrscan.
-
- 4. Per Dave Matuszek's remarks, Thingy state is not saved across games.
+ 3. Per Dave Matuszek's remarks, Thingy state is not saved across games.
*/
/* the input queue */
*/
/* the input queue */
@@
-485,14
+483,14
@@
static void makemoves(void)
events();
if (alldone) break; // Events did us in
}
events();
if (alldone) break; // Events did us in
}
- if (game.state.galaxy[quadx][quady]
== SUPERNOVA_PLACE
) { // Galaxy went Nova!
+ if (game.state.galaxy[quadx][quady]
.supernova
) { // Galaxy went Nova!
atover(0);
continue;
}
if (hitme && justin==0) {
attack(2);
if (alldone) break;
atover(0);
continue;
}
if (hitme && justin==0) {
attack(2);
if (alldone) break;
- if (game.state.galaxy[quadx][quady]
== SUPERNOVA_PLACE) {
// went NOVA!
+ if (game.state.galaxy[quadx][quady]
.supernova) {
// went NOVA!
atover(0);
hitme = TRUE;
continue;
atover(0);
hitme = TRUE;
continue;
@@
-749,7
+747,7
@@
void debugme(void)
proutn("Reset damage? ");
if (ja() != 0) {
int i;
proutn("Reset damage? ");
if (ja() != 0) {
int i;
- for (i=0; i <
=
NDEVICES; i++)
+ for (i=0; i < NDEVICES; i++)
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
stdamtim = 1e30;
if (game.damage[i] > 0.0)
game.damage[i] = 0.0;
stdamtim = 1e30;
@@
-763,7
+761,7
@@
void debugme(void)
proutn("Cause selective damage? ");
if (ja() != 0) {
int i, key;
proutn("Cause selective damage? ");
if (ja() != 0) {
int i, key;
- for (i=
1; i <=
NDEVICES; i++) {
+ for (i=
0; i <
NDEVICES; i++) {
proutn("Kill ");
proutn(device[i]);
proutn("? ");
proutn("Kill ");
proutn(device[i]);
proutn("? ");