本文整理汇总了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();
}