16void SystemInit(
const char *commandLine,
const char *configFile);
28void SystemInit(
int argc,
char **argv,
const char *configFile);
void SystemProcessOptions(int argc, char **argv)
Register the system options (host_config and file_order) and process the arguments.
void PadMapInit()
Map players to controller ports for a single controller.
OptionProcessor * SystemOptions()
Report the option processor that SystemInit() runs over the arguments.
void TimerTerminate()
Stop the input polling the clock drives.
String gFileOrder
Value of the file_order option, also the name of the file log.
void PadMapSet(bool multitap, bool secondPort)
Map players to controller ports and slots.
void SystemInit(const char *commandLine, const char *configFile)
Split a command line into arguments and start the systems, as the argument form of SystemInit() does.
bool UsingCD()
Report whether files are read from the disc rather than the host.
DataArray * SystemConfig()
Report the configuration SystemConfigInit() read.
void SystemConfigInit(const char *path, const char *file)
Read the configuration file into SystemConfig().
float gSystemTime
Seconds of cycles counted since TimerInit().
void PadMapTerminate()
Release the controller map.
void TimerPoll()
Advance the clock by the cycles since the last call and poll the input.
void TimerInit()
Measure the cycle counter against the performance counter and reset the clock.
void EmptyRoutine()
Do nothing.
void TimerConfigInit()
Create the named timers the timer array of the configuration lists.
void SystemTerminate()
Stop the systems SystemInit() started and release the configuration.
void SetUsingCD(bool usingCD)
Choose whether files are read from the disc.
int ReturnZero()
Return zero.
Reference-counted array of script data nodes.
Definition dataarray.h:20
Parser of the command line that main() receives.
Definition optionprocessor.h:14
Growable text buffer that is also a PrnStream.
Definition string.h:19