X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Fsst.c;h=95ab355dadb846d11bf906a4757b8644d28c91cd;hb=fbb4aa04129c7e9fbe17428c5e151d4afbdd039e;hp=7fbbfc2ef558af029e37e827537410314a35ef4f;hpb=4c3ff8ac78499d53339de7d67081e99582a9fb75;p=super-star-trek.git diff --git a/src/sst.c b/src/sst.c index 7fbbfc2..95ab355 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 */ @@ -909,20 +915,23 @@ void debugme(void) chew(); proutn("In quadrant- "); key = scan(); - if (key != IHREAL) { - prout("Event %d canceled, no y coordinate.", i); - unschedule(i); - continue; - } - w.y = (int)aaitem; - key = scan(); - if (key != IHREAL) { - prout("Event %d canceled, no x coordinate.", i); - unschedule(i); - continue; + /* IHEOL says to leave coordinates as they are */ + if (key != IHEOL) { + if (key != IHREAL) { + prout("Event %d canceled, no x coordinate.", i); + unschedule(i); + continue; + } + w.x = (int)aaitem; + key = scan(); + if (key != IHREAL) { + prout("Event %d canceled, no y coordinate.", i); + unschedule(i); + continue; + } + w.y = (int)aaitem; + ev->quadrant = w; } - w.x = (int)aaitem; - ev->quadrant = w; } } }