components/prboom/f_wipe.c
// killough 3/5/98: reformatted and cleaned up
killough 3/5/98: reformatted and cleaned up
killough 3 / 5 / 98 : reformatted and cleaned up
int wipe_ScreenWipe(int ticks)
{
  static boolean go;                               
  if (!go)                                         
    {
      go = 1;
      wipe_scr = screens[0];
      wipe_initMelt(ticks);
    }
  if (wipe_doMelt(ticks))     
    {
      wipe_exitMelt(ticks);
      go = 0;
    }
  return !go;
}
int wipe_ScreenWipe ( int ticks ) { static boolean go ; if ( ! go ) { go = 1 ; wipe_scr = screens [ 0 ] ; wipe_initMelt ( ticks ) ; } if ( wipe_doMelt ( ticks ) ) { wipe_exitMelt ( ticks ) ; go = 0 ; } return ! go ; }
killough 3/5/98: reformatted and cleaned up
killough 3 / 5 / 98 : reformatted and cleaned up
// when zero, stop the wipe // initial stuff // do a piece of wipe-in // final stuff