ScummVM API documentation
TsAGE::Region Class Reference
Inheritance diagram for TsAGE::Region:
TsAGE::WalkRegion

Public Member Functions

 Region (int resNum, int rlbNum, ResourceType ctlType=RES_CONTROL)
 
 Region (int regionId, const byte *regionData)
 
void load (const byte *regionData)
 
bool contains (const Common::Point &pt)
 
bool empty () const
 
void clear ()
 
void setRect (const Rect &r)
 
void setRect (int xs, int ys, int xe, int ye)
 
const LineSliceSetgetLineSlices (int yp)
 
LineSliceSet sectPoints (int yp, const LineSliceSet &sliceSet)
 
void draw ()
 
void uniteLine (int yp, LineSliceSet &sliceSet)
 
void uniteRect (const Rect &rect)
 

Static Public Member Functions

static LineSliceSet mergeSlices (const LineSliceSet &set1, const LineSliceSet &set2)
 

Public Attributes

int _regionSize
 
int _regionId
 
Rect _bounds
 
Common::Array< LineSliceSet_ySlices
 

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