components/prboom/v_video.c
//
// V_Init
//
// Allocates the 4 full screen buffers in low DOS memory
// No return
//
V_Init
Allocates the 4 full screen buffers in low DOS memory
No return
V_Init Allocates the 4 full screen buffers in low DOS memory No return
void V_Init (void)
{
  int  i;
  for (i = 0; i<NUM_SCREENS; i++) {
    screens[i].data = NULL;
    screens[i].not_on_heap = false;
    screens[i].width = 0;
    screens[i].height = 0;
    screens[i].byte_pitch = 0;
    screens[i].short_pitch = 0;
    screens[i].int_pitch = 0;
  }
}
void V_Init ( void ) { int i ; for ( i = 0 ; i < NUM_SCREENS ; i ++ ) { screens [ i ] . data = NULL ; screens [ i ] . not_on_heap = false ; screens [ i ] . width = 0 ; screens [ i ] . height = 0 ; screens [ i ] . byte_pitch = 0 ; screens [ i ] . short_pitch = 0 ; screens [ i ] . int_pitch = 0 ; } }
V_Init
Allocates the 4 full screen buffers in low DOS memory
No return
V_Init Allocates the 4 full screen buffers in low DOS memory No return
// reset the all