ScummVM API documentation
Grim::Set Class Reference
Inheritance diagram for Grim::Set:
Grim::PoolObject< Set > Grim::PoolObjectBase

Classes

struct  Setup
 

Public Member Functions

 Set (const Common::String &name, Common::SeekableReadStream *data)
 
void loadText (TextSplitter &ts)
 
void loadBinary (Common::SeekableReadStream *data)
 
void setupOverworldLights ()
 
void saveState (SaveGame *savedState) const
 
bool restoreState (SaveGame *savedState)
 
void drawBackground () const
 
void drawBitmaps (ObjectState::Position stage)
 
void setupCamera ()
 
void setupLights (const Math::Vector3d &pos, bool inOverworld)
 
void setSoundPosition (const char *soundName, const Math::Vector3d &pos)
 
void setSoundPosition (const char *soundName, const Math::Vector3d &pos, int minVol, int maxVol)
 
void calculateSoundPosition (const Math::Vector3d &pos, int minVol, int maxVol, int &volume, int &balance)
 
void setSoundParameters (int minVolume, int maxVolume)
 
void getSoundParameters (int *minVolume, int *maxVolume)
 
const Common::StringgetName () const
 
void setLightEnableState (bool state)
 
void setLightIntensity (const char *light, float intensity)
 
void setLightIntensity (int light, float intensity)
 
void setLightPosition (const char *light, const Math::Vector3d &pos)
 
void setLightPosition (int light, const Math::Vector3d &pos)
 
void setLightEnabled (const char *light, bool enabled)
 
void setLightEnabled (int light, bool enabled)
 
void turnOffLights ()
 
void setSetup (int num)
 
int getSetup () const
 
int getNumSetups () const
 
int getSectorCount ()
 
SectorgetSectorBase (int id)
 
SectorgetSectorByName (const Common::String &name)
 
SectorgetSectorBySubstring (const Common::String &str)
 
SectorgetSectorBySubstring (const Common::String &str, const Math::Vector3d &pos)
 
SectorfindPointSector (const Math::Vector3d &p, Sector::SectorType type)
 
int findSectorSortOrder (const Math::Vector3d &p, Sector::SectorType type)
 
void findClosestSector (const Math::Vector3d &p, Sector **sect, Math::Vector3d *closestPt)
 
void shrinkBoxes (float radius)
 
void unshrinkBoxes ()
 
void addObjectState (const ObjectState::Ptr &s)
 
void deleteObjectState (const ObjectState::Ptr &s)
 
void moveObjectStateToFront (const ObjectState::Ptr &s)
 
void moveObjectStateToBack (const ObjectState::Ptr &s)
 
ObjectStateaddObjectState (int setupID, ObjectState::Position pos, const char *bitmap, const char *zbitmap, bool transparency)
 
ObjectStatefindState (const Common::String &filename)
 
CMapgetCMap ()
 
SetupgetCurrSetup ()
 
SetupgetSetup (int num) const
 
const Common::List< Light * > & getLights (bool inOverworld)
 
const Math::Frustum & getFrustum ()
 
int getShadowCount () const
 
SetShadowgetShadow (int i)
 
SetShadowgetShadowByName (const Common::String &name)
 
- Public Member Functions inherited from Grim::PoolObject< Set >
void setId (int id)
 
int getId () const override
 
int32 getTag () const override
 

Static Public Member Functions

static int32 getStaticTag ()
 
static Bitmap::Ptr loadBackground (const char *fileName)
 
- Static Public Member Functions inherited from Grim::PoolObject< Set >
static PoolgetPool ()
 

Public Attributes

int _minVolume
 
int _maxVolume
 

Additional Inherited Members

- Static Protected Member Functions inherited from Grim::PoolObject< Set >
static void saveStaticState (SaveGame *state)
 
static void restoreStaticState (SaveGame *state)
 

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