MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / main

Function main

src/Engine/Flc.cpp:596–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594
595
596main(int argc, char **argv)
597{ int c;
598
599 flc.loop=0;
600 for(c = 1; argv[c] && (argv[c][0] == '-'); ++c) {
601 if(strcmp(argv[c], "-l") == 0) {
602 printf("Looping mode\n");
603 flc.loop = 1;
604 } else {
605 FlxplayHelp();
606 }
607 }
608 if(!argv[c]) {
609 FlxplayHelp();
610 }
611
612 FlcInit(argv[c]);
613 FlcMain();
614 FlcDeInit();
615 exit(0);
616} /* main */
617#endif
618
619}

Callers

nothing calls this directly

Calls 4

FlxplayHelpFunction · 0.85
FlcInitFunction · 0.85
FlcMainFunction · 0.85
FlcDeInitFunction · 0.85

Tested by

no test coverage detected