ScummVM API documentation
Neverhood::MicroTileArray Class Reference

Public Member Functions

 MicroTileArray (int16 width, int16 height)
 
void addRect (Common::Rect r)
 
void clear ()
 
RectangleListgetRectangles ()
 

Protected Member Functions

byte TileX0 (const BoundingBox &boundingBox)
 
byte TileY0 (const BoundingBox &boundingBox)
 
byte TileX1 (const BoundingBox &boundingBox)
 
byte TileY1 (const BoundingBox &boundingBox)
 
bool isBoundingBoxEmpty (const BoundingBox &boundingBox)
 
bool isBoundingBoxFull (const BoundingBox &boundingBox)
 
void setBoundingBox (BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1)
 
void updateBoundingBox (BoundingBox &boundingBox, byte x0, byte y0, byte x1, byte y1)
 

Protected Attributes

BoundingBox * _tiles
 
int16 _tilesW
 
int16 _tilesH
 

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