X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.c;h=96e5edb68b34f4af481980f8c9ca80b134faf68e;hp=021e3d9bef3885a69f8c290e46043ca4d6b9b5ab;hb=a0afd227763655ee0ecd7ef5faea92d63d5c5ba6;hpb=b3d872bf30cc6b7e4a0b88f0580c2f5e35ccaf2d diff --git a/src/sst.c b/src/sst.c index 021e3d9..96e5edb 100644 --- a/src/sst.c +++ b/src/sst.c @@ -162,6 +162,12 @@ for a lot of magic numbers and refactored the heck out of it. type is "plain" or "almy".) 6. User input is now logged so we can do regression testing. + + 7. More BSD-Trek features: You can now lose if your entire crew + dies in battle. When abandoning ship in a game with inhabited + worlds enabled, they must have one in the quadrant to beam down + to; otherwise they die in space and this counts heavily against + your score. Docking at a starbase replenishes your crew. */ /* the input queue */ @@ -463,7 +469,7 @@ static void makemoves(void) dreprt(); break; case CHART: // chart - chart(0); + chart(false); break; case IMPULSE: // impulse impuls(); @@ -564,14 +570,14 @@ static void makemoves(void) if (game.alldone) break; // Events did us in } if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova) { // Galaxy went Nova! - atover(0); + atover(false); continue; } - if (hitme && game.justin==0) { + if (hitme && !game.justin) { attack(2); if (game.alldone) break; if (game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova) { // went NOVA! - atover(0); + atover(false); hitme = true; continue; } @@ -934,6 +940,6 @@ void debugme(void) proutn("Induce supernova here? "); if (ja()) { game.state.galaxy[game.quadrant.x][game.quadrant.y].supernova = true; - atover(1); + atover(true); } }