int main(int argc, char **argv) { // save arguments myargc = argc; myargv = argv; #ifdef _WIN32_WCE // Windows CE has no environment, but SDL provides an implementation. // Populate the environment with the values we normally find. PopulateEnvironment(); #endif // Only schedule on a single core, if we have multiple // cores. This is to work around a bug in SDL_mixer. LockCPUAffinity(); // start doom D_DoomMain (); return 0; }
int main(int argc, char **argv) #endif { // save arguments myargc = argc; myargv = argv; #ifdef _USE_STEAM_ // [SVE] svillarreal - initialize steam if(I_SteamCheckForRestart()) return 1; I_SteamInit(); I_AtExit(I_SteamShutdown, true); #endif // Only schedule on a single core, if we have multiple // cores. This is to work around a bug in SDL_mixer. // [SVE]: this should not be needed any more. #if 0 LockCPUAffinity(); #endif M_FindResponseFile(); // [SVE] svillarreal - init parser and ffmpeg M_ParserInit(); // start doom D_DoomMain(); return 0; }
int main(int argc, char **argv) { // save arguments myargc = argc; myargv = argv; // Only schedule on a single core, if we have multiple // cores. This is to work around a bug in SDL_mixer. LockCPUAffinity(); M_FindResponseFile(); // start doom D_DoomMain (); return 0; }