xoreos
0.0.5
|
An area in Star Wars: Knights of the Old Republic II - The Sith Lords, holding all objects and rooms within, as well as general area properties like the current background music and ambient sounds. More...
#include <area.h>
Classes | |
struct | CameraStyle |
Public Member Functions | |
Area (Module &module, const Common::UString &resRef) | |
~Area () | |
const Common::UString & | getResRef () |
Return the area's resref (resource ID). More... | |
void | show () |
Show the object's model(s). More... | |
void | hide () |
Hide the object's model(s). More... | |
uint32 | getMusicDayTrack () const |
Return the music track ID playing by day. More... | |
uint32 | getMusicNightTrack () const |
Return the music track ID playing by night. More... | |
uint32 | getMusicBattleTrack () const |
Return the music track ID playing in battle. More... | |
void | setMusicDayTrack (uint32 track) |
Set the music track ID playing by day. More... | |
void | setMusicNightTrack (uint32 track) |
Set the music track ID playing by night. More... | |
void | setMusicBattleTrack (uint32 track) |
Set the music track ID playing in battle. More... | |
void | stopSound () |
Stop all sounds. More... | |
void | stopAmbientMusic () |
Stop the ambient music. More... | |
void | stopAmbientSound () |
Stop the ambient sound. More... | |
void | playAmbientMusic (Common::UString music="") |
Play the specified music (or the area's default) as ambient music. More... | |
void | playAmbientSound (Common::UString sound="") |
Play the specified sound (or the area's default) as ambient sound. More... | |
void | addEvent (const Events::Event &event) |
Add a single event for consideration into the area event queue. More... | |
void | processEventQueue () |
Process the current event queue. More... | |
void | removeFocus () |
Forcibly remove the focus from the currently highlighted object. More... | |
float | evaluateElevation (float x, float y) |
bool | testCollision (const glm::vec3 &orig, const glm::vec3 &dest) const |
void | toggleWalkmesh () |
void | toggleTriggers () |
void | evaluateTriggers (float x, float y) |
void | showAllRooms () |
void | notifyObjectMoved (Object &o) |
void | notifyPCMoved () |
void | getCameraStyle (float &distance, float &pitch, float &height) const |
const std::vector< Common::UString > & | getRoomsVisibleFrom (const Common::UString &room) const |
KotOR2::Object * | getActiveObject () |
KotOR2::Object * | getObjectByTag (const Common::UString &tag) |
Public Member Functions inherited from Engines::KotOR2::Object | |
Object (ObjectType type=kObjectTypeInvalid) | |
virtual | ~Object () |
ObjectType | getType () const |
Return the exact type of the object. More... | |
virtual void | hideSoft () |
Hide the object's model(s) if applicable. More... | |
virtual bool | isVisible () const |
Is the object's model(s) visible? More... | |
const std::list< uint32 > & | getIDs () const |
Return the object's model IDs. More... | |
const Common::UString & | getName () const |
Return the object's name. More... | |
const Common::UString & | getDescription () const |
Return the object's description. More... | |
const Common::UString & | getPortrait () const |
Return the object's portrait. More... | |
bool | isStatic () const |
Is the object static (not manipulable at all)? More... | |
bool | isUsable () const |
Can the object be used by the PC? More... | |
bool | isClickable () const |
Can the player click the object? More... | |
virtual void | getPosition (float &x, float &y, float &z) const |
Return the object's position within its area. More... | |
virtual void | getOrientation (float &x, float &y, float &z, float &angle) const |
Return the object's orientation. More... | |
virtual void | setPosition (float x, float y, float z) |
Set the object's position within its area. More... | |
virtual void | setOrientation (float x, float y, float z, float angle) |
Set the object's orientation. More... | |
void | makeLookAt (float x, float y) |
void | makeLookAt (Object *target) |
Room * | getRoom () |
Get a room the object is in. More... | |
void | setRoom (Room *room) |
Set a room the object is in. More... | |
virtual void | enter () |
The cursor entered the object. More... | |
virtual void | leave () |
The cursor left the object. More... | |
virtual void | highlight (bool enabled) |
(Un)Highlight the object. More... | |
virtual bool | click (Object *triggerer=0) |
The object was clicked. More... | |
void | stopSound () |
Stop the current object sound. More... | |
void | playSound (const Common::UString &sound, bool pitchVariance=false) |
Play an object sound. More... | |
virtual void | playAnimation (const Common::UString &anim, bool restart=true, float length=0.0f, float speed=1.0f) |
Public Member Functions inherited from Aurora::NWScript::Object | |
Object () | |
uint32 | getID () const |
const Common::UString & | getTag () const |
Public Member Functions inherited from Aurora::NWScript::VariableContainer | |
VariableContainer () | |
virtual | ~VariableContainer () |
bool | hasVariable (const Common::UString &var) const |
Variable & | getVariable (const Common::UString &var, Type type=kTypeVoid) |
const Variable & | getVariable (const Common::UString &var) const |
void | setVariable (const Common::UString &var, const Variable &value) |
void | removeVariable (const Common::UString &var) |
void | clearVariables () |
Public Member Functions inherited from Engines::KotOR2::ScriptContainer | |
ScriptContainer () | |
~ScriptContainer () | |
const Common::UString & | getScript (Script script) const |
bool | hasScript (Script script) const |
bool | runScript (Script script, const Aurora::NWScript::ObjectReference owner=Aurora::NWScript::ObjectReference(), const Aurora::NWScript::ObjectReference triggerer=Aurora::NWScript::ObjectReference()) |
Public Member Functions inherited from Events::Notifyable | |
Notifyable () | |
virtual | ~Notifyable () |
Protected Member Functions | |
void | notifyCameraMoved () |
Protected Member Functions inherited from Engines::KotOR2::ScriptContainer | |
void | clearScripts () |
void | readScripts (const Aurora::GFF3Struct &gff) |
void | readScripts (const ScriptContainer &container) |
Private Types | |
typedef Common::PtrList< Room > | RoomList |
typedef Common::PtrList< KotOR2::Object > | ObjectList |
typedef std::map< uint32, KotOR2::Object * > | ObjectMap |
Private Member Functions | |
void | clear () |
void | load () |
void | loadLYT () |
void | loadVIS () |
void | loadARE (const Aurora::GFF3Struct &are) |
void | loadGIT (const Aurora::GFF3Struct &git) |
void | loadCameraStyle (uint32 id) |
void | loadRooms () |
void | loadProperties (const Aurora::GFF3Struct &props) |
void | loadObject (KotOR2::Object &object) |
void | loadWaypoints (const Aurora::GFF3List &list) |
void | loadPlaceables (const Aurora::GFF3List &list) |
void | loadDoors (const Aurora::GFF3List &list) |
void | loadCreatures (const Aurora::GFF3List &list) |
void | loadTriggers (const Aurora::GFF3List &list) |
void | unload () |
void | checkActive (int x=-1, int y=-1) |
void | setActive (KotOR2::Object *object) |
KotOR2::Object * | getObjectAt (int x, int y) |
void | highlightAll (bool enabled) |
void | click (int x, int y) |
Room * | getRoomAt (float x, float y) const |
Private Attributes | |
Module * | _module |
The module this area is in. More... | |
Common::UString | _resRef |
The area's resref (resource ID). More... | |
Common::UString | _displayName |
The area's localized display name. More... | |
Common::UString | _ambientDay |
Ambient sound that plays by day. More... | |
Common::UString | _ambientNight |
Ambient sound that plays by night. More... | |
uint32 | _musicDayTrack |
Music track ID that plays by day. More... | |
uint32 | _musicNightTrack |
Music track ID that plays by night. More... | |
uint32 | _musicBattleTrack |
Music track ID that plays in battle. More... | |
Common::UString | _musicDay |
Music that plays by day. More... | |
Common::UString | _musicNight |
Music that plays by night. More... | |
Common::UString | _musicBattle |
Music that plays in battle. More... | |
std::vector< Common::UString > | _musicBattleStinger |
Battle music stingers. More... | |
float | _ambientDayVol |
Day ambient sound volume. More... | |
float | _ambientNightVol |
Night ambient sound volume. More... | |
bool | _visible |
Is the area currently visible? More... | |
Sound::ChannelHandle | _ambientSound |
Sound handle of the currently playing sound. More... | |
Sound::ChannelHandle | _ambientMusic |
Sound handle of the currently playing music. More... | |
Aurora::LYTFile | _lyt |
The area's layout description. More... | |
Aurora::VISFile | _vis |
The area's inter-room visibility description. More... | |
RoomList | _rooms |
All rooms in the area. More... | |
ObjectList | _objects |
List of all objects in the area. More... | |
ObjectMap | _objectMap |
Map of all non-static objects in the area. More... | |
KotOR2::Object * | _activeObject |
The currently active (highlighted) object. More... | |
bool | _highlightAll |
Are we currently highlighting all objects? More... | |
std::list< Events::Event > | _eventQueue |
The event queue. More... | |
Common::Mutex | _mutex |
Mutex securing access to the area. More... | |
std::vector< Trigger * > | _triggers |
.— Triggers More... | |
bool | _triggersVisible |
Trigger * | _activeTrigger |
CameraStyle | _cameraStyle |
'— More... | |
bool | _walkmeshInvisible |
std::list< Situated * > | _situatedObjects |
Friends | |
class | Console |
An area in Star Wars: Knights of the Old Republic II - The Sith Lords, holding all objects and rooms within, as well as general area properties like the current background music and ambient sounds.
Note: the coordinate system of the in-world graphics is oriented as viewed from the top down. The negative Z axis goes down into the ground, while the positive Y axis points due north and the positive X axis points due east.
|
private |
|
private |
|
private |
Engines::KotOR2::Area::Area | ( | Module & | module, |
const Common::UString & | resRef | ||
) |
Engines::KotOR2::Area::~Area | ( | ) |
Definition at line 85 of file area.cpp.
References _module, clear(), hide(), removeFocus(), and Engines::KotOR2::ObjectContainer::removeObject().
void Engines::KotOR2::Area::addEvent | ( | const Events::Event & | event | ) |
Add a single event for consideration into the area event queue.
Definition at line 412 of file area.cpp.
References _eventQueue.
|
private |
Definition at line 468 of file area.cpp.
References _highlightAll, _mutex, CursorMan, getObjectAt(), and setActive().
Referenced by notifyCameraMoved(), and processEventQueue().
|
private |
Definition at line 108 of file area.cpp.
References _activeTrigger, _module, _objects, _rooms, _situatedObjects, _triggers, Common::PtrList< T, Deallocator >::clear(), and Engines::KotOR2::ObjectContainer::removeObject().
Referenced by Area(), and ~Area().
|
private |
Definition at line 480 of file area.cpp.
References _module, _mutex, Engines::KotOR2::Object::click(), Engines::KotOR2::Module::clickObject(), getObjectAt(), and Engines::KotOR2::Module::getPC().
Referenced by processEventQueue().
float Engines::KotOR2::Area::evaluateElevation | ( | float | x, |
float | y | ||
) |
Definition at line 513 of file area.cpp.
References _module, _rooms, Engines::KotOR2::Room::disableWalkmeshHighlight(), Engines::KotOR2::Room::evaluateElevation(), FLT_MIN, Engines::KotOR2::Module::getPC(), and Engines::KotOR2::Object::getRoom().
void Engines::KotOR2::Area::evaluateTriggers | ( | float | x, |
float | y | ||
) |
Definition at line 567 of file area.cpp.
References _activeTrigger, _module, _triggers, Engines::Trigger::contains(), Engines::KotOR2::Module::getPC(), Engines::KotOR2::kScriptEnter, Engines::KotOR2::kScriptExit, and Engines::KotOR2::ScriptContainer::runScript().
KotOR2::Object * Engines::KotOR2::Area::getActiveObject | ( | ) |
Definition at line 672 of file area.cpp.
References _activeObject.
void Engines::KotOR2::Area::getCameraStyle | ( | float & | distance, |
float & | pitch, | ||
float & | height | ||
) | const |
Definition at line 662 of file area.cpp.
References _cameraStyle, Engines::KotOR2::Area::CameraStyle::distance, Engines::KotOR2::Area::CameraStyle::height, and Engines::KotOR2::Area::CameraStyle::pitch.
uint32 Engines::KotOR2::Area::getMusicBattleTrack | ( | ) | const |
Return the music track ID playing in battle.
Definition at line 127 of file area.cpp.
References _musicBattleTrack.
uint32 Engines::KotOR2::Area::getMusicDayTrack | ( | ) | const |
Return the music track ID playing by day.
Definition at line 119 of file area.cpp.
References _musicDayTrack.
Referenced by Engines::KotOR2::Functions::musicBackgroundGetDayTrack().
uint32 Engines::KotOR2::Area::getMusicNightTrack | ( | ) | const |
Return the music track ID playing by night.
Definition at line 123 of file area.cpp.
References _musicNightTrack.
Referenced by Engines::KotOR2::Functions::musicBackgroundGetNightTrack().
|
private |
Definition at line 443 of file area.cpp.
References _objectMap, Graphics::Renderable::getID(), and GfxMan.
Referenced by checkActive(), and click().
KotOR2::Object * Engines::KotOR2::Area::getObjectByTag | ( | const Common::UString & | tag | ) |
Definition at line 676 of file area.cpp.
References _objects.
Referenced by Engines::KotOR2::DialogGUI::makeLookAtPC(), Engines::KotOR2::DialogGUI::playDefaultAnimations(), and Engines::KotOR2::DialogGUI::playTalkAnimations().
const Common::UString& Engines::KotOR2::Area::getResRef | ( | ) |
Return the area's resref (resource ID).
|
private |
Definition at line 685 of file area.cpp.
References _rooms, and FLT_MIN.
Referenced by notifyObjectMoved().
const std::vector< Common::UString > & Engines::KotOR2::Area::getRoomsVisibleFrom | ( | const Common::UString & | room | ) | const |
Definition at line 668 of file area.cpp.
References _vis, and Aurora::VISFile::getVisibilityArray().
Referenced by Engines::KotOR2::Console::cmdListRoomsVisibleFrom().
|
virtual |
Hide the object's model(s).
Reimplemented from Engines::KotOR2::Object.
Definition at line 225 of file area.cpp.
References _objects, _rooms, _visible, GfxMan, removeFocus(), and stopSound().
Referenced by ~Area().
|
private |
Definition at line 491 of file area.cpp.
References _highlightAll, and _objectMap.
Referenced by processEventQueue().
|
private |
Definition at line 95 of file area.cpp.
References _resRef, Aurora::GFF3File::getTopLevel(), Aurora::kFileTypeARE, Aurora::kFileTypeGIT, loadARE(), loadGIT(), loadLYT(), loadRooms(), loadVIS(), and MKTAG.
Referenced by Area().
|
private |
Definition at line 276 of file area.cpp.
References Engines::KotOR2::Object::_name, Aurora::NWScript::Object::_tag, Aurora::GFF3Struct::getString(), Aurora::GFF3Struct::getUint(), loadCameraStyle(), and Engines::KotOR2::ScriptContainer::readScripts().
Referenced by load().
|
private |
Definition at line 290 of file area.cpp.
References _cameraStyle, Engines::KotOR2::Area::CameraStyle::distance, Aurora::TwoDARow::getFloat(), Aurora::TwoDAFile::getRow(), Engines::KotOR2::Area::CameraStyle::height, Engines::KotOR2::Area::CameraStyle::pitch, and TwoDAReg.
Referenced by loadARE().
|
private |
Definition at line 395 of file area.cpp.
References loadObject().
Referenced by loadGIT().
|
private |
Definition at line 386 of file area.cpp.
References _module, _situatedObjects, and loadObject().
Referenced by loadGIT().
|
private |
Definition at line 298 of file area.cpp.
References Aurora::GFF3Struct::getList(), Aurora::GFF3Struct::getStruct(), Aurora::GFF3Struct::hasField(), loadCreatures(), loadDoors(), loadPlaceables(), loadProperties(), loadTriggers(), and loadWaypoints().
Referenced by load().
|
private |
Definition at line 248 of file area.cpp.
References _lyt, _resRef, Common::StackException::add(), Common::UString::c_str(), Aurora::kFileTypeLYT, Aurora::LYTFile::load(), and ResMan.
Referenced by load().
|
private |
Definition at line 355 of file area.cpp.
References _module, _objectMap, _objects, Engines::KotOR2::ObjectContainer::addObject(), Engines::KotOR2::Object::isStatic(), and notifyObjectMoved().
Referenced by loadCreatures(), loadDoors(), loadPlaceables(), loadTriggers(), and loadWaypoints().
|
private |
Definition at line 377 of file area.cpp.
References _situatedObjects, and loadObject().
Referenced by loadGIT().
|
private |
Definition at line 318 of file area.cpp.
References _ambientDay, _ambientDayVol, _ambientNight, _ambientNightVol, Aurora::TwoDAFile::getRow(), Aurora::TwoDARow::getString(), Aurora::GFF3Struct::getUint(), Aurora::kStrRefInvalid, setMusicBattleTrack(), setMusicDayTrack(), setMusicNightTrack(), and TwoDAReg.
Referenced by loadGIT().
|
private |
|
private |
Definition at line 403 of file area.cpp.
References _triggers, and loadObject().
Referenced by loadGIT().
|
private |
Definition at line 262 of file area.cpp.
References _resRef, _vis, Common::StackException::add(), Common::UString::c_str(), Aurora::kFileTypeVIS, Aurora::VISFile::load(), and ResMan.
Referenced by load().
|
private |
Definition at line 369 of file area.cpp.
References loadObject().
Referenced by loadGIT().
|
protectedvirtual |
Reimplemented from Events::Notifyable.
Definition at line 509 of file area.cpp.
References checkActive().
void Engines::KotOR2::Area::notifyObjectMoved | ( | Object & | o | ) |
Definition at line 607 of file area.cpp.
References Engines::KotOR2::Object::getPosition(), getRoomAt(), and Engines::KotOR2::Object::setRoom().
Referenced by loadObject(), and notifyPCMoved().
void Engines::KotOR2::Area::notifyPCMoved | ( | ) |
Definition at line 613 of file area.cpp.
References _module, _objects, _rooms, _vis, Engines::KotOR2::Module::getPC(), Engines::KotOR2::Room::getResRef(), Engines::KotOR2::Object::getRoom(), Aurora::VISFile::getVisibilityArray(), GfxMan, Engines::KotOR2::Room::isVisible(), and notifyObjectMoved().
void Engines::KotOR2::Area::playAmbientMusic | ( | Common::UString | music = "" | ) |
Play the specified music (or the area's default) as ambient music.
Definition at line 176 of file area.cpp.
References _ambientMusic, _musicDay, Common::UString::empty(), Sound::kSoundTypeMusic, Engines::playSound(), and stopAmbientMusic().
Referenced by Engines::KotOR2::Functions::musicBackgroundPlay(), Engines::KotOR2::Game::playMusic(), and show().
void Engines::KotOR2::Area::playAmbientSound | ( | Common::UString | sound = "" | ) |
Play the specified sound (or the area's default) as ambient sound.
Definition at line 189 of file area.cpp.
References _ambientDay, _ambientDayVol, _ambientSound, Common::UString::empty(), Sound::kSoundTypeSFX, Engines::playSound(), and stopAmbientSound().
Referenced by show().
void Engines::KotOR2::Area::processEventQueue | ( | ) |
Process the current event queue.
Definition at line 416 of file area.cpp.
References _eventQueue, checkActive(), click(), highlightAll(), Events::kEventKeyDown, Events::kEventKeyUp, Events::kEventMouseDown, and Events::kEventMouseMove.
void Engines::KotOR2::Area::removeFocus | ( | ) |
Forcibly remove the focus from the currently highlighted object.
Definition at line 502 of file area.cpp.
References _activeObject, and Engines::KotOR2::Object::leave().
Referenced by hide(), and ~Area().
|
private |
Definition at line 455 of file area.cpp.
References _activeObject, Engines::KotOR2::Object::enter(), and Engines::KotOR2::Object::leave().
Referenced by checkActive().
void Engines::KotOR2::Area::setMusicBattleTrack | ( | uint32 | track | ) |
Set the music track ID playing in battle.
Definition at line 141 of file area.cpp.
References _musicBattle, _musicBattleStinger, _musicBattleTrack, Aurora::TwoDAFile::getRow(), Aurora::TwoDARow::getString(), Aurora::kStrRefInvalid, and TwoDAReg.
Referenced by loadProperties().
void Engines::KotOR2::Area::setMusicDayTrack | ( | uint32 | track | ) |
Set the music track ID playing by day.
Definition at line 131 of file area.cpp.
References _musicDay, _musicDayTrack, and TwoDAReg.
Referenced by loadProperties(), and Engines::KotOR2::Functions::musicBackgroundChangeDay().
void Engines::KotOR2::Area::setMusicNightTrack | ( | uint32 | track | ) |
Set the music track ID playing by night.
Definition at line 136 of file area.cpp.
References _musicNight, _musicNightTrack, and TwoDAReg.
Referenced by loadProperties(), and Engines::KotOR2::Functions::musicBackgroundChangeNight().
|
virtual |
Show the object's model(s).
Reimplemented from Engines::KotOR2::Object.
Definition at line 202 of file area.cpp.
References _objects, _rooms, _visible, GfxMan, playAmbientMusic(), and playAmbientSound().
void Engines::KotOR2::Area::showAllRooms | ( | ) |
void Engines::KotOR2::Area::stopAmbientMusic | ( | ) |
Stop the ambient music.
Definition at line 168 of file area.cpp.
References _ambientMusic, and SoundMan.
Referenced by Engines::KotOR2::Functions::musicBackgroundStop(), playAmbientMusic(), Engines::KotOR2::Game::stopMusic(), and stopSound().
void Engines::KotOR2::Area::stopAmbientSound | ( | ) |
Stop the ambient sound.
Definition at line 172 of file area.cpp.
References _ambientSound, and SoundMan.
Referenced by playAmbientSound(), and stopSound().
void Engines::KotOR2::Area::stopSound | ( | ) |
Stop all sounds.
Definition at line 163 of file area.cpp.
References stopAmbientMusic(), and stopAmbientSound().
Referenced by hide().
bool Engines::KotOR2::Area::testCollision | ( | const glm::vec3 & | orig, |
const glm::vec3 & | dest | ||
) | const |
Definition at line 535 of file area.cpp.
References _situatedObjects.
void Engines::KotOR2::Area::toggleTriggers | ( | ) |
Definition at line 558 of file area.cpp.
References _triggers, and _triggersVisible.
void Engines::KotOR2::Area::toggleWalkmesh | ( | ) |
Definition at line 544 of file area.cpp.
References _rooms, _situatedObjects, and _walkmeshInvisible.
|
private |
|
private |
The currently active (highlighted) object.
Definition at line 184 of file area.h.
Referenced by getActiveObject(), removeFocus(), and setActive().
|
private |
Definition at line 195 of file area.h.
Referenced by clear(), and evaluateTriggers().
|
private |
Ambient sound that plays by day.
Definition at line 153 of file area.h.
Referenced by loadProperties(), and playAmbientSound().
|
private |
Day ambient sound volume.
Definition at line 167 of file area.h.
Referenced by loadProperties(), and playAmbientSound().
|
private |
Sound handle of the currently playing music.
Definition at line 173 of file area.h.
Referenced by playAmbientMusic(), and stopAmbientMusic().
|
private |
Ambient sound that plays by night.
Definition at line 154 of file area.h.
Referenced by loadProperties().
|
private |
|
private |
Sound handle of the currently playing sound.
Definition at line 172 of file area.h.
Referenced by playAmbientSound(), and stopAmbientSound().
|
private |
|
private |
|
private |
The event queue.
Definition at line 188 of file area.h.
Referenced by addEvent(), and processEventQueue().
|
private |
Are we currently highlighting all objects?
Definition at line 186 of file area.h.
Referenced by checkActive(), and highlightAll().
|
private |
The area's layout description.
Definition at line 175 of file area.h.
Referenced by loadLYT(), and loadRooms().
|
private |
The module this area is in.
Definition at line 148 of file area.h.
Referenced by Area(), clear(), click(), evaluateElevation(), evaluateTriggers(), loadDoors(), loadObject(), notifyPCMoved(), and ~Area().
|
private |
Music that plays in battle.
Definition at line 162 of file area.h.
Referenced by setMusicBattleTrack().
|
private |
|
private |
Music track ID that plays in battle.
Definition at line 158 of file area.h.
Referenced by getMusicBattleTrack(), and setMusicBattleTrack().
|
private |
Music that plays by day.
Definition at line 160 of file area.h.
Referenced by playAmbientMusic(), and setMusicDayTrack().
|
private |
Music track ID that plays by day.
Definition at line 156 of file area.h.
Referenced by getMusicDayTrack(), and setMusicDayTrack().
|
private |
Music that plays by night.
Definition at line 161 of file area.h.
Referenced by setMusicNightTrack().
|
private |
Music track ID that plays by night.
Definition at line 157 of file area.h.
Referenced by getMusicNightTrack(), and setMusicNightTrack().
|
private |
Mutex securing access to the area.
Definition at line 190 of file area.h.
Referenced by checkActive(), and click().
|
private |
Map of all non-static objects in the area.
Definition at line 181 of file area.h.
Referenced by getObjectAt(), highlightAll(), and loadObject().
|
private |
List of all objects in the area.
Definition at line 180 of file area.h.
Referenced by clear(), getObjectByTag(), hide(), loadObject(), notifyPCMoved(), show(), and showAllRooms().
|
private |
|
private |
All rooms in the area.
Definition at line 178 of file area.h.
Referenced by clear(), evaluateElevation(), getRoomAt(), hide(), loadRooms(), notifyPCMoved(), show(), showAllRooms(), and toggleWalkmesh().
|
private |
Definition at line 200 of file area.h.
Referenced by clear(), loadDoors(), loadPlaceables(), testCollision(), and toggleWalkmesh().
|
private |
.— Triggers
Definition at line 193 of file area.h.
Referenced by clear(), evaluateTriggers(), loadTriggers(), and toggleTriggers().
|
private |
Definition at line 194 of file area.h.
Referenced by toggleTriggers().
|
private |
The area's inter-room visibility description.
Definition at line 176 of file area.h.
Referenced by getRoomsVisibleFrom(), loadVIS(), and notifyPCMoved().
|
private |
|
private |
Definition at line 199 of file area.h.
Referenced by toggleWalkmesh().