NAME
lineBuffer -- global line buffer.
NOTES
2 is there to prevent buffer overflows.
SOURCE
char lineBuffer[2 * LINE_BUFFER_SIZE];
NAME
productname -- things a planet can produce.
SOURCE
char *productname[] = {
"CAP", "MAT", 0, "Drive", "Weapons", "Shields", "Cargo",
};
NAME
logFile --
SOURCE
FILE *logFile = NULL;
NAME
logLevel -- specifies the level of detail in log files.
SOURCE
int logLevel = LFULL;
NAME
galaxynghome -- path to all data files
SOURCE
char *galaxynghome = NULL;
NAME
tempdir -- path to the directory used to store temporary files.
SOURCE
char *tempdir = NULL;
NAME
options -- options available to players.
FUNCTION
Associative array to look-up option flag by option names.
SOURCE
struct option options[] = {
{"address", F_ANONYMOUS},
{"autoUnload", F_AUTOUNLOAD},
{"prodTable", F_PRODTABLE},
{"sortGroups", F_SORTGROUPS},
{"groupForeCast", F_GROUPFORECAST},
{"planetForeCast", F_PLANETFORECAST},
{"shipTypeForecast", F_SHIPTYPEFORECAST},
{"routesForecast", F_ROUTESFORECAST},
{"compress", F_COMPRESS},
{"gplus", F_GPLUS},
{"machineReport", F_MACHINEREPORT}, /* CB 1998 - Experimental */
{"battleProtocol", F_BATTLEPROTOCOL},
{"xmlReport", F_XMLREPORT}, /* KDW 2003 */
{"txtReport", F_TXTREPORT},
{NULL, 0}
};