Skyscraper 2.0
SBS::SBS Class Reference

#include <sbs.h>

Inheritance diagram for SBS::SBS:
Collaboration diagram for SBS::SBS:

Classes

struct  AutoArea
 
struct  Key
 
struct  VerifyResult
 

Public Member Functions

 SBS (Ogre::SceneManager *mSceneManager, FMOD::System *fmodsystem, int instance_number, const Vector3 &position=Vector3::ZERO, Real rotation=0.0f, const Vector3 &area_min=Vector3::ZERO, const Vector3 &area_max=Vector3::ZERO)
 
 ~SBS ()
 
void Initialize ()
 
bool Start (std::vector< Ogre::Camera * > &cameras)
 
void CreateSky ()
 
bool AddWallMain (Wall *wallobject, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height_in1, Real height_in2, Real altitude1, Real altitude2, Real tw, Real th, bool autosize, bool report=true)
 
bool AddFloorMain (Wall *wallobject, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real altitude1, Real altitude2, bool reverse_axis, bool texture_direction, Real tw, Real th, bool autosize, bool legacy_behavior=false, bool report=true)
 
void CalculateFrameRate ()
 
void Loop (bool loading, bool isready)
 
Wall * CreateWallBox (MeshObject *mesh, const std::string &name, const std::string &texture, Real x1, Real x2, Real z1, Real z2, Real height_in, Real voffset, Real tw, Real th, bool inside=true, bool outside=true, bool top=true, bool bottom=true, bool autosize=true, bool report=true)
 
Wall * CreateWallBox2 (MeshObject *mesh, const std::string &name, const std::string &texture, Real CenterX, Real CenterZ, Real WidthX, Real LengthZ, Real height_in, Real voffset, Real tw, Real th, bool inside=true, bool outside=true, bool top=true, bool bottom=true, bool autosize=true, bool report=true)
 
Wall * AddTriangleWall (MeshObject *mesh, const std::string &name, const std::string &texture, Real x1, Real y1, Real z1, Real x2, Real y2, Real z2, Real x3, Real y3, Real z3, Real tw, Real th)
 
Wall * AddCustomWall (MeshObject *mesh, const std::string &name, const std::string &texture, PolyArray &varray, Real tw, Real th)
 
Wall * AddCustomFloor (MeshObject *mesh, const std::string &name, const std::string &texture, std::vector< Vector2 > &varray, Real altitude, Real tw, Real th)
 
void AddPolygon (Wall *wallobject, const std::string &texture, PolyArray &varray, Real tw, Real th, bool report=true)
 
void EnableBuildings (bool value)
 
void EnableLandscape (bool value)
 
void EnableExternal (bool value)
 
void EnableSkybox (bool value)
 
int GetFloorNumber (Real altitude, int lastfloor=0, bool checklastfloor=false)
 
Real GetDistance (Real x1, Real x2, Real z1, Real z2)
 
Shaft * CreateShaft (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor)
 
Stairwell * CreateStairwell (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor)
 
Elevator * NewElevator (int number)
 
Floor * NewFloor (int number)
 
Vehicle * NewVehicle (int number)
 
DispatchController * NewController (int number)
 
int GetElevatorCount ()
 
int GetTotalFloors ()
 
int GetShaftCount ()
 
int GetStairwellCount ()
 
int GetVehicleCount ()
 
int GetControllerCount ()
 
Floor * GetFloor (int number)
 
Elevator * GetElevator (int number)
 
Shaft * GetShaft (int number)
 
Stairwell * GetStairwell (int number)
 
Vehicle * GetVehicle (int number)
 
DispatchController * GetController (int number)
 
bool SetWallOrientation (std::string direction)
 
int GetWallOrientation ()
 
bool SetFloorOrientation (std::string direction)
 
int GetFloorOrientation ()
 
void DrawWalls (bool MainN, bool MainP, bool SideN, bool SideP, bool Top, bool Bottom)
 
void ResetWalls (bool ToDefaults=false)
 
int GetDrawWallsCount ()
 
Real MetersToFeet (Real meters)
 
Real FeetToMeters (Real feet)
 
Wall * AddWall (MeshObject *mesh, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height_in1, Real height_in2, Real altitude1, Real altitude2, Real tw, Real th)
 
Wall * AddFloor (MeshObject *mesh, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real altitude1, Real altitude2, bool reverse_axis, bool texture_direction, Real tw, Real th, bool legacy_behavior=false)
 
Wall * AddGround (const std::string &name, const std::string &texture, Real x1, Real z1, Real x2, Real z2, Real altitude, int tile_x, int tile_z)
 
void EnableFloorRange (int floor, int range, bool value, bool enablegroups, int shaftnumber=0, int stairsnumber=0)
 
bool RegisterTimerCallback (TimerObject *timer)
 
bool UnregisterTimerCallback (TimerObject *timer)
 
void ProcessTimers ()
 
int GetTimerCallbackCount ()
 
bool Mount (const std::string &filename, const std::string &path)
 
void AddFloorAutoArea (Vector3 start, Vector3 end)
 
int GetMeshCount ()
 
Sound * AddSound (const std::string &name, const std::string &filename, const Vector3 &position, bool loop=true, Real volume=1.0, int speed=100, Real min_distance=1.0, Real max_distance=-1.0, Real doppler_level=0.0, Real cone_inside_angle=360, Real cone_outside_angle=360, Real cone_outside_volume=1.0, const Vector3 &direction=Vector3(0, 0, 0))
 
int GetSoundCount ()
 
void IncrementSoundCount ()
 
void DecrementSoundCount ()
 
Reverb * AddReverb (const std::string &name, const std::string &type, const Vector3 &position, Real min_distance, Real max_distance)
 
int GetTotalReverbCount ()
 
void IncrementReverbCount ()
 
void DecrementReverbCount ()
 
Real ToLocal (Real remote_value)
 
Vector2 ToLocal (const Vector2 &remote_value)
 
Vector3 ToLocal (const Vector3 &remote_value, bool rescale=true, bool flip_z=true)
 
Real ToRemote (Real local_value)
 
Vector2 ToRemote (const Vector2 &local_value)
 
Vector3 ToRemote (const Vector3 &local_value, bool rescale=true, bool flip_z=true)
 
int GetObjectCount ()
 
Object * GetObject (int number)
 
Object * GetObject (std::string name, bool case_sensitive=true)
 
Object * GetObjectOfParent (std::string parent_name, std::string name, const std::string &type, bool case_sensitive=true)
 
std::vector< Object * > GetObjectRange (const std::string &expression)
 
int RegisterObject (Object *object)
 
bool UnregisterObject (int number)
 
bool IsValidFloor (int floor)
 
std::string DumpState ()
 
bool DeleteObject (Object *object)
 
bool DeleteObject (int object)
 
void RemoveFloor (Floor *floor)
 
void RemoveElevator (Elevator *elevator)
 
void RemoveShaft (Shaft *shaft)
 
void RemoveStairwell (Stairwell *stairs)
 
void RemoveSound (Sound *sound)
 
void RemoveReverb (Reverb *reverb)
 
void RemoveLight (Light *light)
 
void RemoveModel (Model *model)
 
void RemovePrimitive (Primitive *prim)
 
void RemoveCustomObject (CustomObject *object)
 
void RemoveControl (Control *control)
 
void RemoveTrigger (Trigger *trigger)
 
void RemoveController (DispatchController *controller)
 
std::string VerifyFile (const std::string &filename)
 
std::string VerifyFile (std::string filename, bool &result, bool skip_cache)
 
bool FileExists (const std::string &filename)
 
int GetWallCount ()
 
int GetPolygonCount ()
 
void AddMeshHandle (MeshObject *handle)
 
void DeleteMeshHandle (MeshObject *handle)
 
void Prepare (bool report=true, bool renderonly=false)
 
Light * AddLight (const std::string &name, int type)
 
MeshObject * FindMeshObject (const std::string &name)
 
Model * AddModel (const std::string &name, const std::string &filename, bool center, const Vector3 &position, const Vector3 &rotation, Real max_render_distance=0, Real scale_multiplier=1, bool enable_physics=false, Real restitution=0, Real friction=0, Real mass=0)
 
void AddModel (Model *model)
 
Primitive * AddPrimitive (const std::string &name)
 
void AddPrimitive (Primitive *primitive)
 
CustomObject * AddCustomObject (const std::string &name, const Vector3 &position, const Vector3 &rotation, Real max_render_distance=0, Real scale_multiplier=1)
 
void AddCustomObject (CustomObject *object)
 
int GetConfigInt (const std::string &key, int default_value)
 
std::string GetConfigString (const std::string &key, const std::string &default_value)
 
bool GetConfigBool (const std::string &key, bool default_value)
 
Real GetConfigFloat (const std::string &key, Real default_value)
 
bool InBox (const Vector3 &start, const Vector3 &end, const Vector3 &test)
 
void AdvanceClock ()
 
unsigned long GetCurrentTime ()
 
unsigned long GetRunTime ()
 
unsigned long GetElapsedTime ()
 
unsigned long GetAverageTime ()
 
std::string GetMountPath (std::string filename, std::string &newfilename)
 
void ShowColliders (bool value)
 
void CacheFilename (const std::string &filename, const std::string &result)
 
void SetLighting (Real red=1.0, Real green=1.0, Real blue=1.0)
 
void ResetLighting ()
 
Control * AddControl (const std::string &name, const std::string &sound, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, int selection_position, std::vector< std::string > &action_names, std::vector< std::string > &textures)
 
Trigger * AddTrigger (const std::string &name, const std::string &sound_file, const Vector3 &area_min, const Vector3 &area_max, std::vector< std::string > &action_names)
 
Action * AddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command, const std::vector< std::string > &parameters)
 
Action * AddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command)
 
std::vector< Action * > GetAction (std::string name)
 
Action * GetAction (int index)
 
int GetActionCount ()
 
bool AddActionParent (const std::string &name, std::vector< Object * > &parents)
 
bool RemoveActionParent (const std::string &name, std::vector< Object * > &parents)
 
bool RemoveActionParent (std::vector< Object * > &parents)
 
bool RemoveAction (std::string name)
 
bool RemoveAction (Action *action)
 
bool RunAction (const std::string &name)
 
bool RunAction (int index)
 
std::vector< Sound * > GetSound (const std::string &name)
 
Reverb * GetReverb (const std::string &name)
 
void AddKey (int keyid, const std::string &name)
 
bool CheckKey (int keyid)
 
void ListKeys ()
 
bool MoveObject (Object *object, Vector3 position, bool relative, bool X, bool Y, bool Z)
 
bool RotateObject (Object *object, Vector3 rotation, Real speed, bool relative, bool X, bool Y, bool Z)
 
void RegisterControl (Control *control)
 
void UnregisterControl (Control *control)
 
void ShowFloorList ()
 
void ShowSceneNodes (bool value)
 
void ShowBoundingBoxes (bool value)
 
void ListVisibleMeshes ()
 
int GetEscalatorCount ()
 
int GetMovingWalkwayCount ()
 
bool HitBeam (const Ray &ray, Real max_distance, MeshObject *&mesh, Wall *&wall, Vector3 &hit_position)
 
void EnableRandomActivity (bool value)
 
void EnableMalfunctions (bool value)
 
SoundSystem * GetSoundSystem ()
 
bool IsObjectValid (Object *object, std::string type="")
 
bool IsActionValid (Action *action)
 
std::vector< ElevatorRoute * > GetRouteToFloor (int StartingFloor, int DestinationFloor, bool service_access=false)
 
Person * CreatePerson (std::string name="", int floor=0, bool service_access=false)
 
void RemovePerson (Person *person)
 
bool AttachCamera (std::vector< Ogre::Camera * > &cameras, bool init_state=true)
 
bool DetachCamera ()
 
std::string ProcessFullName (std::string name, int &instance, int &object_number, bool strip_number=false)
 
int GetPersonCount ()
 
Person * GetPerson (int number)
 
bool IsInside ()
 
bool GetBounds (Vector3 &min, Vector3 &max)
 
