ScummVM API documentation
Parallaction::BackgroundInfo Struct Reference

Public Member Functions

void setPaletteRange (int index, const PaletteFxRange &range)
 
bool hasMask ()
 
uint addMaskPatch (MaskBuffer *patch)
 
void toggleMaskPatch (uint id, int x, int y, bool apply)
 
uint16 getMaskLayer (uint16 z) const
 
void finalizeMask ()
 
void loadGfxObjMask (Parallaction *vm, const char *name, GfxObj *obj)
 
bool hasPath ()
 
uint addPathPatch (PathBuffer *patch)
 
void togglePathPatch (uint id, int x, int y, bool apply)
 
void finalizePath ()
 
void loadGfxObjPath (Parallaction *vm, const char *name, GfxObj *obj)
 

Public Attributes

int _x
 
int _y
 
int width
 
int height
 
Graphics::Surface bg
 
MaskBuffer_mask
 
PathBuffer_path
 
Palette palette
 
int layers [4]
 
PaletteFxRange ranges [6]
 

Protected Types

typedef Common::Array< MaskBuffer * > MaskPatches
 
typedef Common::Array< PathBuffer * > PathPatches
 

Protected Member Functions

void clearMaskData ()
 
void clearPathData ()
 

Protected Attributes

MaskPatches _maskPatches
 
MaskBuffer _maskBackup
 
PathPatches _pathPatches
 
PathBuffer _pathBackup
 

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