MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / CommandLineX

Function CommandLineX

xscreen.cpp:524–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522// having to lose their graphics state or fall back to a -Q loop.
523
524void CommandLineX()
525{
526 char szCommandLine[cchSzMax], *rgsz[MAXSWITCHES];
527 int argc, fT, fPause = fFalse;
528
529 ciCore = ciMain;
530 fT = us.fLoop; us.fLoop = fTrue;
531 argc = NPromptSwitches(szCommandLine, rgsz);
532 is.cchRow = 0;
533 is.fSzInteract = fTrue;
534 if (!FProcessSwitches(argc, rgsz))
535 fPause = fTrue;
536 else {
537 is.fMult = fFalse;
538 FPrintTables();
539 if (is.fMult) {
540 ClearB((pbyte)&us.fCredit,
541 (int)((pbyte)&us.fLoop - (pbyte)&us.fCredit));
542 fPause = fTrue;
543 }
544 }
545
546 is.fSzInteract = fFalse;
547 us.fLoop = fT;
548 ciMain = ciCore;
549 InitColorsX();
550}
551#endif // WIN
552
553

Callers 1

xscreen.cppFile · 0.85

Calls 5

NPromptSwitchesFunction · 0.85
FProcessSwitchesFunction · 0.85
FPrintTablesFunction · 0.85
ClearBFunction · 0.85
InitColorsXFunction · 0.85

Tested by

no test coverage detected