bool IsInside (const Vector3 &position)
 
void CutOutsideBoundaries (bool landscape=true, bool buildings=true, bool external=false, bool floors=false)
 
void CutInsideBoundaries (const Vector3 &min, const Vector3 &max, bool landscape=true, bool buildings=true, bool external=false, bool floors=false)
 
void SetBounds (const Vector3 &area_min, const Vector3 &area_max)
 
bool HasBounds ()
 
void ResetState ()
 
Vector3 ToGlobal (const Vector3 &position)
 
Vector3 FromGlobal (const Vector3 &position)
 
Quaternion ToGlobal (const Quaternion &orientation)
 
Quaternion FromGlobal (const Quaternion &orientation)
 
Light * GetLight (std::string name)
 
Model * GetModel (std::string name)
 
Primitive * GetPrimitive (std::string name)
 
CustomObject * GetCustomObject (std::string name)
 
FloorManager * GetFloorManager ()
 
ElevatorManager * GetElevatorManager ()
 
ShaftManager * GetShaftManager ()
 
StairwellManager * GetStairwellManager ()
 
DoorManager * GetDoorManager ()
 
ControllerManager * GetControllerManager ()
 
void RegisterDynamicMesh (DynamicMesh *dynmesh)
 
void UnregisterDynamicMesh (DynamicMesh *dynmesh)
 
TextureManager * GetTextureManager ()
 
RevolvingDoorManager * GetRevolvingDoorManager ()
 
VehicleManager * GetVehicleManager ()
 
void RegisterCameraTexture (CameraTexture *camtex)
 
void UnregisterCameraTexture (CameraTexture *camtex)
 
int GetCameraTextureCount ()
 
CameraTexture * GetCameraTexture (int number)
 
std::string GetFilesystemPath (std::string filename)
 
Utility * GetUtility ()
 
GeometryController * GetGeometry ()
 
void MemoryReport ()
 
void RegisterEscalator (Escalator *escalator)
 
void UnregisterEscalator (Escalator *escalator)
 
Escalator * GetEscalator (int index)
 
void RegisterMovingWalkway (MovingWalkway *walkway)
 
void UnregisterMovingWalkway (MovingWalkway *walkway)
 
MovingWalkway * GetMovingWalkway (int index)
 
void SetPower (bool value)
 
bool GetPower ()
 
Reverb * GetReverb (int index)
 
int GetReverbCount ()
 
void EnableMap (bool value)
 
int GetTextureCount ()
 
Trigger * GetAreaTrigger ()
 
Vector3 GetCenter ()
 
- Public Member Functions inherited from SBS::Object
 Object (Object *parent)
 
virtual ~Object ()
 
void SetValues (const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true)
 
bool IsPermanent ()
 
bool IsMovable ()
 
const std::string & GetType ()
 
int GetNumber ()
 
void AddChild (Object *object)
 
Object * GetChild (int index)
 
int GetChildrenCount ()
 
void RemoveChild (Object *object)
 
SceneNode * GetSceneNode ()
 
void ShowBoundingBox (bool value)
 
virtual void Move (const Vector3 &vector, Real speed=1.0, bool force=false)
 
virtual void Move (Real X, Real Y, Real Z, Real speed=1.0, bool force=false)
 
virtual void SetPosition (const Vector3 &position, bool relative=false, bool force=false)
 
virtual void SetPosition (Real X, Real Y, Real Z, bool relative=false, bool force=false)
 
virtual void SetPositionY (Real value, bool force=false)
 
virtual Vector3 GetPosition (bool relative=false)
 
virtual void Rotate (const Vector3 &vector, Real speed=1.0)
 
virtual void Rotate (Real X, Real Y, Real Z, Real speed=1.0)
 
virtual void SetRotation (const Vector3 &rotation)
 
virtual void SetRotation (Real X, Real Y, Real Z)
 
virtual Vector3 GetRotation ()
 
Quaternion GetOrientation (bool relative=false)
 
void SetOrientation (const Quaternion &q, bool relative=false)
 
virtual void OnMove (bool parent)
 
virtual void OnRotate (bool parent)
 
virtual void OnClick (Vector3 &position, bool shift, bool ctrl, bool alt, bool right)
 
virtual void OnUnclick (bool right)
 
virtual void OnHit ()
 
void NotifyMove (bool parent=false)
 
void NotifyRotate (bool parent=false)
 
void ChangeParent (Object *new_parent)
 
bool IsGlobal ()
 
void Init (bool children=true)
 
virtual void OnInit ()
 
virtual void Loop ()
 
void RegisterLoop (Object *object)
 
void UnregisterLoop (Object *object)
 
virtual void Enabled (bool value)
 
virtual bool IsEnabled ()
 
std::string GetNameBase ()
 
template<typename T >
bool IsType ()
 
template<typename T >
T * ConvertTo ()
 
- Public Member Functions inherited from SBS::ObjectBase
 ObjectBase (Object *parent)
 
virtual ~ObjectBase ()
 
Object * GetParent ()
 
SBS * GetRoot ()
 
void SetName (const std::string &name)
 
const std::string & GetName ()
 
std::string GetNameBase ()
 
virtual void Report (const std::string &message)
 
virtual bool ReportError (const std::string &message)
 

Public Attributes

Real delta
 
Ogre::Root * mRoot
 
Ogre::SceneManager * mSceneManager
 
std::string version
 
std::string version_state
 
std::string BuildingName
 
std::string BuildingFilename
 
std::string BuildingDesigner
 
std::string BuildingLocation
 
std::string BuildingDescription
 
std::string BuildingVersion
 
OgreBulletDynamics::DynamicsWorld * mWorld
 
OgreBulletCollisions::DebugDrawer * debugDrawer
 
bool IsRunning
 
int Floors
 
int Basements
 
Camera * camera
 
bool IsFalling
 
bool InStairwell
 
bool InElevator
 
bool InShaft
 
int ElevatorNumber
 
int CarNumber
 
bool ElevatorSync
 
Real running_time
 
Real start_time
 
bool IsBuildingsEnabled
 
bool IsExternalEnabled
 
bool IsLandscapeEnabled
 
bool IsSkyboxEnabled
 
Real FPS
 
bool AutoShafts
 
bool AutoStairs
 
bool ProcessElevators
 
int ShaftDisplayRange
 
int StairsDisplayRange
 
int ShaftOutsideDisplayRange
 
int StairsOutsideDisplayRange
 
int FloorDisplayRange
 
std::string SkyName
 
bool DeleteColliders
 
Real UnitScale
 
bool Verbose
 
bool InterfloorOnTop
 
bool FastDelete
 
std::string LastError
 
std::string LastNotification
 
int WallCount
 
int PolygonCount
 
unsigned int SmoothFrames
 
bool RenderOnStartup
 
bool RandomActivity
 
bool Malfunctions
 
int InstanceNumber
 
int Lobby
 
MeshObject * Buildings
 
MeshObject * External
 
MeshObject * Landscape
 
MeshObject * SkyBox
 
Real AmbientR
 
Real AmbientG
 
Real AmbientB
 
Real OldAmbientR
 
Real OldAmbientG
 
Real OldAmbientB
 
bool TexelOverride
 
std::string InstancePrompt
 
- Public Attributes inherited from SBS::Object
std::string command
 
std::string command_processed
 
std::string context
 
int linenum
 
std::string includefile
 
bool parent_deleting
 

Private Member Functions

void PrintBanner ()
 
void CheckAutoAreas ()
 
void CalculateAverageTime ()
 
std::vector< ElevatorRoute * > GetIndirectRoute (std::vector< int > &checked_floors, int StartingFloor, int DestinationFloor, bool service_access=false, bool top_level=true)
 
ElevatorRoute * GetDirectRoute (Floor *floor, int DestinationFloor, bool service_access=false)
 

Private Attributes

int fps_frame_count
 
int fps_tottime
 
Real remaining_delta
 
int wall_orientation
 
int floor_orientation
 
bool DrawMainN
 
bool DrawMainP
 
bool DrawSideN
 
bool DrawSideP
 
bool DrawTop
 
bool DrawBottom
 
bool DrawMainNOld
 
bool DrawMainPOld
 
bool DrawSideNOld
 
bool DrawSidePOld
 
bool DrawTopOld
 
bool DrawBottomOld
 
std::vector< Object * > ObjectArray
 
FloorManager * floor_manager
 
ElevatorManager * elevator_manager
 
ShaftManager * shaft_manager
 
StairwellManager * stairwell_manager
 
DoorManager * door_manager
 
VehicleManager * vehicle_manager
 
ControllerManager * controller_manager
 
std::vector< DynamicMesh * > dynamic_meshes
 
std::vector< Action * > ActionArray
 
std::vector< Escalator * > EscalatorArray
 
std::vector< MovingWalkway * > MovingWalkwayArray
 
std::vector< TimerObject * > timercallbacks
 
std::vector< AutoArea > FloorAutoArea
 
std::vector< Light * > lights
 
std::vector< Sound * > sounds
 
int soundcount
 
std::vector< Reverb * > reverbs
 
int reverbcount
 
TextureManager * texturemanager
 
RevolvingDoorManager * revolvingdoor_manager
 
SoundSystem * soundsystem
 
std::vector< MeshObject * > meshes
 
std::vector< Model * > ModelArray
 
std::vector< Primitive * > PrimArray
 
std::vector< Control * > ControlArray
 
std::vector< Trigger * > TriggerArray
 
std::vector< Person * > PersonArray
 
std::vector< CustomObject * > CustomObjectArray
 
int ObjectCount
 
unsigned long current_time
 
unsigned long current_virtual_time
 
unsigned long elapsed_time
 
unsigned long average_time
 
std::deque< unsigned long > frame_times
 
Ogre::Timer * timer
 
Ogre::ConfigFile * configfile
 
std::vector< VerifyResult > verify_results
 
std::vector< Key > keys
 
std::vector< Control * > control_index
 
Ogre::StringVectorPtr filesystem_listing
 
Trigger * area_trigger
 
std::vector< CameraTexture * > camtexarray
 
int prepare_stage
 
int prepare_iterator
 
Utility * utility
 
GeometryController * geometry
 
bool power_state
 
Map * MapGenerator
 

Additional Inherited Members

- Protected Member Functions inherited from SBS::Object
void EnableLoop (bool value)
 
void LoopChildren ()
 
bool SelfDestruct ()
 
- Protected Attributes inherited from SBS::ObjectBase
SBS * sbs
 

Detailed Description

Definition at line 130 of file sbs.h.

Constructor & Destructor Documentation

◆ SBS()

SBS::SBS::SBS ( Ogre::SceneManager * mSceneManager,
FMOD::System * fmodsystem,
int instance_number,
const Vector3 & position = Vector3::ZERO,
Real rotation = 0.0f,
const Vector3 & area_min = Vector3::ZERO,
const Vector3 & area_max = Vector3::ZERO )

Definition at line 73 of file sbs.cpp.

References SBS::enable_advanced_profiling, SBS::enable_profiling, GIT_REV, and SBS::ToString().

Here is the call graph for this function:

◆ ~SBS()

SBS::SBS::~SBS ( )

Definition at line 270 of file sbs.cpp.

Member Function Documentation

◆ AddAction() [1/2]

Action * SBS::SBS::AddAction ( const std::string & name,
std::vector< Object * > & action_parents,
const std::string & command )

Definition at line 3452 of file sbs.cpp.

◆ AddAction() [2/2]

Action * SBS::SBS::AddAction ( const std::string & name,
std::vector< Object * > & action_parents,
const std::string & command,
const std::vector< std::string > & parameters )

◆ AddActionParent()

bool SBS::SBS::AddActionParent ( const std::string & name,
std::vector< Object * > & parents )

Definition at line 3490 of file sbs.cpp.

References SBS::Action::AddParent().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddControl()

Control * SBS::SBS::AddControl ( const std::string & name,
const std::string & sound,
const std::string & direction,
Real CenterX,
Real CenterZ,
Real width,
Real height,
Real voffset,
int selection_position,
std::vector< std::string > & action_names,
std::vector< std::string > & textures )

