Odamex
Setting the Standard in Multiplayer Doom
client/sdl/i_video.h File Reference

Go to the source code of this file.

Enumerations

enum  EDisplayType { DISPLAY_WindowOnly, DISPLAY_FullscreenOnly, DISPLAY_Both }

Functions

void I_SetMode (int &width, int &height, int &bits)
void I_SetPalette (DWORD *palette)
void I_SetOldPalette (byte *doompalette)
void I_BeginUpdate (void)
 Remaining code is common to Win32 and Linux.
void I_FinishUpdate (void)
void I_FinishUpdateNoBlit (void)
void I_WaitVBL (int count)
void I_ReadScreen (byte *scr)
void I_BeginRead (void)
void I_EndRead (void)
void I_SetWindowCaption (void)
void I_SetWindowIcon (void)
bool I_CheckResolution (int width, int height, int bpp)
void I_ClosestResolution (int *width, int *height, int bits)
bool I_SetResolution (int width, int height, int bpp)
bool I_CheckVideoDriver (const char *name)
bool I_SetOverscan (float scale)
void I_StartModeIterator (int bits)
bool I_NextMode (int *width, int *height)
DCanvasI_AllocateScreen (int width, int height, int bits, bool primary=false)
void I_FreeScreen (DCanvas *canvas)
void I_LockScreen (DCanvas *canvas)
void I_UnlockScreen (DCanvas *canvas)
void I_Blit (DCanvas *src, int srcx, int srcy, int srcwidth, int srcheight, DCanvas *dest, int destx, int desty, int destwidth, int destheight)
EDisplayType I_DisplayType ()

Variables

BOOL Fullscreen

Enumeration Type Documentation

Enumerator:
DISPLAY_WindowOnly 
DISPLAY_FullscreenOnly 
DISPLAY_Both 

Function Documentation

DCanvas* I_AllocateScreen ( int  width,
int  height,
int  bits,
bool  primary = false 
)
void I_BeginRead ( void  )
void I_BeginUpdate ( void  )

Remaining code is common to Win32 and Linux.

void I_Blit ( DCanvas src,
int  srcx,
int  srcy,
int  srcwidth,
int  srcheight,
DCanvas dest,
int  destx,
int  desty,
int  destwidth,
int  destheight 
)

Video->CanBlit() ||

bool I_CheckResolution ( int  width,
int  height,
int  bpp 
)
bool I_CheckVideoDriver ( const char *  name)
void I_ClosestResolution ( int *  width,
int *  height,
int  bits 
)
EDisplayType I_DisplayType ( )
void I_EndRead ( void  )
void I_FinishUpdate ( void  )
void I_FinishUpdateNoBlit ( void  )
void I_FreeScreen ( DCanvas canvas)
void I_LockScreen ( DCanvas canvas)
bool I_NextMode ( int *  width,
int *  height 
)
void I_ReadScreen ( byte scr)
void I_SetMode ( int &  width,
int &  height,
int &  bits 
)
void I_SetOldPalette ( byte doompalette)
bool I_SetOverscan ( float  scale)
void I_SetPalette ( DWORD palette)
bool I_SetResolution ( int  width,
int  height,
int  bpp 
)
void I_SetWindowCaption ( void  )
void I_SetWindowIcon ( void  )
void I_StartModeIterator ( int  bits)
void I_UnlockScreen ( DCanvas canvas)
void I_WaitVBL ( int  count)

Variable Documentation

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends