ScummVM API documentation
Gob::Video Class Referenceabstract
Inheritance diagram for Gob::Video:
Gob::Video_v1 Gob::Video_v2 Gob::Video_v6

Classes

struct  Color
 
struct  PalDesc
 

Public Member Functions

void initPrimary (int16 mode)
 
SurfacePtr initSurfDesc (int16 width, int16 height, int16 flags=0)
 
void setSize ()
 
void clearScreen ()
 
void retrace (bool mouse=true)
 
void waitRetrace (bool mouse=true)
 
void sparseRetrace (int max)
 
void drawPackedSprite (byte *sprBuf, int16 width, int16 height, int16 x, int16 y, int16 transp, Surface &dest)
 
void drawPackedSprite (const char *path, Surface &dest, int width=320)
 
void setPalColor (byte *pal, byte red, byte green, byte blue)
 
void setPalColor (byte *pal, Color &color)
 
void setPalElem (int16 index, char red, char green, char blue, int16 unused, int16 vidMode)
 
void setPalette (PalDesc *palDesc)
 
void setFullPalette (PalDesc *palDesc)
 
void setPalette (Color *palette)
 
void dirtyRectsClear ()
 
void dirtyRectsAll ()
 
void dirtyRectsAdd (int16 left, int16 top, int16 right, int16 bottom)
 
void dirtyRectsApply (int left, int top, int width, int height, int x, int y)
 
virtual char spriteUncompressor (byte *sprBuf, int16 srcWidth, int16 srcHeight, int16 x, int16 y, int16 transp, Surface &destDesc)=0
 
 Video (class GobEngine *vm)
 

Public Attributes

struct Gob::Video::Color PACKED_STRUCT
 
bool _doRangeClamp
 
int16 _surfWidth
 
int16 _surfHeight
 
int16 _scrollOffsetX
 
int16 _scrollOffsetY
 
SurfacePtr _splitSurf
 
int16 _splitHeight1
 
int16 _splitHeight2
 
int16 _splitStart
 
int16 _screenDeltaX
 
int16 _screenDeltaY
 

Protected Member Functions

void drawPacked (byte *sprBuf, int16 width, int16 height, int16 x, int16 y, byte transp, Surface &dest)
 

Protected Attributes

bool _dirtyAll
 
Common::List< Common::Rect_dirtyRects
 
int _curSparse
 
uint32 _lastSparse
 
GobEngine_vm
 

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