Definition at line 3425 of file sbs.cpp.

References SBS::Object::SetPosition().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddCustomFloor()

Wall * SBS::SBS::AddCustomFloor ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
std::vector< Vector2 > & varray,
Real altitude,
Real tw,
Real th )

Definition at line 1487 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddCustomObject() [1/2]

CustomObject * SBS::SBS::AddCustomObject ( const std::string & name,
const Vector3 & position,
const Vector3 & rotation,
Real max_render_distance = 0,
Real scale_multiplier = 1 )

◆ AddCustomObject() [2/2]

void SBS::SBS::AddCustomObject ( CustomObject * object)

Definition at line 3246 of file sbs.cpp.

◆ AddCustomWall()

Wall * SBS::SBS::AddCustomWall ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
PolyArray & varray,
Real tw,
Real th )

Definition at line 1471 of file sbs.cpp.

References SBS::MeshObject::CreateWallObject().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddFloor()

Wall * SBS::SBS::AddFloor ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real altitude1,
Real altitude2,
bool reverse_axis,
bool texture_direction,
Real tw,
Real th,
bool legacy_behavior = false )

Definition at line 1942 of file sbs.cpp.

References SBS::MeshObject::CreateWallObject().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddFloorAutoArea()

◆ AddFloorMain()

bool SBS::SBS::AddFloorMain ( Wall * wallobject,
const std::string & name,
const std::string & texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real altitude1,
Real altitude2,
bool reverse_axis,
bool texture_direction,
Real tw,
Real th,
bool autosize,
bool legacy_behavior = false,
bool report = true )

◆ AddGround()

Wall * SBS::SBS::AddGround ( const std::string & name,
const std::string & texture,
Real x1,
Real z1,
Real x2,
Real z2,
Real altitude,
int tile_x,
int tile_z )

Definition at line 1955 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddKey()

void SBS::SBS::AddKey ( int keyid,
const std::string & name )

Definition at line 3929 of file sbs.cpp.

References SBS::SBS::Key::id, SBS::SBS::Key::name, and SBS::ToString().

Referenced by SBS::Model::OnClick().

Here is the call graph for this function:

◆ AddLight()

Light * SBS::SBS::AddLight ( const std::string & name,
int type )

Definition at line 3148 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddMeshHandle()

void SBS::SBS::AddMeshHandle ( MeshObject * handle)

Definition at line 3157 of file sbs.cpp.

Referenced by SBS::MeshObject::MeshObject().

◆ AddModel() [1/2]

Model * SBS::SBS::AddModel ( const std::string & name,
const std::string & filename,
bool center,
const Vector3 & position,
const Vector3 & rotation,
Real max_render_distance = 0,
Real scale_multiplier = 1,
bool enable_physics = false,
Real restitution = 0,
Real friction = 0,
Real mass = 0 )

◆ AddModel() [2/2]

void SBS::SBS::AddModel ( Model * model)

Definition at line 3198 of file sbs.cpp.

◆ AddPolygon()

void SBS::SBS::AddPolygon ( Wall * wallobject,
const std::string & texture,
PolyArray & varray,
Real tw,
Real th,
bool report = true )

Definition at line 1404 of file sbs.cpp.

References SBS::Wall::AddPolygon(), and SBS::ObjectBase::GetName().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddPrimitive() [1/2]

Primitive * SBS::SBS::AddPrimitive ( const std::string & name)

◆ AddPrimitive() [2/2]

void SBS::SBS::AddPrimitive ( Primitive * primitive)

Definition at line 3222 of file sbs.cpp.

◆ AddReverb()

Reverb * SBS::SBS::AddReverb ( const std::string & name,
const std::string & type,
const Vector3 & position,
Real min_distance,
Real max_distance )

Definition at line 2354 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddSound()

Sound * SBS::SBS::AddSound ( const std::string & name,
const std::string & filename,
const Vector3 & position,
bool loop = true,
Real volume = 1.0,
int speed = 100,
Real min_distance = 1.0,
Real max_distance = -1.0,
Real doppler_level = 0.0,
Real cone_inside_angle = 360,
Real cone_outside_angle = 360,
Real cone_outside_volume = 1.0,
const Vector3 & direction = Vector3(0, 0, 0) )

◆ AddTriangleWall()

Wall * SBS::SBS::AddTriangleWall ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
Real x1,
Real y1,
Real z1,
Real x2,
Real y2,
Real z2,
Real x3,
Real y3,
Real z3,
Real tw,
Real th )

Definition at line 1503 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddTrigger()

Trigger * SBS::SBS::AddTrigger ( const std::string & name,
const std::string & sound_file,
const Vector3 & area_min,
const Vector3 & area_max,
std::vector< std::string > & action_names )

Definition at line 3435 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ AddWall()

Wall * SBS::SBS::AddWall ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
Real thickness,
Real x1,
Real z1,
Real x2,
Real z2,
Real height_in1,
Real height_in2,
Real altitude1,
Real altitude2,
Real tw,
Real th )

Definition at line 1929 of file sbs.cpp.

References SBS::MeshObject::CreateWallObject().

Referenced by SBS::Elevator::CreateCounterweight(), and Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ AddWallMain()

◆ AdvanceClock()

void SBS::SBS::AdvanceClock ( )

Definition at line 3294 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::Run().

◆ AttachCamera()

bool SBS::SBS::AttachCamera ( std::vector< Ogre::Camera * > & cameras,
bool init_state = true )

Definition at line 4275 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::AttachCamera().

◆ CacheFilename()

void SBS::SBS::CacheFilename ( const std::string & filename,
const std::string & result )

◆ CalculateAverageTime()

void SBS::SBS::CalculateAverageTime ( )
private

Definition at line 3338 of file sbs.cpp.

◆ CalculateFrameRate()

void SBS::SBS::CalculateFrameRate ( )

Definition at line 677 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::Run().

◆ CheckAutoAreas()

void SBS::SBS::CheckAutoAreas ( )
private

Definition at line 2235 of file sbs.cpp.

References SBS_PROFILE.

◆ CheckKey()

bool SBS::SBS::CheckKey ( int keyid)

Definition at line 3940 of file sbs.cpp.

Referenced by SBS::DoorLock::ToggleLock(), and SBS::Lock::ToggleLock().

◆ CreatePerson()

Person * SBS::SBS::CreatePerson ( std::string name = "",
int floor = 0,
bool service_access = false )

Definition at line 4247 of file sbs.cpp.

References SBS::ToString().

Referenced by Skyscraper::PeopleManager::On_bNew_Click().

Here is the call graph for this function:

◆ CreateShaft()

Shaft * SBS::SBS::CreateShaft ( int number,
Real CenterX,
Real CenterZ,
int startfloor,
int endfloor )

Definition at line 1691 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ CreateSky()

void SBS::SBS::CreateSky ( )

Definition at line 1553 of file sbs.cpp.

Referenced by Skyscraper::SkySystem::CreateSky().

◆ CreateStairwell()

Stairwell * SBS::SBS::CreateStairwell ( int number,
Real CenterX,
Real CenterZ,
int startfloor,
int endfloor )

Definition at line 1698 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ CreateWallBox()

Wall * SBS::SBS::CreateWallBox ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
Real x1,
Real x2,
Real z1,
Real z2,
Real height_in,
Real voffset,
Real tw,
Real th,
bool inside = true,
bool outside = true,
bool top = true,
bool bottom = true,
bool autosize = true,
bool report = true )

◆ CreateWallBox2()

Wall * SBS::SBS::CreateWallBox2 ( MeshObject * mesh,
const std::string & name,
const std::string & texture,
Real CenterX,
Real CenterZ,
Real WidthX,
Real LengthZ,
Real height_in,
Real voffset,
Real tw,
Real th,
bool inside = true,
bool outside = true,
bool top = true,
bool bottom = true,
bool autosize = true,
bool report = true )

◆ CutInsideBoundaries()

void SBS::SBS::CutInsideBoundaries ( const Vector3 & min,
const Vector3 & max,
bool landscape = true,
bool buildings = true,
bool external = false,
bool floors = false )

Definition at line 4379 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::CutForEngine().

◆ CutOutsideBoundaries()

void SBS::SBS::CutOutsideBoundaries ( bool landscape = true,
bool buildings = true,
bool external = false,
bool floors = false )

Definition at line 4353 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::Start().

◆ DecrementReverbCount()

void SBS::SBS::DecrementReverbCount ( )

Definition at line 2392 of file sbs.cpp.

Referenced by SBS::Reverb::~Reverb().

◆ DecrementSoundCount()

void SBS::SBS::DecrementSoundCount ( )

Definition at line 2349 of file sbs.cpp.

Referenced by SBS::Sound::~Sound().

◆ DeleteMeshHandle()

void SBS::SBS::DeleteMeshHandle ( MeshObject * handle)

Definition at line 3162 of file sbs.cpp.

Referenced by SBS::MeshObject::~MeshObject().

◆ DeleteObject() [1/2]

bool SBS::SBS::DeleteObject ( int object)

Definition at line 2748 of file sbs.cpp.

◆ DeleteObject() [2/2]

◆ DetachCamera()

bool SBS::SBS::DetachCamera ( )

Definition at line 4282 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::DetachCamera().

◆ DrawWalls()

◆ DumpState()

std::string SBS::SBS::DumpState ( )

Definition at line 2531 of file sbs.cpp.

References SBS::BoolToString(), SBS::ToString(), and SBS::TruncateNumber().

Referenced by Skyscraper::CrashHandlerExceptionFilter().

Here is the call graph for this function:

◆ EnableBuildings()

◆ EnableExternal()

◆ EnableFloorRange()

void SBS::SBS::EnableFloorRange ( int floor,
int range,
bool value,
bool enablegroups,
int shaftnumber = 0,
int stairsnumber = 0 )

◆ EnableLandscape()

◆ EnableMalfunctions()

void SBS::SBS::EnableMalfunctions ( bool value)

Definition at line 4148 of file sbs.cpp.

References SBS::Elevator::EnableMalfunctions(), and SBS::Escalator::EnableMalfunctions().

Referenced by Skyscraper::DebugPanel::On_chkMalfunctions_Click().

Here is the call graph for this function:

◆ EnableMap()

void SBS::SBS::EnableMap ( bool value)

Definition at line 4750 of file sbs.cpp.

References SBS::Object::Enabled().

Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().

Here is the call graph for this function:

◆ EnableRandomActivity()

void SBS::SBS::EnableRandomActivity ( bool value)

Definition at line 4109 of file sbs.cpp.

References SBS::Person::EnableRandomActivity(), and SBS::ToString().

Referenced by Skyscraper::DebugPanel::On_chkRandom_Click().

Here is the call graph for this function:

◆ EnableSkybox()

◆ FeetToMeters()

Real SBS::SBS::FeetToMeters ( Real feet)

Definition at line 1923 of file sbs.cpp.

◆ FileExists()

bool SBS::SBS::FileExists ( const std::string & filename)

◆ FindMeshObject()

MeshObject * SBS::SBS::FindMeshObject ( const std::string & name)

Definition at line 3174 of file sbs.cpp.

◆ FromGlobal() [1/2]

Quaternion SBS::SBS::FromGlobal ( const Quaternion & orientation)

Definition at line 4460 of file sbs.cpp.

◆ FromGlobal() [2/2]

◆ GetAction() [1/2]

Action * SBS::SBS::GetAction ( int index)

Definition at line 3890 of file sbs.cpp.

◆ GetAction() [2/2]

◆ GetActionCount()

int SBS::SBS::GetActionCount ( )

◆ GetAreaTrigger()

Trigger * SBS::SBS::GetAreaTrigger ( )

Definition at line 4765 of file sbs.cpp.

Referenced by SBS::SceneNode::Move(), and SBS::SceneNode::SetPosition().

◆ GetAverageTime()

unsigned long SBS::SBS::GetAverageTime ( )

Definition at line 3332 of file sbs.cpp.

