chasing SCom can take an eternity).
5. Probe target you enter is now the destination quadrant. Before I don't
chasing SCom can take an eternity).
5. Probe target you enter is now the destination quadrant. Before I don't
- Mainly, I translated this C code out of FORTRAN into C -- created #defines
- for a lot of magic numbers and refactored the heck out of it.
+Mainly, I translated this C code out of FORTRAN into C -- created #defines
+for a lot of magic numbers and refactored the heck out of it.
1. "sos" and "call" becomes "mayday", "freeze" and "save" are both good.
2. Status report now indicates when dilithium crystals are on board.
1. "sos" and "call" becomes "mayday", "freeze" and "save" are both good.
2. Status report now indicates when dilithium crystals are on board.
static void listCommands(void) {
int i, k = 0;
proutn("LEGAL COMMANDS ARE:");
for (i = 0; i < NUMCOMMANDS; i++) {
static void listCommands(void) {
int i, k = 0;
proutn("LEGAL COMMANDS ARE:");
for (i = 0; i < NUMCOMMANDS; i++) {
v = commands[i].value;
break;
}
if (i < ABANDON && (!commands[i].option || (commands[i].option & game.options)))
break;
for (; i < NUMCOMMANDS; i++)
v = commands[i].value;
break;
}
if (i < ABANDON && (!commands[i].option || (commands[i].option & game.options)))
break;
for (; i < NUMCOMMANDS; i++)
- case EMEXIT: // Emergency exit
- clrscr(); // Hide screen
- freeze(TRUE); // forced save
- exit(1); // And quick exit
+ case EMEXIT: // Emergency exit
+ clrscr(); // Hide screen
+ freeze(TRUE); // forced save
+ exit(1); // And quick exit