本文整理匯總了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();
}
示例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 ();
}
示例3: D_PageTicker
//
// D_PageTicker
// Handles timing for warped projection
//
void D_PageTicker(void)
{
if (--pagetic < 0)
{
D_AdvanceDemo();
}
}
示例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();
}
}
示例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 ();
}
示例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 ();
}
示例7: D_StartTitle
//
// D_StartTitle
//
void D_StartTitle (void)
{
gameaction = ga_nothing;
demosequence = -1;
D_AdvanceDemo ();
}
示例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();
}