ScummVM API documentation
Dragons::Background Class Reference

Public Member Functions

bool load (byte *dataStart, uint32 size)
 
uint16 getWidth ()
 
uint16 getHeight ()
 
Graphics::SurfacegetBgLayer ()
 
Graphics::SurfacegetMgLayer ()
 
Graphics::SurfacegetFgLayer ()
 
uint8 getBgLayerPriority ()
 
uint8 getMgLayerPriority ()
 
uint8 getFgLayerPriority ()
 
void setBgLayerPriority (uint8 newPriority)
 
void setMgLayerPriority (uint8 newPriority)
 
void setFgLayerPriority (uint8 newPriority)
 
int16 getPriorityAtPoint (Common::Point pos)
 
Common::Point getPoint2 (uint32 pointIndex)
 
byte * getPalette ()
 
void overlayPriorityTileMap (byte *data, int16 x, int16 y, int16 w, int16 h)
 
void restorePriorityTileMap (int16 x, int16 y, int16 w, int16 h)
 
void overlayImage (uint16 layerNum, byte *data, int16 x, int16 y, int16 w, int16 h)
 
void restoreTiles (uint16 layerNum, int16 x, int16 y, int16 w, int16 h)
 
void setPalette (byte *newPalette)
 
void setLayerOffset (uint8 layerNumber, Common::Point offset)
 
Common::Point getLayerOffset (uint8 layerNumber)
 
ScaleLayergetScaleLayer ()
 
Dragons::AlphaBlendMode getLayerAlphaMode (uint8 layerNumber)
 
void setLayerAlphaMode (uint8 layerNumber, Dragons::AlphaBlendMode mode)
 

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