components/prboom/d_main.c
/*
 * This cycles through the demo sequences.
 * killough 11/98: made table-driven
 */
This cycles through the demo sequences.
killough 11/98: made table-driven
This cycles through the demo sequences . killough 11 / 98 : made table - driven
void D_DoAdvanceDemo(void)
{
  players[consoleplayer].playerstate = PST_LIVE;  
  advancedemo = usergame = paused = false;
  gameaction = ga_nothing;
  pagetic = TICRATE * 11;         
  gamestate = GS_DEMOSCREEN;
  if (netgame && !demoplayback) {
    demosequence = 0;
  } else
   if (!demostates[++demosequence][gamemode].func)
    demosequence = 0;
  demostates[demosequence][gamemode].func
    (demostates[demosequence][gamemode].name);
}
void D_DoAdvanceDemo ( void ) { players [ consoleplayer ] . playerstate = PST_LIVE ; advancedemo = usergame = paused = false ; gameaction = ga_nothing ; pagetic = TICRATE * 11 ; gamestate = GS_DEMOSCREEN ; if ( netgame && ! demoplayback ) { demosequence = 0 ; } else if ( ! demostates [ ++ demosequence ] [ gamemode ] . func ) demosequence = 0 ; demostates [ demosequence ] [ gamemode ] . func ( demostates [ demosequence ] [ gamemode ] . name ) ; }
This cycles through the demo sequences.
This cycles through the demo sequences .
/* not reborn */ /* killough 11/98: default behavior */