Referenced by SBS::Camera::Loop(), and SBS::SoundSystem::SetListenerPosition().

◆ GetBounds()

bool SBS::SBS::GetBounds ( Vector3 & min,
Vector3 & max )

◆ GetCameraTexture()

CameraTexture * SBS::SBS::GetCameraTexture ( int number)

◆ GetCameraTextureCount()

int SBS::SBS::GetCameraTextureCount ( )

Definition at line 4629 of file sbs.cpp.

Referenced by Skyscraper::CameraTextureControl::BuildList().

◆ GetCenter()

Vector3 SBS::SBS::GetCenter ( )

Definition at line 4770 of file sbs.cpp.

◆ GetConfigBool()

bool SBS::SBS::GetConfigBool ( const std::string & key,
bool default_value )

◆ GetConfigFloat()

◆ GetConfigInt()

int SBS::SBS::GetConfigInt ( const std::string & key,
int default_value )

◆ GetConfigString()

std::string SBS::SBS::GetConfigString ( const std::string & key,
const std::string & default_value )

◆ GetController()

◆ GetControllerCount()

int SBS::SBS::GetControllerCount ( )

◆ GetControllerManager()

ControllerManager * SBS::SBS::GetControllerManager ( )

Definition at line 4603 of file sbs.cpp.

◆ GetCurrentTime()

unsigned long SBS::SBS::GetCurrentTime ( )

◆ GetCustomObject()

CustomObject * SBS::SBS::GetCustomObject ( std::string name)

Definition at line 4512 of file sbs.cpp.

References SBS::SetCase(), and SBS::SetCaseCopy().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ GetDirectRoute()

ElevatorRoute * SBS::SBS::GetDirectRoute ( Floor * floor,
int DestinationFloor,
bool service_access = false )
private

Definition at line 106 of file route.cpp.

References SBS::Floor::GetDirectRoute(), and SBS_PROFILE.

Here is the call graph for this function:

◆ GetDistance()

Real SBS::SBS::GetDistance ( Real x1,
Real x2,
Real z1,
Real z2 )

Definition at line 1678 of file sbs.cpp.

◆ GetDoorManager()

DoorManager * SBS::SBS::GetDoorManager ( )

Definition at line 4583 of file sbs.cpp.

Referenced by SBS::Floor::AddDoor(), and SBS::Door::~Door().

◆ GetDrawWallsCount()

int SBS::SBS::GetDrawWallsCount ( )

Definition at line 1895 of file sbs.cpp.

◆ GetElapsedTime()

unsigned long SBS::SBS::GetElapsedTime ( )

◆ GetElevator()

Elevator * SBS::SBS::GetElevator ( int number)

Definition at line 1776 of file sbs.cpp.

Referenced by SBS::Floor::AddDirectionalIndicator(), SBS::DispatchController::AddElevator(), SBS::Floor::AddFloorIndicator(), SBS::DispatchController::AtMaxRequests(), SBS::DispatchController::CallElevator(), SBS::Shaft::Check(), SBS::DispatchController::CheckArrivals(), SBS::Camera::CheckElevator(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DispatchController::DispatchElevator(), SBS::DirectionalIndicator::DownLight(), SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::DispatchController::ElevatorUnavailable(), SBS::Shaft::Level::Enabled(), SBS::DispatchController::FindClosestElevator(), SBS::DispatchController::FireService(), SBS::FloorIndicator::FloorIndicator(), SBS::Floor::GetDirectFloors(), SBS::Floor::GetDirectRoute(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::Floor::GetElevatorList(), SBS::DispatchController::GetFloorRange(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::DispatchController::GetRecallFloor(), SBS::DispatchController::IsServicedFloor(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::On_chkElevators_Click(), Skyscraper::editelevator::OnInit(), SBS::Person::ProcessRoute(), SBS::DispatchController::ProcessRoutes(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::DispatchController::RemoveElevator(), SBS::DispatchController::RequestRoute(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::DispatchController::ServesFloor(), SBS::FloorIndicator::Update(), SBS::Floor::UpdateDirectionalIndicators(), SBS::Floor::UpdateDirectionalIndicators(), and SBS::DirectionalIndicator::UpLight().

◆ GetElevatorCount()

◆ GetElevatorManager()

ElevatorManager * SBS::SBS::GetElevatorManager ( )

Definition at line 4568 of file sbs.cpp.

Referenced by SBS::Camera::Attach().

◆ GetEscalator()

Escalator * SBS::SBS::GetEscalator ( int index)

◆ GetEscalatorCount()

int SBS::SBS::GetEscalatorCount ( )

Definition at line 4049 of file sbs.cpp.

Referenced by Skyscraper::EscalatorControl::BuildList().

◆ GetFilesystemPath()

std::string SBS::SBS::GetFilesystemPath ( std::string filename)

Definition at line 3045 of file sbs.cpp.

References SBS::ReplaceAll(), and SBS::TrimString().

Referenced by SBS::SoundSystem::Load().

Here is the call graph for this function:

◆ GetFloor()

Floor * SBS::SBS::GetFloor ( int number)

Definition at line 1769 of file sbs.cpp.

Referenced by SBS::ElevatorCar::AddDirectionalIndicators(), SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::Shaft::Level::AddFloor(), SBS::ElevatorCar::AddFloorSigns(), SBS::Elevator::AddRails(), SBS::Elevator::AddRoute(), SBS::Floor::CalculateAltitude(), SBS::CallStation::CallStation(), SBS::Shaft::Check(), SBS::Stairwell::Check(), SBS::ElevatorDoor::Chime(), SBS::ElevatorDoor::CloseDoors(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateCounterweight(), SBS::Elevator::CreateElevator(), SBS::Shaft::Level::Cut(), SBS::Stairwell::Level::Cut(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::Elevator::DeleteRoute(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DispatchController::DispatchElevator(), SBS::DoorWrapper::DoorWrapper(), SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::ElevatorDoor::EarlyChime(), SBS::DispatchController::ElevatorArrived(), SBS::Floor::Enabled(), SBS::Elevator::EnableDownPeak(), SBS::Floor::EnableGroup(), SBS::Elevator::EnableInspectionService(), SBS::Shaft::EnableRange(), SBS::Stairwell::EnableRange(), SBS::Elevator::EnableUpPeak(), SBS::ElevatorDoor::FinishDoors(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::FinishShaftDoor(), SBS::FloorIndicator::FloorIndicator(), SBS::ElevatorCar::GetDestinationAltitude(), SBS::ElevatorCar::GetDestinationOffset(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::ElevatorCar::GetFloorDisplay(), SBS::Elevator::GetLobbies(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::ElevatorCar::GetNearestServicedFloor(), SBS::Elevator::GetPrimaryCallStation(), SBS::Person::GetStatus(), SBS::Elevator::Go(), SBS::Camera::GotoFloor(), SBS::Person::GotoFloor(), SBS::Stairwell::IsInside(), SBS::Shaft::Level::Level(), SBS::Stairwell::Level::Level(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::Loop(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveObjects(), Skyscraper::DebugPanel::On_bFloorInfo_Click(), Skyscraper::MeshControl::On_chkAllColumnFrames_Click(), Skyscraper::MeshControl::On_chkAllFloors_Click(), Skyscraper::MeshControl::On_chkAllInterfloors_Click(), Skyscraper::MeshControl::On_chkColumnFrame_Click(), Skyscraper::MeshControl::On_chkFloor_Click(), Skyscraper::MeshControl::On_chkInterfloor_Click(), SBS::ElevatorDoor::OpenDoors(), SBS::Elevator::ProcessCallQueue(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), SBS::Person::ProcessRoute(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::DispatchController::RequestRoute(), SBS::Camera::ResetState(), SBS::Action::Run(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::ElevatorCar::SetDirectionalIndicators(), SBS::ElevatorCar::SetFloor(), SBS::Person::SetFloor(), SBS::CallStation::SetPosition(), SBS::Camera::SetToStartPosition(), SBS::Shaft::Shaft(), SBS::Stairwell::Stairwell(), SBS::ElevatorDoor::StopDoors(), and SBS::Camera::UpdateCameraFloor().

◆ GetFloorManager()

FloorManager * SBS::SBS::GetFloorManager ( )

◆ GetFloorNumber()

◆ GetFloorOrientation()

int SBS::SBS::GetFloorOrientation ( )

Definition at line 1858 of file sbs.cpp.

◆ GetGeometry()

GeometryController * SBS::SBS::GetGeometry ( )

Definition at line 4646 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ GetIndirectRoute()

std::vector< ElevatorRoute * > SBS::SBS::GetIndirectRoute ( std::vector< int > & checked_floors,
int StartingFloor,
int DestinationFloor,
bool service_access = false,
bool top_level = true )
private

◆ GetLight()

Light * SBS::SBS::GetLight ( std::string name)

Definition at line 4467 of file sbs.cpp.

References SBS::SetCase(), and SBS::SetCaseCopy().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ GetMeshCount()

int SBS::SBS::GetMeshCount ( )

Definition at line 2289 of file sbs.cpp.

Referenced by Skyscraper::VM::GetGlobalStats(), and Skyscraper::Stats::Loop().

◆ GetModel()

Model * SBS::SBS::GetModel ( std::string name)

Definition at line 4482 of file sbs.cpp.

References SBS::SetCase(), and SBS::SetCaseCopy().

Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject().

Here is the call graph for this function:

◆ GetMountPath()

std::string SBS::SBS::GetMountPath ( std::string filename,
std::string & newfilename )

◆ GetMovingWalkway()

MovingWalkway * SBS::SBS::GetMovingWalkway ( int index)

◆ GetMovingWalkwayCount()

int SBS::SBS::GetMovingWalkwayCount ( )

Definition at line 4055 of file sbs.cpp.

Referenced by Skyscraper::WalkwayControl::BuildList().

◆ GetObject() [1/2]

◆ GetObject() [2/2]

Object * SBS::SBS::GetObject ( std::string name,
bool case_sensitive = true )

Definition at line 3596 of file sbs.cpp.

References SBS::IsNumeric(), SBS::ReplaceAll(), SBS::SetCase(), and SBS::ToInt().

Here is the call graph for this function:

◆ GetObjectCount()

int SBS::SBS::GetObjectCount ( )

◆ GetObjectOfParent()

Object * SBS::SBS::GetObjectOfParent ( std::string parent_name,
std::string name,
const std::string & type,
bool case_sensitive = true )

Definition at line 3758 of file sbs.cpp.

References SBS::ObjectBase::GetName(), SBS::ObjectBase::GetParent(), SBS::Object::GetType(), SBS::ReplaceAll(), and SBS::SetCase().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ GetObjectRange()

std::vector< Object * > SBS::SBS::GetObjectRange ( const std::string & expression)

Definition at line 3806 of file sbs.cpp.

References SBS::IsNumeric(), SBS::ToString(), and SBS::TrimString().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ GetPerson()

Person * SBS::SBS::GetPerson ( int number)

◆ GetPersonCount()

int SBS::SBS::GetPersonCount ( )

Definition at line 4553 of file sbs.cpp.

Referenced by Skyscraper::PeopleManager::BuildList().

◆ GetPolygonCount()

int SBS::SBS::GetPolygonCount ( )

Definition at line 3101 of file sbs.cpp.

Referenced by Skyscraper::VM::GetGlobalStats(), and Skyscraper::Stats::Loop().

◆ GetPower()

bool SBS::SBS::GetPower ( )

Definition at line 4731 of file sbs.cpp.

Referenced by SBS::DispatchController::AddElevator(), SBS::Elevator::AddRoute(), SBS::ElevatorCar::AddServicedFloor(), SBS::ElevatorCar::Alarm(), SBS::DispatchController::AssignElevator(), SBS::DispatchController::AtMaxRequests(), SBS::Elevator::AvailableForCall(), SBS::Elevator::CallCancel(), SBS::Elevator::CallCancelAll(), SBS::DispatchController::CallElevator(), SBS::Elevator::CancelHallCall(), SBS::ElevatorDoor::CheckSensor(), SBS::ElevatorCar::Chime(), SBS::ElevatorDoor::Chime(), SBS::Elevator::CloseDoors(), SBS::ElevatorCar::CloseDoors(), SBS::ElevatorDoor::CloseDoors(), SBS::Elevator::DeleteActiveRoute(), SBS::Elevator::DeleteRoute(), SBS::DispatchController::DispatchElevator(), SBS::Elevator::Down(), SBS::Elevator::Down(), SBS::ElevatorCar::DumpServicedFloors(), SBS::ElevatorDoor::EarlyChime(), SBS::DispatchController::ElevatorArrived(), SBS::DispatchController::ElevatorUnavailable(), SBS::Elevator::EnableACP(), SBS::Elevator::EnableDownPeak(), SBS::Elevator::EnableFireService1(), SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::EnableMalfunctions(), SBS::Escalator::EnableMalfunctions(), SBS::Elevator::EnableNudgeMode(), SBS::ElevatorCar::EnableNudgeMode(), SBS::ElevatorDoor::EnableNudgeMode(), SBS::ElevatorCar::EnableSensor(), SBS::ElevatorDoor::EnableSensor(), SBS::Elevator::EnableUpPeak(), SBS::DispatchController::FindClosestElevator(), SBS::DispatchController::FireService(), SBS::ElevatorCar::FlashIndicators(), SBS::DispatchController::GetCallStatus(), SBS::DispatchController::GetElevatorArrived(), SBS::DispatchController::GetElevatorArrivedStandard(), SBS::ElevatorCar::GetFloorDisplay(), SBS::ElevatorCar::GetNearestServicedFloor(), SBS::Elevator::Go(), SBS::Elevator::GoToRecallFloor(), SBS::ElevatorDoor::Hold(), SBS::Elevator::HoldDoors(), SBS::ElevatorCar::Input(), SBS::DispatchController::IsElevatorAssigned(), SBS::DispatchController::IsElevatorAssignedToOther(), SBS::Elevator::IsIdle(), SBS::DirectionalIndicator::Loop(), SBS::DispatchController::Loop(), SBS::Elevator::Loop(), SBS::ElevatorCar::Loop(), SBS::ElevatorDoor::Loop(), SBS::Escalator::Loop(), SBS::FloorIndicator::Loop(), SBS::Indicator::Loop(), SBS::MovingWalkway::Loop(), SBS::RevolvingDoor::Loop(), SBS::Escalator::Malfunction(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveDown(), SBS::Elevator::MoveUp(), SBS::Elevator::Timer::Notify(), SBS::ElevatorDoor::Timer::Notify(), SBS::Escalator::Timer::Notify(), SBS::Elevator::NotifyArrival(), SBS::ElevatorCar::NotifyArrival(), SBS::Escalator::OnClick(), SBS::MovingWalkway::OnClick(), SBS::RevolvingDoor::OnHit(), Skyscraper::DebugPanel::OnInit(), SBS::Elevator::OpenDoors(), SBS::ElevatorCar::OpenDoors(), SBS::ElevatorDoor::OpenDoors(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Elevator::ProcessCallQueue(), SBS::DispatchController::RegisterCallStation(), SBS::DispatchController::RemoveElevator(), SBS::DispatchController::RemoveRoute(), SBS::ElevatorCar::RemoveServicedFloor(), SBS::DispatchController::RequestRoute(), SBS::DispatchController::ResetArrival(), SBS::ElevatorCar::ResetDoors(), SBS::ElevatorCar::ResetDoorState(), SBS::ElevatorDoor::ResetNudgeTimer(), SBS::Elevator::ReturnToBottomFloor(), SBS::Elevator::ReturnToNearestFloor(), SBS::Elevator::RouteExists(), SBS::RevolvingDoor::Run(), SBS::DispatchController::SameElevators(), SBS::Elevator::SelectFloor(), SBS::DispatchController::ServesFloor(), SBS::DispatchController::ServicesElevator(), SBS::Elevator::SetACPFloor(), SBS::Elevator::SetAlternateRecallFloor(), SBS::Elevator::SetDownButton(), SBS::Elevator::SetGoButton(), SBS::Elevator::SetRecallFloor(), SBS::Elevator::SetUpButton(), SBS::DispatchController::UnregisterCallStation(), SBS::Elevator::Up(), and SBS::Elevator::Up().

◆ GetPrimitive()

Primitive * SBS::SBS::GetPrimitive ( std::string name)

Definition at line 4497 of file sbs.cpp.

References SBS::SetCase(), and SBS::SetCaseCopy().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ GetReverb() [1/2]

Reverb * SBS::SBS::GetReverb ( const std::string & name)

Definition at line 2362 of file sbs.cpp.

References SBS::SetCase().

Referenced by SBS::Sound::GetNearestReverbPosition().

Here is the call graph for this function:

◆ GetReverb() [2/2]

Reverb * SBS::SBS::GetReverb ( int index)

Definition at line 4743 of file sbs.cpp.

◆ GetReverbCount()

int SBS::SBS::GetReverbCount ( )

Definition at line 4738 of file sbs.cpp.

Referenced by SBS::Sound::GetNearestReverbPosition().

◆ GetRevolvingDoorManager()

RevolvingDoorManager * SBS::SBS::GetRevolvingDoorManager ( )

Definition at line 4593 of file sbs.cpp.

Referenced by SBS::Floor::AddRevolvingDoor(), and SBS::RevolvingDoor::~RevolvingDoor().

◆ GetRouteToFloor()

std::vector< ElevatorRoute * > SBS::SBS::GetRouteToFloor ( int StartingFloor,
int DestinationFloor,
bool service_access = false )

Definition at line 40 of file route.cpp.

References SBS::Floor::GetDirectFloors(), and SBS_PROFILE.

Referenced by SBS::Person::GotoFloor().

Here is the call graph for this function:

◆ GetRunTime()

unsigned long SBS::SBS::GetRunTime ( )

◆ GetShaft()

◆ GetShaftCount()

◆ GetShaftManager()

ShaftManager * SBS::SBS::GetShaftManager ( )

Definition at line 4573 of file sbs.cpp.

◆ GetSound()

std::vector< Sound * > SBS::SBS::GetSound ( const std::string & name)

Definition at line 2318 of file sbs.cpp.

References SBS::SetCase().

Referenced by SBS::Action::Run().

Here is the call graph for this function:

◆ GetSoundCount()

int SBS::SBS::GetSoundCount ( )

Definition at line 2338 of file sbs.cpp.

Referenced by Skyscraper::VM::GetGlobalStats(), and Skyscraper::Stats::Loop().

◆ GetSoundSystem()

◆ GetStairwell()

◆ GetStairwellCount()

◆ GetStairwellManager()

StairwellManager * SBS::SBS::GetStairwellManager ( )

Definition at line 4578 of file sbs.cpp.

◆ GetTextureCount()

int SBS::SBS::GetTextureCount ( )

Definition at line 4757 of file sbs.cpp.

Referenced by Skyscraper::VM::GetGlobalStats(), and Skyscraper::Stats::Loop().

◆ GetTextureManager()

TextureManager * SBS::SBS::GetTextureManager ( )

◆ GetTimerCallbackCount()

int SBS::SBS::GetTimerCallbackCount ( )

Definition at line 2198 of file sbs.cpp.

◆ GetTotalFloors()

int SBS::SBS::GetTotalFloors ( )

Definition at line 1745 of file sbs.cpp.

Referenced by SBS::Person::GetRandomFloor().

◆ GetTotalReverbCount()

int SBS::SBS::GetTotalReverbCount ( )

Definition at line 2381 of file sbs.cpp.

◆ GetUtility()

◆ GetVehicle()

Vehicle * SBS::SBS::GetVehicle ( int number)

Definition at line 1797 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::VehicleSection::Run().

◆ GetVehicleCount()

int SBS::SBS::GetVehicleCount ( )

Definition at line 1739 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::ProcessSections().

◆ GetVehicleManager()

VehicleManager * SBS::SBS::GetVehicleManager ( )

Definition at line 4598 of file sbs.cpp.

Referenced by SBS::Vehicle::~Vehicle().

◆ GetWallCount()

int SBS::SBS::GetWallCount ( )

Definition at line 3095 of file sbs.cpp.

Referenced by Skyscraper::VM::GetGlobalStats(), and Skyscraper::Stats::Loop().

◆ GetWallOrientation()

int SBS::SBS::GetWallOrientation ( )

Definition at line 1832 of file sbs.cpp.

Referenced by SBS::Floor::AddFillerWalls().

◆ HasBounds()

bool SBS::SBS::HasBounds ( )

Definition at line 4558 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().

◆ HitBeam()

bool SBS::SBS::HitBeam ( const Ray & ray,
Real max_distance,
MeshObject *& mesh,
Wall *& wall,
Vector3 & hit_position )

Definition at line 4061 of file sbs.cpp.

References SBS::PolyMesh::FindWallIntersect(), and SBS::MeshObject::GetPolyMesh().

Referenced by SBS::Camera::AttachToVehicle(), SBS::Camera::ClickedObject(), and SBS::Camera::PickUpModel().

Here is the call graph for this function:

◆ InBox()

bool SBS::SBS::InBox ( const Vector3 & start,
const Vector3 & end,
const Vector3 & test )

Definition at line 3285 of file sbs.cpp.

◆ IncrementReverbCount()

void SBS::SBS::IncrementReverbCount ( )

Definition at line 2387 of file sbs.cpp.

Referenced by SBS::Reverb::Reverb().

◆ IncrementSoundCount()

void SBS::SBS::IncrementSoundCount ( )

Definition at line 2344 of file sbs.cpp.

Referenced by SBS::Sound::Sound().

◆ Initialize()

void SBS::SBS::Initialize ( )

Definition at line 221 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::InitSim().

◆ IsActionValid()

bool SBS::SBS::IsActionValid ( Action * action)

Definition at line 4235 of file sbs.cpp.

◆ IsInside() [1/2]

bool SBS::SBS::IsInside ( )

◆ IsInside() [2/2]

bool SBS::SBS::IsInside ( const Vector3 & position)

Definition at line 4328 of file sbs.cpp.

◆ IsObjectValid()

bool SBS::SBS::IsObjectValid ( Object * object,
std::string type = "" )

Definition at line 4173 of file sbs.cpp.

◆ IsValidFloor()

◆ ListKeys()

void SBS::SBS::ListKeys ( )

Definition at line 3952 of file sbs.cpp.

References SBS::ToString().

Referenced by Skyscraper::DebugPanel::On_bKeys_Click().

Here is the call graph for this function:

◆ ListVisibleMeshes()

void SBS::SBS::ListVisibleMeshes ( )

Definition at line 4022 of file sbs.cpp.

References SBS::ToString().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ Loop()

void SBS::SBS::Loop ( bool loading,
bool isready )

Definition at line 591 of file sbs.cpp.

References SBS::enable_advanced_profiling, SBS_PROFILE_MAIN, SBS::ProfileManager::Start_Profile(), and SBS::ProfileManager::Stop_Profile().

Referenced by Skyscraper::EngineContext::Run().

Here is the call graph for this function:

◆ MemoryReport()

void SBS::SBS::MemoryReport ( )

Definition at line 4651 of file sbs.cpp.

References SBS::ToString().

Here is the call graph for this function:

◆ MetersToFeet()

Real SBS::SBS::MetersToFeet ( Real meters)

Definition at line 1917 of file sbs.cpp.

◆ Mount()

bool SBS::SBS::Mount ( const std::string & filename,
const std::string & path )

Definition at line 2204 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

◆ MoveObject()

◆ NewController()

DispatchController * SBS::SBS::NewController ( int number)

◆ NewElevator()

Elevator * SBS::SBS::NewElevator ( int number)

Definition at line 1705 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::ElevatorSection::Run().

◆ NewFloor()

Floor * SBS::SBS::NewFloor ( int number)

Definition at line 1712 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::Run().

◆ NewVehicle()

Vehicle * SBS::SBS::NewVehicle ( int number)

Definition at line 1719 of file sbs.cpp.

References SBS::Vehicle::Create().

Referenced by Skyscraper::ScriptProcessor::VehicleSection::Run().

Here is the call graph for this function:

◆ Prepare()

void SBS::SBS::Prepare ( bool report = true,
bool renderonly = false )

Definition at line 3107 of file sbs.cpp.

References SBS_PROFILE_MAIN, and SBS::ToString().

Referenced by Skyscraper::EngineContext::CutForEngine(), and Skyscraper::EngineContext::Run().

Here is the call graph for this function:

◆ PrintBanner()

void SBS::SBS::PrintBanner ( )
private

Definition at line 581 of file sbs.cpp.

◆ ProcessFullName()

std::string SBS::SBS::ProcessFullName ( std::string name,
int & instance,
int & object_number,
bool strip_number = false )

Definition at line 4287 of file sbs.cpp.

References SBS::ToInt().

Referenced by SBS::Camera::Loop().

Here is the call graph for this function:

◆ ProcessTimers()

void SBS::SBS::ProcessTimers ( )

Definition at line 2186 of file sbs.cpp.

References SBS_PROFILE.

◆ RegisterCameraTexture()

void SBS::SBS::RegisterCameraTexture ( CameraTexture * camtex)

Definition at line 4608 of file sbs.cpp.

Referenced by SBS::CameraTexture::CameraTexture().

◆ RegisterControl()

void SBS::SBS::RegisterControl ( Control * control)

Definition at line 3966 of file sbs.cpp.

Referenced by SBS::Control::Control().

◆ RegisterDynamicMesh()

void SBS::SBS::RegisterDynamicMesh ( DynamicMesh * dynmesh)

Definition at line 4527 of file sbs.cpp.

Referenced by SBS::DynamicMesh::DynamicMesh().

◆ RegisterEscalator()

void SBS::SBS::RegisterEscalator ( Escalator * escalator)

Definition at line 4670 of file sbs.cpp.

Referenced by SBS::Escalator::Escalator().

◆ RegisterMovingWalkway()

void SBS::SBS::RegisterMovingWalkway ( MovingWalkway * walkway)

Definition at line 4697 of file sbs.cpp.

Referenced by SBS::MovingWalkway::MovingWalkway().

◆ RegisterObject()

int SBS::SBS::RegisterObject ( Object * object)

Definition at line 2491 of file sbs.cpp.

Referenced by SBS::Object::Object().

◆ RegisterTimerCallback()

bool SBS::SBS::RegisterTimerCallback ( TimerObject * timer)

Definition at line 2149 of file sbs.cpp.

Referenced by SBS::TimerObject::Start().

◆ RemoveAction() [1/2]

bool SBS::SBS::RemoveAction ( Action * action)

Definition at line 3569 of file sbs.cpp.

◆ RemoveAction() [2/2]

bool SBS::SBS::RemoveAction ( std::string name)

Definition at line 3545 of file sbs.cpp.

References SBS::ReplaceAll().

Referenced by Skyscraper::ActionViewer::On_bDelete_Click(), SBS::ButtonPanel::~ButtonPanel(), and SBS::ElevatorDoor::~ElevatorDoor().

Here is the call graph for this function:

◆ RemoveActionParent() [1/2]

bool SBS::SBS::RemoveActionParent ( const std::string & name,
std::vector< Object * > & parents )

Definition at line 3509 of file sbs.cpp.

References SBS::Action::RemoveParent().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ RemoveActionParent() [2/2]

bool SBS::SBS::RemoveActionParent ( std::vector< Object * > & parents)

Definition at line 3528 of file sbs.cpp.

References SBS::Action::RemoveParent().

Here is the call graph for this function:

◆ RemoveControl()

void SBS::SBS::RemoveControl ( Control * control)

Definition at line 2913 of file sbs.cpp.

Referenced by SBS::Control::~Control().

◆ RemoveController()

void SBS::SBS::RemoveController ( DispatchController * controller)

Definition at line 2939 of file sbs.cpp.

Referenced by SBS::DispatchController::~DispatchController().

◆ RemoveCustomObject()

void SBS::SBS::RemoveCustomObject ( CustomObject * object)

Definition at line 2900 of file sbs.cpp.

Referenced by SBS::CustomObject::RemoveFromParent().

◆ RemoveElevator()

void SBS::SBS::RemoveElevator ( Elevator * elevator)

Definition at line 2810 of file sbs.cpp.

Referenced by SBS::Elevator::~Elevator().

◆ RemoveFloor()

void SBS::SBS::RemoveFloor ( Floor * floor)

Definition at line 2803 of file sbs.cpp.

Referenced by SBS::Floor::~Floor().

◆ RemoveLight()

void SBS::SBS::RemoveLight ( Light * light)

Definition at line 2861 of file sbs.cpp.

Referenced by SBS::Light::~Light().

◆ RemoveModel()

void SBS::SBS::RemoveModel ( Model * model)

Definition at line 2874 of file sbs.cpp.

Referenced by SBS::Model::RemoveFromParent().

◆ RemovePerson()

void SBS::SBS::RemovePerson ( Person * person)

Definition at line 4261 of file sbs.cpp.

Referenced by SBS::Person::~Person().

◆ RemovePrimitive()

void SBS::SBS::RemovePrimitive ( Primitive * prim)

Definition at line 2887 of file sbs.cpp.

Referenced by SBS::Primitive::RemoveFromParent().

◆ RemoveReverb()

void SBS::SBS::RemoveReverb ( Reverb * reverb)

Definition at line 2846 of file sbs.cpp.

Referenced by SBS::Reverb::~Reverb().

◆ RemoveShaft()

void SBS::SBS::RemoveShaft ( Shaft * shaft)

Definition at line 2817 of file sbs.cpp.

Referenced by SBS::Shaft::~Shaft().

◆ RemoveSound()

void SBS::SBS::RemoveSound ( Sound * sound)

Definition at line 2831 of file sbs.cpp.

Referenced by SBS::Sound::~Sound().

◆ RemoveStairwell()

void SBS::SBS::RemoveStairwell ( Stairwell * stairs)

Definition at line 2824 of file sbs.cpp.

Referenced by SBS::Stairwell::~Stairwell().

◆ RemoveTrigger()

void SBS::SBS::RemoveTrigger ( Trigger * trigger)

Definition at line 2926 of file sbs.cpp.

Referenced by SBS::Trigger::~Trigger().

◆ ResetLighting()

void SBS::SBS::ResetLighting ( )

Definition at line 3418 of file sbs.cpp.

Referenced by SBS::TextureManager::TextureManager().

◆ ResetState()

void SBS::SBS::ResetState ( )
virtual

Reimplemented from SBS::Object.

Definition at line 4412 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::DetachCamera().

◆ ResetWalls()

◆ RotateObject()

◆ RunAction() [1/2]

bool SBS::SBS::RunAction ( const std::string & name)

◆ RunAction() [2/2]

bool SBS::SBS::RunAction ( int index)

Definition at line 3918 of file sbs.cpp.

References SBS::Action::DoAction().

Here is the call graph for this function:

◆ SetBounds()

void SBS::SBS::SetBounds ( const Vector3 & area_min,
const Vector3 & area_max )

Definition at line 4398 of file sbs.cpp.

Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().

◆ SetFloorOrientation()

bool SBS::SBS::SetFloorOrientation ( std::string direction)

Definition at line 1837 of file sbs.cpp.

References SBS::SetCase().

Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ SetLighting()

void SBS::SBS::SetLighting ( Real red = 1.0,
Real green = 1.0,
Real blue = 1.0 )

◆ SetPower()

void SBS::SBS::SetPower ( bool value)

Definition at line 4724 of file sbs.cpp.

Referenced by Skyscraper::DebugPanel::On_chkPower_Click().

◆ SetWallOrientation()

bool SBS::SBS::SetWallOrientation ( std::string direction)

◆ ShowBoundingBoxes()

void SBS::SBS::ShowBoundingBoxes ( bool value)

Definition at line 4015 of file sbs.cpp.

Referenced by Skyscraper::Skyscraper::keyPressed().

◆ ShowColliders()

void SBS::SBS::ShowColliders ( bool value)

Definition at line 3385 of file sbs.cpp.

Referenced by Skyscraper::Skyscraper::keyPressed().

◆ ShowFloorList()

void SBS::SBS::ShowFloorList ( )

Definition at line 3986 of file sbs.cpp.

References SBS::Floor::ShowInfo().

Referenced by Skyscraper::DebugPanel::On_bFloorList_Click(), and Skyscraper::ScriptProcessor::CommandsSection::Run().

Here is the call graph for this function:

◆ ShowSceneNodes()

void SBS::SBS::ShowSceneNodes ( bool value)

Definition at line 4008 of file sbs.cpp.

◆ Start()

bool SBS::SBS::Start ( std::vector< Ogre::Camera * > & cameras)

Definition at line 528 of file sbs.cpp.

Referenced by Skyscraper::EngineContext::Start().

◆ ToGlobal() [1/2]

Quaternion SBS::SBS::ToGlobal ( const Quaternion & orientation)

Definition at line 4453 of file sbs.cpp.

◆ ToGlobal() [2/2]

◆ ToLocal() [1/3]

Vector2 SBS::SBS::ToLocal ( const Vector2 & remote_value)

Definition at line 2407 of file sbs.cpp.

◆ ToLocal() [2/3]

Vector3 SBS::SBS::ToLocal ( const Vector3 & remote_value,
bool rescale = true,
bool flip_z = true )

Definition at line 2417 of file sbs.cpp.

◆ ToLocal() [3/3]

◆ ToRemote() [1/3]

Vector2 SBS::SBS::ToRemote ( const Vector2 & local_value)

Definition at line 2447 of file sbs.cpp.

◆ ToRemote() [2/3]

Vector3 SBS::SBS::ToRemote ( const Vector3 & local_value,
bool rescale = true,
bool flip_z = true )

Definition at line 2457 of file sbs.cpp.

◆ ToRemote() [3/3]

◆ UnregisterCameraTexture()

void SBS::SBS::UnregisterCameraTexture ( CameraTexture * camtex)

Definition at line 4615 of file sbs.cpp.

Referenced by SBS::CameraTexture::~CameraTexture().

◆ UnregisterControl()

void SBS::SBS::UnregisterControl ( Control * control)

Definition at line 3972 of file sbs.cpp.

Referenced by SBS::Control::~Control().

◆ UnregisterDynamicMesh()

void SBS::SBS::UnregisterDynamicMesh ( DynamicMesh * dynmesh)

Definition at line 4534 of file sbs.cpp.

Referenced by SBS::DynamicMesh::~DynamicMesh().

◆ UnregisterEscalator()

void SBS::SBS::UnregisterEscalator ( Escalator * escalator)

Definition at line 4676 of file sbs.cpp.

Referenced by SBS::Escalator::~Escalator().

◆ UnregisterMovingWalkway()

void SBS::SBS::UnregisterMovingWalkway ( MovingWalkway * walkway)

Definition at line 4703 of file sbs.cpp.

Referenced by SBS::MovingWalkway::~MovingWalkway().

◆ UnregisterObject()

bool SBS::SBS::UnregisterObject ( int number)

Definition at line 2499 of file sbs.cpp.

Referenced by SBS::Object::~Object().

◆ UnregisterTimerCallback()

bool SBS::SBS::UnregisterTimerCallback ( TimerObject * timer)

Definition at line 2168 of file sbs.cpp.

Referenced by SBS::TimerObject::Stop().

◆ VerifyFile() [1/2]

◆ VerifyFile() [2/2]

std::string SBS::SBS::VerifyFile ( std::string filename,
bool & result,
bool skip_cache )

Definition at line 2952 of file sbs.cpp.

References SBS::ReplaceAll(), SBS::SetCaseCopy(), and SBS::TrimString().

Here is the call graph for this function:

Member Data Documentation

◆ ActionArray

std::vector<Action*> SBS::SBS::ActionArray
private

Definition at line 477 of file sbs.h.

◆ AmbientB

Real SBS::SBS::AmbientB

Definition at line 428 of file sbs.h.

Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().

◆ AmbientG

Real SBS::SBS::AmbientG

Definition at line 428 of file sbs.h.

Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().

◆ AmbientR

Real SBS::SBS::AmbientR

Definition at line 428 of file sbs.h.

Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().

◆ area_trigger

Trigger* SBS::SBS::area_trigger
private

Definition at line 584 of file sbs.h.

◆ AutoShafts

bool SBS::SBS::AutoShafts

◆ AutoStairs

bool SBS::SBS::AutoStairs

◆ average_time

unsigned long SBS::SBS::average_time
private

Definition at line 554 of file sbs.h.

◆ Basements

◆ BuildingDescription

std::string SBS::SBS::BuildingDescription

◆ BuildingDesigner

std::string SBS::SBS::BuildingDesigner

◆ BuildingFilename

◆ BuildingLocation

std::string SBS::SBS::BuildingLocation

◆ BuildingName

std::string SBS::SBS::BuildingName

◆ Buildings

MeshObject* SBS::SBS::Buildings

Definition at line 423 of file sbs.h.

Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject(), and SBS::Action::Run().

◆ BuildingVersion

std::string SBS::SBS::BuildingVersion

◆ camera

Camera* SBS::SBS::camera

Definition at line 160 of file sbs.h.

Referenced by SBS::Floor::AddSound(), SBS::ElevatorCar::Alarm(), SBS::Shaft::Check(), Skyscraper::HAL::ClickedObject(), SBS::ElevatorCar::CloseDoors(), SBS::Elevator::Down(), SBS::MeshObject::EnableCollider(), SBS::MeshObject::Enabled(), Skyscraper::Skyscraper::EnableFreelook(), SBS::PolyMesh::FindWallIntersect(), SBS::ElevatorDoor::FinishDoors(), SBS::Elevator::FinishMove(), Skyscraper::EngineContext::GetCameraPosition(), Skyscraper::EngineContext::GetCameraState(), Skyscraper::Skyscraper::GetKeyStates(), SBS::Elevator::Go(), Skyscraper::Skyscraper::HandleMouseMovement(), Skyscraper::EngineContext::IsCameraActive(), SBS::CustomObject::IsPickedUp(), SBS::Model::IsPickedUp(), SBS::Primitive::IsPickedUp(), Skyscraper::Skyscraper::keyPressed(), SBS::SoundSystem::Loop(), SBS::Trigger::Loop(), SBS::Vehicle::Loop(), Skyscraper::CameraControl::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::Loop(), Skyscraper::ObjectInfo::Loop(), Skyscraper::Skyscraper::mouseMoved(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveObjects(), SBS::Escalator::MoveSteps(), SBS::MovingWalkway::MoveSteps(), Skyscraper::CameraControl::On_bBinocularsFOV_Click(), Skyscraper::editelevator::On_bCall_Click(), Skyscraper::CameraControl::On_bCollisions_Click(), Skyscraper::DebugPanel::On_bFloorInfo_Click(), Skyscraper::CameraControl::On_bFreelook_Click(), Skyscraper::CameraControl::On_bFreelookSpeed_Click(), Skyscraper::CameraControl::On_bGotoFloor_Click(), Skyscraper::CameraControl::On_bGravity_Click(), Skyscraper::CameraControl::On_bGravityEnabled_Click(), Skyscraper::CameraControl::On_bPositionX_Click(), Skyscraper::CameraControl::On_bPositionY_Click(), Skyscraper::CameraControl::On_bPositionZ_Click(), Skyscraper::CameraControl::On_bReportCollisions_Click(), Skyscraper::CameraControl::On_bResetFOV_Click(), Skyscraper::CameraControl::On_bRotationX_Click(), Skyscraper::CameraControl::On_bRotationY_Click(), Skyscraper::CameraControl::On_bRotationZ_Click(), Skyscraper::editelevator::On_bSelectCurrent_Click(), Skyscraper::CameraControl::On_bSetFOV_Click(), Skyscraper::CameraControl::On_bStartDirection_Click(), Skyscraper::CameraControl::On_bStartPosition_Click(), Skyscraper::CameraControl::On_bStartRotation_Click(), Skyscraper::CameraControl::On_bXNeg_Click(), Skyscraper::CameraControl::On_bXPlus_Click(), Skyscraper::CameraControl::On_bYNeg_Click(), Skyscraper::CameraControl::On_bYPlus_Click(), Skyscraper::CameraControl::On_bZNeg_Click(), Skyscraper::CameraControl::On_bZPlus_Click(), Skyscraper::DebugPanel::On_chkCollisionDetection_Click(), Skyscraper::MeshControl::On_chkColumnFrame_Click(), Skyscraper::MeshControl::On_chkFloor_Click(), Skyscraper::DebugPanel::On_chkGravity_Click(), Skyscraper::MeshControl::On_chkInterfloor_Click(), Skyscraper::MeshControl::On_chkShafts_Click(), Skyscraper::MeshControl::On_chkStairs_Click(), SBS::Step::OnHit(), Skyscraper::CameraControl::OnInit(), Skyscraper::DebugPanel::OnInit(), SBS::ElevatorCar::OpenDoors(), SBS::CustomObject::PickUp(), SBS::Model::PickUp(), SBS::Primitive::PickUp(), Skyscraper::Skyscraper::ProcessMovement(), Skyscraper::EngineContext::RefreshCamera(), Skyscraper::EngineContext::ResetCamera(), Skyscraper::EngineContext::RevertMovement(), SBS::Action::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), Skyscraper::EngineContext::SetCameraState(), SBS::Elevator::SetHoistwayAccess(), Skyscraper::Skyscraper::touchMoved(), Skyscraper::HAL::UnclickedObject(), SBS::Elevator::Up(), and Skyscraper::HAL::UpdateOpenXR().

◆ camtexarray

std::vector<CameraTexture*> SBS::SBS::camtexarray
private

Definition at line 587 of file sbs.h.

◆ CarNumber

◆ configfile

Ogre::ConfigFile* SBS::SBS::configfile
private

Definition at line 559 of file sbs.h.

◆ control_index

std::vector<Control*> SBS::SBS::control_index
private

Definition at line 578 of file sbs.h.

◆ ControlArray

std::vector<Control*> SBS::SBS::ControlArray
private

Definition at line 537 of file sbs.h.

◆ controller_manager

ControllerManager* SBS::SBS::controller_manager
private

Definition at line 471 of file sbs.h.

◆ current_time

unsigned long SBS::SBS::current_time
private

Definition at line 551 of file sbs.h.

◆ current_virtual_time

unsigned long SBS::SBS::current_virtual_time
private

Definition at line 552 of file sbs.h.

◆ CustomObjectArray

std::vector<CustomObject*> SBS::SBS::CustomObjectArray
private

Definition at line 546 of file sbs.h.

◆ debugDrawer

OgreBulletCollisions::DebugDrawer* SBS::SBS::debugDrawer

Definition at line 154 of file sbs.h.

◆ DeleteColliders

◆ delta

◆ door_manager

DoorManager* SBS::SBS::door_manager
private

Definition at line 469 of file sbs.h.

◆ DrawBottom

bool SBS::SBS::DrawBottom
private

Definition at line 451 of file sbs.h.

◆ DrawBottomOld

bool SBS::SBS::DrawBottomOld
private

Definition at line 459 of file sbs.h.

◆ DrawMainN

bool SBS::SBS::DrawMainN
private

Definition at line 446 of file sbs.h.

◆ DrawMainNOld

bool SBS::SBS::DrawMainNOld
private

Definition at line 454 of file sbs.h.

◆ DrawMainP

bool SBS::SBS::DrawMainP
private

Definition at line 447 of file sbs.h.

◆ DrawMainPOld

bool SBS::SBS::DrawMainPOld
private

Definition at line 455 of file sbs.h.

◆ DrawSideN

bool SBS::SBS::DrawSideN
private

Definition at line 448 of file sbs.h.

◆ DrawSideNOld

bool SBS::SBS::DrawSideNOld
private

Definition at line 456 of file sbs.h.

◆ DrawSideP

bool SBS::SBS::DrawSideP
private

Definition at line 449 of file sbs.h.

◆ DrawSidePOld

bool SBS::SBS::DrawSidePOld
private

Definition at line 457 of file sbs.h.

◆ DrawTop

bool SBS::SBS::DrawTop
private

Definition at line 450 of file sbs.h.

◆ DrawTopOld

bool SBS::SBS::DrawTopOld
private

Definition at line 458 of file sbs.h.

◆ dynamic_meshes

std::vector<DynamicMesh*> SBS::SBS::dynamic_meshes
private

Definition at line 474 of file sbs.h.

◆ elapsed_time

unsigned long SBS::SBS::elapsed_time
private

Definition at line 553 of file sbs.h.

◆ elevator_manager

ElevatorManager* SBS::SBS::elevator_manager
private

Definition at line 466 of file sbs.h.

◆ ElevatorNumber

◆ ElevatorSync

◆ EscalatorArray

std::vector<Escalator*> SBS::SBS::EscalatorArray
private

Definition at line 480 of file sbs.h.

◆ External

◆ FastDelete

◆ filesystem_listing

Ogre::StringVectorPtr SBS::SBS::filesystem_listing
private

Definition at line 581 of file sbs.h.

◆ floor_manager

FloorManager* SBS::SBS::floor_manager
private

Definition at line 465 of file sbs.h.

◆ floor_orientation

int SBS::SBS::floor_orientation
private

Definition at line 443 of file sbs.h.

◆ FloorAutoArea

std::vector<AutoArea> SBS::SBS::FloorAutoArea
private

Definition at line 505 of file sbs.h.

◆ FloorDisplayRange

int SBS::SBS::FloorDisplayRange

Definition at line 182 of file sbs.h.

Referenced by SBS::Shaft::Check().

◆ Floors

◆ FPS

◆ fps_frame_count

int SBS::SBS::fps_frame_count
private

Definition at line 437 of file sbs.h.

◆ fps_tottime

int SBS::SBS::fps_tottime
private

Definition at line 438 of file sbs.h.

◆ frame_times

std::deque<unsigned long> SBS::SBS::frame_times
private

Definition at line 555 of file sbs.h.

◆ geometry

GeometryController* SBS::SBS::geometry
private

Definition at line 596 of file sbs.h.

◆ InElevator

◆ InShaft

bool SBS::SBS::InShaft

Definition at line 164 of file sbs.h.

Referenced by SBS::Shaft::Check(), Skyscraper::Stats::Loop(), and SBS::ElevatorDoor::MoveDoors().

◆ InStairwell

bool SBS::SBS::InStairwell

Definition at line 162 of file sbs.h.

Referenced by SBS::Stairwell::Check(), and Skyscraper::Stats::Loop().

◆ InstanceNumber

◆ InstancePrompt

std::string SBS::SBS::InstancePrompt

Definition at line 432 of file sbs.h.

Referenced by SBS::ObjectBase::Report(), and SBS::ObjectBase::ReportError().

◆ InterfloorOnTop

bool SBS::SBS::InterfloorOnTop

◆ IsBuildingsEnabled

bool SBS::SBS::IsBuildingsEnabled

Definition at line 170 of file sbs.h.

Referenced by Skyscraper::MeshControl::Loop().

◆ IsExternalEnabled

bool SBS::SBS::IsExternalEnabled

Definition at line 171 of file sbs.h.

Referenced by Skyscraper::MeshControl::Loop().

◆ IsFalling

bool SBS::SBS::IsFalling

Definition at line 161 of file sbs.h.

◆ IsLandscapeEnabled

bool SBS::SBS::IsLandscapeEnabled

Definition at line 172 of file sbs.h.

Referenced by Skyscraper::MeshControl::Loop().

◆ IsRunning

bool SBS::SBS::IsRunning

◆ IsSkyboxEnabled

bool SBS::SBS::IsSkyboxEnabled

Definition at line 173 of file sbs.h.

Referenced by Skyscraper::MeshControl::Loop().

◆ keys

std::vector<Key> SBS::SBS::keys
private

Definition at line 575 of file sbs.h.

◆ Landscape

MeshObject* SBS::SBS::Landscape

Definition at line 425 of file sbs.h.

Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject(), and SBS::Action::Run().

◆ LastError

std::string SBS::SBS::LastError

◆ LastNotification

std::string SBS::SBS::LastNotification

Definition at line 190 of file sbs.h.

Referenced by SBS::ObjectBase::Report().

◆ lights

std::vector<Light*> SBS::SBS::lights
private

Definition at line 508 of file sbs.h.

◆ Lobby

◆ Malfunctions

bool SBS::SBS::Malfunctions

Definition at line 196 of file sbs.h.

Referenced by Skyscraper::DebugPanel::OnInit().

◆ MapGenerator

Map* SBS::SBS::MapGenerator
private

Definition at line 602 of file sbs.h.

◆ meshes

std::vector<MeshObject*> SBS::SBS::meshes
private

Definition at line 528 of file sbs.h.

◆ ModelArray

std::vector<Model*> SBS::SBS::ModelArray
private

Definition at line 531 of file sbs.h.

◆ MovingWalkwayArray

std::vector<MovingWalkway*> SBS::SBS::MovingWalkwayArray
private

Definition at line 483 of file sbs.h.

◆ mRoot

Ogre::Root* SBS::SBS::mRoot

Definition at line 137 of file sbs.h.

Referenced by SBS::TextureManager::CopyTexture().

◆ mSceneManager

◆ mWorld

◆ ObjectArray

std::vector<Object*> SBS::SBS::ObjectArray
private

Definition at line 462 of file sbs.h.

◆ ObjectCount

int SBS::SBS::ObjectCount
private

Definition at line 548 of file sbs.h.

◆ OldAmbientB

Real SBS::SBS::OldAmbientB

Definition at line 428 of file sbs.h.

◆ OldAmbientG

Real SBS::SBS::OldAmbientG

Definition at line 428 of file sbs.h.

◆ OldAmbientR

Real SBS::SBS::OldAmbientR

Definition at line 428 of file sbs.h.

◆ PersonArray

std::vector<Person*> SBS::SBS::PersonArray
private

Definition at line 543 of file sbs.h.

◆ PolygonCount

int SBS::SBS::PolygonCount

Definition at line 192 of file sbs.h.

Referenced by SBS::Polygon::Polygon(), and SBS::Polygon::~Polygon().

◆ power_state

bool SBS::SBS::power_state
private

Definition at line 599 of file sbs.h.

◆ prepare_iterator

int SBS::SBS::prepare_iterator
private

Definition at line 590 of file sbs.h.

◆ prepare_stage

int SBS::SBS::prepare_stage
private

Definition at line 589 of file sbs.h.

◆ PrimArray

std::vector<Primitive*> SBS::SBS::PrimArray
private

Definition at line 534 of file sbs.h.

◆ ProcessElevators

◆ RandomActivity

bool SBS::SBS::RandomActivity

Definition at line 195 of file sbs.h.

Referenced by Skyscraper::DebugPanel::OnInit().

◆ remaining_delta

Real SBS::SBS::remaining_delta
private

Definition at line 439 of file sbs.h.

◆ RenderOnStartup

bool SBS::SBS::RenderOnStartup

◆ reverbcount

int SBS::SBS::reverbcount
private

Definition at line 516 of file sbs.h.

◆ reverbs

std::vector<Reverb*> SBS::SBS::reverbs
private

Definition at line 515 of file sbs.h.

◆ revolvingdoor_manager

RevolvingDoorManager* SBS::SBS::revolvingdoor_manager
private

Definition at line 522 of file sbs.h.

◆ running_time

Real SBS::SBS::running_time

Definition at line 168 of file sbs.h.

Referenced by Skyscraper::Stats::Loop(), and Skyscraper::VMConsole::Process().

◆ shaft_manager

ShaftManager* SBS::SBS::shaft_manager
private

Definition at line 467 of file sbs.h.

◆ ShaftDisplayRange

int SBS::SBS::ShaftDisplayRange

Definition at line 178 of file sbs.h.

Referenced by SBS::Shaft::Check(), and SBS::Elevator::ResetShaftDoors().

◆ ShaftOutsideDisplayRange

int SBS::SBS::ShaftOutsideDisplayRange

Definition at line 180 of file sbs.h.

Referenced by SBS::Shaft::Check().

◆ SkyBox

MeshObject* SBS::SBS::SkyBox

Definition at line 426 of file sbs.h.

◆ SkyName

std::string SBS::SBS::SkyName

◆ SmoothFrames

unsigned int SBS::SBS::SmoothFrames

Definition at line 193 of file sbs.h.

Referenced by SBS::Camera::Loop(), and SBS::SoundSystem::SetListenerPosition().

◆ soundcount

int SBS::SBS::soundcount
private

Definition at line 512 of file sbs.h.

◆ sounds

std::vector<Sound*> SBS::SBS::sounds
private

Definition at line 511 of file sbs.h.

◆ soundsystem

SoundSystem* SBS::SBS::soundsystem
private

Definition at line 525 of file sbs.h.

◆ StairsDisplayRange

int SBS::SBS::StairsDisplayRange

Definition at line 179 of file sbs.h.

Referenced by SBS::Stairwell::Check().

◆ StairsOutsideDisplayRange

int SBS::SBS::StairsOutsideDisplayRange

Definition at line 181 of file sbs.h.

Referenced by SBS::Stairwell::Check().

◆ stairwell_manager

StairwellManager* SBS::SBS::stairwell_manager
private

Definition at line 468 of file sbs.h.

◆ start_time

Real SBS::SBS::start_time

Definition at line 169 of file sbs.h.

◆ TexelOverride

bool SBS::SBS::TexelOverride

Definition at line 429 of file sbs.h.

Referenced by SBS::Control::Control(), and SBS::PolyMesh::GetTexels().

◆ texturemanager

TextureManager* SBS::SBS::texturemanager
private

Definition at line 519 of file sbs.h.

◆ timer

Ogre::Timer* SBS::SBS::timer
private

Definition at line 556 of file sbs.h.

◆ timercallbacks

std::vector<TimerObject*> SBS::SBS::timercallbacks
private

Definition at line 493 of file sbs.h.

◆ TriggerArray

std::vector<Trigger*> SBS::SBS::TriggerArray
private

Definition at line 540 of file sbs.h.

◆ UnitScale

◆ utility

Utility* SBS::SBS::utility
private

Definition at line 593 of file sbs.h.

◆ vehicle_manager

VehicleManager* SBS::SBS::vehicle_manager
private

Definition at line 470 of file sbs.h.

◆ Verbose

bool SBS::SBS::Verbose

Definition at line 186 of file sbs.h.

Referenced by SBS::ElevatorCar::AddDirectionalIndicator(), SBS::Floor::AddDirectionalIndicator(), SBS::ElevatorCar::AddDirectionalIndicators(), SBS::ElevatorCar::AddServicedFloor(), SBS::TextureManager::AddTextToTexture(), SBS::TextureManager::AddTextureOverlay(), SBS::Elevator::AvailableForCall(), SBS::Elevator::CallCancel(), SBS::Elevator::CallCancelAll(), SBS::CallStation::CallStation(), SBS::ElevatorCar::ChangeLight(), SBS::SoundSystem::Cleanup(), SBS::Camera::ClickedObject(), SBS::CallStation::CreateButtonPanel(), SBS::ElevatorCar::CreateButtonPanel(), SBS::CallStation::CreateCallButtons(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateElevator(), SBS::Elevator::DeleteActiveRoute(), SBS::Elevator::DeleteRoute(), SBS::SceneNode::DetachObject(), SBS::Elevator::Down(), SBS::Elevator::Elevator(), SBS::ElevatorCar::ElevatorCar(), SBS::Elevator::EnableACP(), SBS::CallStation::Enabled(), SBS::Elevator::Enabled(), SBS::ElevatorCar::Enabled(), SBS::Floor::Enabled(), SBS::ElevatorCar::EnableDirectionalIndicators(), SBS::ElevatorCar::EnableDoors(), SBS::Elevator::EnableDownPeak(), SBS::Elevator::EnableFireService1(), SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), SBS::Elevator::EnableInspectionService(), SBS::ElevatorCar::EnableObjects(), SBS::ElevatorDoor::EnableSensor(), SBS::Elevator::EnableUpPeak(), SBS::DispatchController::FindClosestElevator(), SBS::Elevator::FinishMove(), SBS::Elevator::Go(), SBS::Person::GotoFloor(), SBS::Elevator::IsServicedFloor(), SBS::ElevatorCar::IsServicedFloor(), SBS::Light::Light(), SBS::Sound::Load(), SBS::TextureManager::LoadAlphaBlendTexture(), SBS::TextureManager::LoadAnimatedTexture(), Skyscraper::ScriptProcessor::LoadDataFile(), SBS::TextureManager::LoadMaterial(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTextureCropped(), SBS::Elevator::Loop(), SBS::ElevatorCar::Loop(), SBS::TimerObject::Loop(), SBS::Trigger::Loop(), SBS::SceneNode::Move(), SBS::Elevator::MoveDown(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveUp(), Skyscraper::DebugPanel::On_chkVerbose_Click(), SBS::RevolvingDoor::OnHit(), Skyscraper::DebugPanel::OnInit(), SBS::Sound::Pause(), SBS::Sound::Play(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Elevator::PlayMovingSounds(), SBS::ElevatorCar::PlayMovingSounds(), SBS::Sound::PlayQueued(), SBS::Indicator::PlaySound(), SBS::Elevator::PlayStartingSounds(), SBS::ElevatorCar::PlayStartingSounds(), SBS::Elevator::PlayStoppingSounds(), SBS::ElevatorCar::PlayStoppingSounds(), SBS::Elevator::ProcessCallQueue(), SBS::Sound::ProcessQueue(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::ElevatorCar::RemoveServicedFloor(), SBS::ElevatorDoor::Reset(), SBS::Sound::Reset(), SBS::ElevatorCar::ResetLights(), SBS::Elevator::ResetQueue(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), SBS::Elevator::SameFloorArrival(), SBS::DispatchController::ServicesElevator(), SBS::Elevator::SetACPFloor(), SBS::Elevator::SetAlternateRecallFloor(), SBS::ElevatorCar::SetBeepSound(), SBS::Elevator::SetDownButton(), SBS::Elevator::SetFloorSkipText(), SBS::ElevatorCar::SetFloorSound(), SBS::Elevator::SetGoButton(), SBS::Elevator::SetHoistwayAccess(), SBS::CallStation::SetLights(), SBS::CallStation::SetLightsGroup(), SBS::ElevatorCar::SetMessageSound(), SBS::Sound::SetPlayPosition(), SBS::SceneNode::SetPosition(), SBS::Elevator::SetRecallFloor(), SBS::Sound::SetSpeed(), SBS::Elevator::SetUpButton(), SBS::Sound::SetVolume(), SBS::Sound::Sound(), SBS::TimerObject::Start(), Skyscraper::EngineContext::StartSim(), SBS::Elevator::Stop(), SBS::Sound::Stop(), SBS::TimerObject::Stop(), SBS::Sound::Unload(), SBS::Elevator::Up(), SBS::Elevator::~Elevator(), and SBS::ElevatorCar::~ElevatorCar().

◆ verify_results

std::vector<VerifyResult> SBS::SBS::verify_results
private

Definition at line 566 of file sbs.h.

◆ version

std::string SBS::SBS::version

Definition at line 141 of file sbs.h.

Referenced by Skyscraper::Stats::OnInit(), and Skyscraper::VMConsole::Process().

◆ version_state

std::string SBS::SBS::version_state

Definition at line 142 of file sbs.h.

◆ wall_orientation

int SBS::SBS::wall_orientation
private

Definition at line 442 of file sbs.h.

◆ WallCount

int SBS::SBS::WallCount

Definition at line 191 of file sbs.h.

Referenced by SBS::Wall::Wall(), and SBS::Wall::~Wall().


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