Odamex
Setting the Standard in Multiplayer Doom
client/sdl/hardware.cpp File Reference

Functions

 EXTERN_CVAR (vid_fps) EXTERN_CVAR(vid_ticker) EXTERN_CVAR(vid_fullscreen) EXTERN_CVAR(vid_overscan) CVAR_FUNC_IMPL(vid_winscale)
 CVAR_FUNC_IMPL (vid_overscan)
void STACK_ARGS I_ShutdownHardware ()
void I_InitHardware ()
void I_BeginUpdate ()
 Remaining code is common to Win32 and Linux.
void I_FinishUpdateNoBlit ()
void I_FinishUpdate ()
void I_ReadScreen (byte *block)
void I_SetPalette (DWORD *pal)
void I_SetWindowCaption (void)
void I_SetWindowIcon (void)
void I_ScreenShot (const char *filename)
 BEGIN_COMMAND (screenshot)
 END_COMMAND (screenshot) void I_SetOldPalette(byte *doompalette)
EDisplayType I_DisplayType ()
bool I_SetOverscan (float scale)
void I_SetMode (int &width, int &height, int &bits)
bool I_CheckResolution (int width, int height, int bits)
void I_ClosestResolution (int *width, int *height, int bits)
bool I_CheckVideoDriver (const char *name)
void I_StartModeIterator (int bits)
bool I_NextMode (int *width, int *height)
DCanvasI_AllocateScreen (int width, int height, int bits, bool primary)
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)
 BEGIN_COMMAND (vid_listmodes)
 END_COMMAND (vid_listmodes) BEGIN_COMMAND(vid_currentmode)
 END_COMMAND (vid_currentmode) VERSION_CONTROL(hardware_cpp

Variables

constate_e ConsoleState
int NewWidth
int NewHeight
int NewBits
int DisplayBits
DWORD IndexedPalette [256]

Function Documentation

BEGIN_COMMAND ( screenshot  )
BEGIN_COMMAND ( vid_listmodes  )
CVAR_FUNC_IMPL ( vid_overscan  )
END_COMMAND ( vid_currentmode  )
END_COMMAND ( screenshot  )
END_COMMAND ( vid_listmodes  )
EXTERN_CVAR ( vid_fps  )
DCanvas* I_AllocateScreen ( int  width,
int  height,
int  bits,
bool  primary 
)
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  bits 
)
bool I_CheckVideoDriver ( const char *  name)
void I_ClosestResolution ( int *  width,
int *  height,
int  bits 
)
EDisplayType I_DisplayType ( )
void I_FinishUpdate ( void  )
void I_FinishUpdateNoBlit ( void  )
void I_FreeScreen ( DCanvas canvas)
void I_InitHardware ( )
void I_LockScreen ( DCanvas canvas)
bool I_NextMode ( int *  width,
int *  height 
)
void I_ReadScreen ( byte block)
void I_ScreenShot ( const char *  filename)
void I_SetMode ( int &  width,
int &  height,
int &  bits 
)
bool I_SetOverscan ( float  scale)
void I_SetPalette ( DWORD pal)
void I_SetWindowCaption ( void  )
void I_SetWindowIcon ( void  )
void STACK_ARGS I_ShutdownHardware ( )
void I_StartModeIterator ( int  bits)
void I_UnlockScreen ( DCanvas canvas)

Variable Documentation

int NewBits
int NewHeight
int NewWidth
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends