X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=setup.c;h=8499184ad3d28cbad893732f1a83508c5118dc96;hp=72c2e8402b9d4e41e33e688fe975922933e7d7ca;hb=1268b882a9dc50ce93658979aaf1147b1cfbe11a;hpb=2a83be50e15e057ac9237e5c9bf97bd6d395db39 diff --git a/setup.c b/setup.c index 72c2e84..8499184 100644 --- a/setup.c +++ b/setup.c @@ -467,6 +467,29 @@ int choose(int needprompt) else if (skill == SKILL_NONE) proutn("Are you a Novice, Fair, Good, Expert, or Emeritus player? "); } } + // Choose game options -- added by ESR for SST2K + if (scan() != IHALPHA) { + chew(); + proutn("Choose your game options: "); + scan(); + } + if (isit("plain")) { + // Approximates the UT FORTRAN version. + game.options &=~ (OPTION_THOLIAN | OPTION_PLANETS | OPTION_THINGY | OPTION_PROBE | OPTION_RAMMING | OPTION_MVBADDY | OPTION_BLKHOLE | OPTION_BASE); + game.options |= OPTION_PLAIN; + } + else if (isit("almy")) { + // Approximates Tom Almy's version. + game.options &=~ (OPTION_THINGY | OPTION_BLKHOLE | OPTION_BASE); + game.options |= OPTION_ALMY; + } + else if (isit("fancy")) + /* do nothing */; + else if (strlen(citem)) { + proutn("What is \""); + proutn(citem); + prout("\"?"); + } setpassword(); #ifdef DEBUG if (strcmp(game.passwd, "debug")==0) idebug = 1;