コード例 #1
0
ファイル: i_main.c プロジェクト: Nekrofage/DoomRPi
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;
}
コード例 #2
0
ファイル: i_main.c プロジェクト: Lord-Ptolemy/strife-ve
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;
}
コード例 #3
0
ファイル: i_main.c プロジェクト: LindaLovelace/stm32doom
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;
}