ScummVM API documentation
Grim::Sector Class Reference

Classes

struct  ExitInfo
 

Public Types

enum  SectorType {
  NoneType = 0, WalkType = 0x1000, FunnelType = 0x1100, CameraType = 0x2000,
  SpecialType = 0x4000, HotType = 0x8000
}
 

Public Member Functions

 Sector (const Sector &other)
 
void saveState (SaveGame *savedState) const
 
bool restoreState (SaveGame *savedState)
 
void load (TextSplitter &ts)
 
void loadBinary (Common::SeekableReadStream *data)
 
void setVisible (bool visible)
 
void shrink (float radius)
 
void unshrink ()
 
Common::String getName () const
 
int getSectorId () const
 
SectorType getType () const
 
bool isVisible () const
 
bool isPointInSector (const Math::Vector3d &point) const
 
float distanceToPoint (const Math::Vector3d &point) const
 
Common::List< Math::Line3d > getBridgesTo (Sector *sector) const
 
Math::Vector3d getProjectionToPlane (const Math::Vector3d &point) const
 
Math::Vector3d getProjectionToPuckVector (const Math::Vector3d &v) const
 
Math::Vector3d getClosestPoint (const Math::Vector3d &point) const
 
void getExitInfo (const Math::Vector3d &start, const Math::Vector3d &dir, struct ExitInfo *result) const
 
int getNumSortplanes ()
 
int getSortplane (int setup)
 
int getNumVertices ()
 
Math::Vector3d * getVertices () const
 
Math::Vector3d getNormal () const
 
Sectoroperator= (const Sector &other)
 
bool operator== (const Sector &other) const
 

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