ScummVM API documentation
Titanic::DirectDraw Class Reference

Public Member Functions

void setDisplayMode (int width, int height, int bpp, int refreshRate)
 
void diagnostics ()
 
DirectDrawSurfacecreateSurfaceFromDesc (const DDSurfaceDesc &desc)
 

Public Attributes

bool _windowed
 
int _width
 
int _height
 
int _bpp
 
int _numBackSurfaces
 

Member Function Documentation

◆ setDisplayMode()

void Titanic::DirectDraw::setDisplayMode ( int  width,
int  height,
int  bpp,
int  refreshRate 
)

Sets a new display mode

◆ diagnostics()

void Titanic::DirectDraw::diagnostics ( )

Logs diagnostic information

◆ createSurfaceFromDesc()

DirectDrawSurface* Titanic::DirectDraw::createSurfaceFromDesc ( const DDSurfaceDesc desc)

Create a surface from a passed description record


The documentation for this class was generated from the following file: