components/prboom/wi_stuff.c
// ====================================================================
// WI_drawShowNextLoc
// Purpose: Show the next level's location on animated backgrounds
// Args:    none
// Returns: void
//
WI_drawShowNextLoc
Purpose: Show the next level's location on animated backgrounds
Args:    none
Returns: void
WI_drawShowNextLoc Purpose : Show the next level ' s location on animated backgrounds Args : none Returns : void
void WI_drawShowNextLoc(void)
{
  int   i;
  int   last;
  WI_slamBackground();
  WI_drawAnimatedBack();
  if ( gamemode != commercial)
  {
    if (wbs->epsd > 2)
    {
      WI_drawEL();  
      return;
    }
    last = (wbs->last == 8) ? wbs->next - 1 : wbs->last;
    for (i=0 ; i<=last ; i++)
      WI_drawOnLnode(i, &splat);
    if (wbs->didsecret)
      WI_drawOnLnode(8, &splat);
    if (snl_pointeron)
      WI_drawOnLnode(wbs->next, yah);
  }
  if ( (gamemode != commercial)
     || wbs->next != 30)  
  WI_drawEL();
}
void WI_drawShowNextLoc ( void ) { int i ; int last ; WI_slamBackground ( ) ; WI_drawAnimatedBack ( ) ; if ( gamemode != commercial ) { if ( wbs -> epsd > 2 ) { WI_drawEL ( ) ; return ; } last = ( wbs -> last == 8 ) ? wbs -> next - 1 : wbs -> last ; for ( i = 0 ; i <= last ; i ++ ) WI_drawOnLnode ( i , & splat ) ; if ( wbs -> didsecret ) WI_drawOnLnode ( 8 , & splat ) ; if ( snl_pointeron ) WI_drawOnLnode ( wbs -> next , yah ) ; } if ( ( gamemode != commercial ) || wbs -> next != 30 ) WI_drawEL ( ) ; }
WI_drawShowNextLoc
Purpose: Show the next level's location on animated backgrounds
Args:    none
Returns: void
WI_drawShowNextLoc Purpose : Show the next level ' s location on animated backgrounds Args : none Returns : void
// draw animated background // "Entering..." if not E1 or E2 // draw a splat on taken cities. // splat the secret level? // draw flashing ptr // draws which level you are entering.. // check for MAP30 end game