ScummVM API documentation
Scumm::TownsScreen Class Reference

Public Types

enum  { kDirtyRectsMax = 20, kFullRedraw = (kDirtyRectsMax + 1) }
 

Public Member Functions

 TownsScreen (OSystem *system)
 
void setupLayer (int layer, int width, int height, int scaleW, int scaleH, int numCol, void *srcPal=0)
 
void clearLayer (int layer)
 
void fillLayerRect (int layer, int x, int y, int w, int h, int col)
 
void addDirtyRect (int x, int y, int w, int h)
 
void toggleLayers (int flags)
 
void scrollLayer (int layer, int offset, int top, int bottom, bool fast)
 
void update ()
 
bool isScrolling (int layer, int direction, int threshold=0) const
 
uint8 * getLayerPixels (int layer, int x, int y) const
 
int getLayerPitch (int layer) const
 
int getLayerWidth (int layer) const
 
int getLayerHeight (int layer) const
 
int getLayerBpp (int layer) const
 
int getLayerScaleW (int layer) const
 
int getLayerScaleH (int layer) const
 

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