當前位置: 首頁>>代碼示例>>C++>>正文


C++ D_AdvanceDemo函數代碼示例

本文整理匯總了C++中D_AdvanceDemo函數的典型用法代碼示例。如果您正苦於以下問題:C++ D_AdvanceDemo函數的具體用法?C++ D_AdvanceDemo怎麽用?C++ D_AdvanceDemo使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了D_AdvanceDemo函數的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: D_StartTitle

//
// D_StartTitle
//
void D_StartTitle(void)
{
    gameaction = ga_nothing;
    demosequence = 0;
    SDL_WM_SetCaption(gamedescription, NULL);
    D_AdvanceDemo();
}
開發者ID:gamebytes,項目名稱:doomretro,代碼行數:10,代碼來源:d_main.c

示例2: D_StartTitle

//
// D_StartTitle
//
// [STRIFE]
// haleyjd 09/11/10: Small modifications for new demo sequence.
//
void D_StartTitle (void)
{
    gamestate = GS_DEMOSCREEN;
    gameaction = ga_nothing;
    demosequence = -2;
    D_AdvanceDemo ();
}
開發者ID:M-Code,項目名稱:chocolate-doom,代碼行數:13,代碼來源:d_main.c

示例3: D_PageTicker

//
// D_PageTicker
// Handles timing for warped projection
//
void D_PageTicker(void)
{
    if (--pagetic < 0)
    {
        D_AdvanceDemo();
    }
}
開發者ID:rodrigobmg,項目名稱:64doom,代碼行數:11,代碼來源:d_main.c

示例4: D_PageTicker

//
// D_PageTicker
// Handles timing for warped projection
//
void D_PageTicker(void)
{
    if (!menuactive)
    {
        if (--pagetic < 0)
            D_AdvanceDemo();
        if (!TITLEPIC)
            M_StartControlPanel();
    }
}
開發者ID:gamebytes,項目名稱:doomretro,代碼行數:14,代碼來源:d_main.c

示例5: D_StartTitle

//
// D_StartTitle
//
void D_StartTitle (void)
{
	// CL_QuitNetGame();
	bool firstTime = true;
	if(firstTime)
		atterm (D_Close);

	gameaction = ga_nothing;
	demosequence = -1;
	D_AdvanceDemo ();
}
開發者ID:JohnnyonFlame,項目名稱:odamex,代碼行數:14,代碼來源:d_main.cpp

示例6: D_StartTitle

//
// D_StartTitle
//
void D_StartTitle (void)
{
    gameaction = ga_nothing;
    demosequence = -1;
// *** PID BEGIN ***
// Print status message.
    fprintf(stderr, "***** start title: *****\n");

// Get rid of possible pid mobjs before starting any demos (this only
// matters here if this routine is called because of EndGame from a
// level where there were pid monsters).
// Left-over pid mobjs were being cleared in the level setup for
// the demo, and that was screwing up the demo timing.
    cleanup_pid_list(NULL);
// *** PID END ***

    D_AdvanceDemo ();
}
開發者ID:RobbieJVMW,項目名稱:dockerdoom,代碼行數:21,代碼來源:d_main.c

示例7: D_StartTitle

//
// D_StartTitle
//
void D_StartTitle (void)
{
    gameaction = ga_nothing;
    demosequence = -1;
    D_AdvanceDemo ();
}
開發者ID:jm--,項目名稱:seL4Doom,代碼行數:9,代碼來源:d_main.c

示例8: D_QuitGame

//
// D_QuitGame
//
// [STRIFE] New function
// haleyjd 09/11/10: Sets up the quit game snippet powered by the
// demo sequence.
//
void D_QuitGame(void)
{
    gameaction = ga_nothing;
    demosequence = -4;
    D_AdvanceDemo();
}
開發者ID:M-Code,項目名稱:chocolate-doom,代碼行數:13,代碼來源:d_main.c


注:本文中的D_AdvanceDemo函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。