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 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)
 
void CalculateFrameRate ()
 
void Loop (bool loading, bool isready)
 
WallCreateWallBox (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)
 
WallCreateWallBox2 (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)
 
WallAddTriangleWall (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)
 
WallAddCustomWall (MeshObject *mesh, const std::string &name, const std::string &texture, PolyArray &varray, Real tw, Real th)
 
WallAddCustomFloor (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)
 
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)
 
ShaftCreateShaft (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor)
 
StairwellCreateStairwell (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor)
 
ElevatorNewElevator (int number)
 
FloorNewFloor (int number)
 
VehicleNewVehicle (int number)
 
DispatchControllerNewController (int number)
 
int GetElevatorCount ()
 
int GetTotalFloors ()
 
int GetShaftCount ()
 
int GetStairwellCount ()
 
int GetVehicleCount ()
 
int GetControllerCount ()
 
FloorGetFloor (int number)
 
ElevatorGetElevator (int number)
 
ShaftGetShaft (int number)
 
StairwellGetStairwell (int number)
 
VehicleGetVehicle (int number)
 
DispatchControllerGetController (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)
 
WallAddWall (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)
 
WallAddFloor (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)
 
WallAddGround (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 ()
 
SoundAddSound (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 ()
 
ReverbAddReverb (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 ()
 
ObjectGetObject (int number)
 
ObjectGetObject (std::string name, bool case_sensitive=true)
 
ObjectGetObjectOfParent (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)
 
LightAddLight (const std::string &name, int type)
 
MeshObjectFindMeshObject (const std::string &name)
 
ModelAddModel (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)
 
PrimitiveAddPrimitive (const std::string &name)
 
void AddPrimitive (Primitive *primitive)
 
CustomObjectAddCustomObject (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 ()
 
ControlAddControl (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)
 
TriggerAddTrigger (const std::string &name, const std::string &sound_file, const Vector3 &area_min, const Vector3 &area_max, std::vector< std::string > &action_names)
 
ActionAddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command, const std::vector< std::string > &parameters)
 
ActionAddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command)
 
std::vector< Action * > GetAction (std::string name)
 
ActionGetAction (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)
 
ReverbGetReverb (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)
 
SoundSystemGetSoundSystem ()
 
bool IsObjectValid (Object *object, std::string type="")
 
bool IsActionValid (Action *action)
 
std::vector< ElevatorRoute * > GetRouteToFloor (int StartingFloor, int DestinationFloor, bool service_access=false)
 
PersonCreatePerson (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 ()
 
PersonGetPerson (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)
 
LightGetLight (std::string name)
 
ModelGetModel (std::string name)
 
PrimitiveGetPrimitive (std::string name)
 
CustomObjectGetCustomObject (std::string name)
 
FloorManagerGetFloorManager ()
 
ElevatorManagerGetElevatorManager ()
 
ShaftManagerGetShaftManager ()
 
StairwellManagerGetStairwellManager ()
 
DoorManagerGetDoorManager ()
 
ControllerManagerGetControllerManager ()
 
void RegisterDynamicMesh (DynamicMesh *dynmesh)
 
void UnregisterDynamicMesh (DynamicMesh *dynmesh)
 
TextureManagerGetTextureManager ()
 
RevolvingDoorManagerGetRevolvingDoorManager ()
 
VehicleManagerGetVehicleManager ()
 
void RegisterCameraTexture (CameraTexture *camtex)
 
void UnregisterCameraTexture (CameraTexture *camtex)
 
int GetCameraTextureCount ()
 
CameraTextureGetCameraTexture (int number)
 
std::string GetFilesystemPath (std::string filename)
 
UtilityGetUtility ()
 
GeometryControllerGetGeometry ()
 
void MemoryReport ()
 
void RegisterEscalator (Escalator *escalator)
 
void UnregisterEscalator (Escalator *escalator)
 
EscalatorGetEscalator (int index)
 
void RegisterMovingWalkway (MovingWalkway *walkway)
 
void UnregisterMovingWalkway (MovingWalkway *walkway)
 
MovingWalkwayGetMovingWalkway (int index)
 
void SetPower (bool value)
 
bool GetPower ()
 
ReverbGetReverb (int index)
 
int GetReverbCount ()
 
void EnableMap (bool value)
 
- 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)
 
ObjectGetChild (int index)
 
int GetChildrenCount ()
 
void RemoveChild (Object *object)
 
SceneNodeGetSceneNode ()
 
void ShowBoundingBox (bool value)
 
virtual void Move (const Vector3 &vector, Real speed=1.0)
 
virtual void Move (Real X, Real Y, Real Z, Real speed=1.0)
 
virtual void SetPosition (const Vector3 &position)
 
void SetPositionRelative (const Vector3 &position)
 
virtual void SetPosition (Real X, Real Y, Real Z)
 
void SetPositionRelative (Real X, Real Y, Real Z)
 
virtual void SetPositionY (Real value)
 
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)
 
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 ()
 
ObjectGetParent ()
 
SBSGetRoot ()
 
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
 
Cameracamera
 
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
 
int callstation_index
 
MeshObjectBuildings
 
MeshObjectExternal
 
MeshObjectLandscape
 
MeshObjectSkyBox
 
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)
 
ElevatorRouteGetDirectRoute (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
 
FloorManagerfloor_manager
 
ElevatorManagerelevator_manager
 
ShaftManagershaft_manager
 
StairwellManagerstairwell_manager
 
DoorManagerdoor_manager
 
VehicleManagervehicle_manager
 
ControllerManagercontroller_manager
 
std::vector< DynamicMesh * > dynamic_meshes
 
std::vector< Action * > ActionArray
 
std::vector< Escalator * > EscalatorArray
 
std::vector< MovingWalkway * > MovingWalkwayArray
 
std::vector< TimerObject * > timercallbacks
 
std::vector< AutoAreaFloorAutoArea
 
std::vector< Light * > lights
 
std::vector< Sound * > sounds
 
int soundcount
 
std::vector< Reverb * > reverbs
 
int reverbcount
 
TextureManagertexturemanager
 
RevolvingDoorManagerrevolvingdoor_manager
 
SoundSystemsoundsystem
 
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< VerifyResultverify_results
 
std::vector< Keykeys
 
std::vector< Control * > control_index
 
Ogre::StringVectorPtr filesystem_listing
 
Triggerarea_trigger
 
std::vector< CameraTexture * > camtexarray
 
int prepare_stage
 
int prepare_iterator
 
Utilityutility
 
GeometryControllergeometry
 
bool power_state
 
MapMapGenerator
 

Additional Inherited Members

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

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 271 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 3422 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 3460 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 3395 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 1444 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 3216 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 1428 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 1912 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 )

◆ 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 1925 of file sbs.cpp.

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

◆ AddKey()

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

Definition at line 3899 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 3118 of file sbs.cpp.

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

◆ AddMeshHandle()

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

Definition at line 3127 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 3168 of file sbs.cpp.

◆ AddPolygon()

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

Definition at line 1381 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 3192 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 2324 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 1460 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 3405 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 1899 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 3264 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 4245 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 3308 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 2205 of file sbs.cpp.

References SBS_PROFILE.

◆ CheckKey()

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

Definition at line 3910 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 4217 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 1661 of file sbs.cpp.

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

◆ CreateSky()

void SBS::SBS::CreateSky ( )

Definition at line 1510 of file sbs.cpp.

References SBS::Wall::AddQuad().

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

Here is the call graph for this function:

◆ CreateStairwell()

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

Definition at line 1668 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 )

◆ 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 )

◆ 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 4349 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 4323 of file sbs.cpp.

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

◆ DecrementReverbCount()

void SBS::SBS::DecrementReverbCount ( )

Definition at line 2362 of file sbs.cpp.

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

◆ DecrementSoundCount()

void SBS::SBS::DecrementSoundCount ( )

Definition at line 2319 of file sbs.cpp.

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

◆ DeleteMeshHandle()

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

Definition at line 3132 of file sbs.cpp.

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

◆ DeleteObject() [1/2]

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

Definition at line 2718 of file sbs.cpp.

◆ DeleteObject() [2/2]

◆ DetachCamera()

bool SBS::SBS::DetachCamera ( )

Definition at line 4252 of file sbs.cpp.

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

◆ DrawWalls()

◆ DumpState()

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

Definition at line 2501 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 4118 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 4720 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 4079 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 1893 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 3144 of file sbs.cpp.

◆ FromGlobal() [1/2]

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

Definition at line 4430 of file sbs.cpp.

◆ FromGlobal() [2/2]

◆ GetAction() [1/2]

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

Definition at line 3860 of file sbs.cpp.

◆ GetAction() [2/2]

◆ GetActionCount()

int SBS::SBS::GetActionCount ( )

Definition at line 3454 of file sbs.cpp.

Referenced by Skyscraper::ActionViewer::Loop(), and Skyscraper::Stats::Loop().

◆ GetAverageTime()

unsigned long SBS::SBS::GetAverageTime ( )

Definition at line 3302 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 4599 of file sbs.cpp.

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

◆ 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 4573 of file sbs.cpp.

◆ GetCurrentTime()

unsigned long SBS::SBS::GetCurrentTime ( )

◆ GetCustomObject()

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

Definition at line 4482 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 1648 of file sbs.cpp.

◆ GetDoorManager()

DoorManager * SBS::SBS::GetDoorManager ( )

Definition at line 4553 of file sbs.cpp.

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

◆ GetDrawWallsCount()

int SBS::SBS::GetDrawWallsCount ( )

Definition at line 1865 of file sbs.cpp.

◆ GetElapsedTime()

unsigned long SBS::SBS::GetElapsedTime ( )

◆ GetElevator()

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

Definition at line 1746 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 4538 of file sbs.cpp.

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

◆ GetEscalator()

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

◆ GetEscalatorCount()

int SBS::SBS::GetEscalatorCount ( )

Definition at line 4019 of file sbs.cpp.

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

◆ GetFilesystemPath()

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

Definition at line 3015 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 1739 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 1828 of file sbs.cpp.

◆ GetGeometry()

GeometryController * SBS::SBS::GetGeometry ( )

Definition at line 4616 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 4437 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 2259 of file sbs.cpp.

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

◆ GetModel()

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

Definition at line 4452 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 4025 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 3566 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 ( )

Definition at line 2446 of file sbs.cpp.

Referenced by Skyscraper::ObjectInfo::Loop(), and Skyscraper::Stats::Loop().

◆ GetObjectOfParent()

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

Definition at line 3728 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 3776 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 4523 of file sbs.cpp.

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

◆ GetPolygonCount()

int SBS::SBS::GetPolygonCount ( )

Definition at line 3071 of file sbs.cpp.

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

◆ GetPower()

bool SBS::SBS::GetPower ( )

Definition at line 4701 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 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:

◆ GetReverb() [1/2]

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

Definition at line 2332 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 4713 of file sbs.cpp.

◆ GetReverbCount()

int SBS::SBS::GetReverbCount ( )

Definition at line 4708 of file sbs.cpp.

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

◆ GetRevolvingDoorManager()

RevolvingDoorManager * SBS::SBS::GetRevolvingDoorManager ( )

Definition at line 4563 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 4543 of file sbs.cpp.

◆ GetSound()

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

Definition at line 2288 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 2308 of file sbs.cpp.

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

◆ GetSoundSystem()

◆ GetStairwell()

◆ GetStairwellCount()

◆ GetStairwellManager()

StairwellManager * SBS::SBS::GetStairwellManager ( )

Definition at line 4548 of file sbs.cpp.

◆ GetTextureManager()

TextureManager * SBS::SBS::GetTextureManager ( )

◆ GetTimerCallbackCount()

int SBS::SBS::GetTimerCallbackCount ( )

Definition at line 2168 of file sbs.cpp.

◆ GetTotalFloors()

int SBS::SBS::GetTotalFloors ( )

Definition at line 1715 of file sbs.cpp.

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

◆ GetTotalReverbCount()

int SBS::SBS::GetTotalReverbCount ( )

Definition at line 2351 of file sbs.cpp.

◆ GetUtility()

◆ GetVehicle()

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

Definition at line 1767 of file sbs.cpp.

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

◆ GetVehicleCount()

int SBS::SBS::GetVehicleCount ( )

Definition at line 1709 of file sbs.cpp.

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

◆ GetVehicleManager()

VehicleManager * SBS::SBS::GetVehicleManager ( )

Definition at line 4568 of file sbs.cpp.

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

◆ GetWallCount()

int SBS::SBS::GetWallCount ( )

Definition at line 3065 of file sbs.cpp.

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

◆ GetWallOrientation()

int SBS::SBS::GetWallOrientation ( )

Definition at line 1802 of file sbs.cpp.

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

◆ HasBounds()

bool SBS::SBS::HasBounds ( )

Definition at line 4528 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 4031 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 3255 of file sbs.cpp.

◆ IncrementReverbCount()

void SBS::SBS::IncrementReverbCount ( )

Definition at line 2357 of file sbs.cpp.

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

◆ IncrementSoundCount()

void SBS::SBS::IncrementSoundCount ( )

Definition at line 2314 of file sbs.cpp.

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

◆ Initialize()

void SBS::SBS::Initialize ( )

Definition at line 222 of file sbs.cpp.

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

◆ IsActionValid()

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

Definition at line 4205 of file sbs.cpp.

◆ IsInside() [1/2]

bool SBS::SBS::IsInside ( )

◆ IsInside() [2/2]

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

Definition at line 4298 of file sbs.cpp.

◆ IsObjectValid()

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

Definition at line 4143 of file sbs.cpp.

◆ IsValidFloor()

◆ ListKeys()

void SBS::SBS::ListKeys ( )

Definition at line 3922 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 3992 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 4621 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 1887 of file sbs.cpp.

◆ Mount()

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

Definition at line 2174 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 1675 of file sbs.cpp.

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

◆ NewFloor()

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

Definition at line 1682 of file sbs.cpp.

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

◆ NewVehicle()

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

Definition at line 1689 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 3077 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 4257 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 2156 of file sbs.cpp.

References SBS_PROFILE.

◆ RegisterCameraTexture()

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

Definition at line 4578 of file sbs.cpp.

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

◆ RegisterControl()

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

Definition at line 3936 of file sbs.cpp.

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

◆ RegisterDynamicMesh()

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

Definition at line 4497 of file sbs.cpp.

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

◆ RegisterEscalator()

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

Definition at line 4640 of file sbs.cpp.

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

◆ RegisterMovingWalkway()

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

Definition at line 4667 of file sbs.cpp.

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

◆ RegisterObject()

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

Definition at line 2461 of file sbs.cpp.

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

◆ RegisterTimerCallback()

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

Definition at line 2119 of file sbs.cpp.

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

◆ RemoveAction() [1/2]

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

Definition at line 3539 of file sbs.cpp.

◆ RemoveAction() [2/2]

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

Definition at line 3515 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 3479 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 3498 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 2883 of file sbs.cpp.

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

◆ RemoveController()

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

Definition at line 2909 of file sbs.cpp.

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

◆ RemoveCustomObject()

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

Definition at line 2870 of file sbs.cpp.

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

◆ RemoveElevator()

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

Definition at line 2780 of file sbs.cpp.

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

◆ RemoveFloor()

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

Definition at line 2773 of file sbs.cpp.

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

◆ RemoveLight()

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

Definition at line 2831 of file sbs.cpp.

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

◆ RemoveModel()

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

Definition at line 2844 of file sbs.cpp.

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

◆ RemovePerson()

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

Definition at line 4231 of file sbs.cpp.

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

◆ RemovePrimitive()

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

Definition at line 2857 of file sbs.cpp.

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

◆ RemoveReverb()

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

Definition at line 2816 of file sbs.cpp.

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

◆ RemoveShaft()

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

Definition at line 2787 of file sbs.cpp.

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

◆ RemoveSound()

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

Definition at line 2801 of file sbs.cpp.

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

◆ RemoveStairwell()

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

Definition at line 2794 of file sbs.cpp.

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

◆ RemoveTrigger()

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

Definition at line 2896 of file sbs.cpp.

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

◆ ResetLighting()

void SBS::SBS::ResetLighting ( )

Definition at line 3388 of file sbs.cpp.

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

◆ ResetState()

void SBS::SBS::ResetState ( )
virtual

Reimplemented from SBS::Object.

Definition at line 4382 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 3888 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 4368 of file sbs.cpp.

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

◆ SetFloorOrientation()

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

Definition at line 1807 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 4694 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 3985 of file sbs.cpp.

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

◆ ShowColliders()

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

Definition at line 3355 of file sbs.cpp.

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

◆ ShowFloorList()

void SBS::SBS::ShowFloorList ( )

Definition at line 3956 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 3978 of file sbs.cpp.

◆ Start()

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

Definition at line 529 of file sbs.cpp.

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

◆ ToGlobal() [1/2]

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

Definition at line 4423 of file sbs.cpp.

◆ ToGlobal() [2/2]

◆ ToLocal() [1/3]

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

Definition at line 2377 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 2387 of file sbs.cpp.

◆ ToLocal() [3/3]

◆ ToRemote() [1/3]

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

Definition at line 2417 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 2427 of file sbs.cpp.

◆ ToRemote() [3/3]

◆ UnregisterCameraTexture()

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

Definition at line 4585 of file sbs.cpp.

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

◆ UnregisterControl()

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

Definition at line 3942 of file sbs.cpp.

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

◆ UnregisterDynamicMesh()

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

Definition at line 4504 of file sbs.cpp.

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

◆ UnregisterEscalator()

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

Definition at line 4646 of file sbs.cpp.

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

◆ UnregisterMovingWalkway()

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

Definition at line 4673 of file sbs.cpp.

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

◆ UnregisterObject()

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

Definition at line 2469 of file sbs.cpp.

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

◆ UnregisterTimerCallback()

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

Definition at line 2138 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 2922 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 475 of file sbs.h.

◆ AmbientB

Real SBS::SBS::AmbientB

Definition at line 426 of file sbs.h.

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

◆ AmbientG

Real SBS::SBS::AmbientG

Definition at line 426 of file sbs.h.

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

◆ AmbientR

Real SBS::SBS::AmbientR

Definition at line 426 of file sbs.h.

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

◆ area_trigger

Trigger* SBS::SBS::area_trigger
private

Definition at line 582 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 552 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 421 of file sbs.h.

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

◆ BuildingVersion

std::string SBS::SBS::BuildingVersion

◆ callstation_index

int SBS::SBS::callstation_index

Definition at line 199 of file sbs.h.

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

◆ 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 585 of file sbs.h.

◆ CarNumber

◆ configfile

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

Definition at line 557 of file sbs.h.

◆ control_index

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

Definition at line 576 of file sbs.h.

◆ ControlArray

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

Definition at line 535 of file sbs.h.

◆ controller_manager

ControllerManager* SBS::SBS::controller_manager
private

Definition at line 469 of file sbs.h.

◆ current_time

unsigned long SBS::SBS::current_time
private

Definition at line 549 of file sbs.h.

◆ current_virtual_time

unsigned long SBS::SBS::current_virtual_time
private

Definition at line 550 of file sbs.h.

◆ CustomObjectArray

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

Definition at line 544 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 467 of file sbs.h.

◆ DrawBottom

bool SBS::SBS::DrawBottom
private

Definition at line 449 of file sbs.h.

◆ DrawBottomOld

bool SBS::SBS::DrawBottomOld
private

Definition at line 457 of file sbs.h.

◆ DrawMainN

bool SBS::SBS::DrawMainN
private

Definition at line 444 of file sbs.h.

◆ DrawMainNOld

bool SBS::SBS::DrawMainNOld
private

Definition at line 452 of file sbs.h.

◆ DrawMainP

bool SBS::SBS::DrawMainP
private

Definition at line 445 of file sbs.h.

◆ DrawMainPOld

bool SBS::SBS::DrawMainPOld
private

Definition at line 453 of file sbs.h.

◆ DrawSideN

bool SBS::SBS::DrawSideN
private

Definition at line 446 of file sbs.h.

◆ DrawSideNOld

bool SBS::SBS::DrawSideNOld
private

Definition at line 454 of file sbs.h.

◆ DrawSideP

bool SBS::SBS::DrawSideP
private

Definition at line 447 of file sbs.h.

◆ DrawSidePOld

bool SBS::SBS::DrawSidePOld
private

Definition at line 455 of file sbs.h.

◆ DrawTop

bool SBS::SBS::DrawTop
private

Definition at line 448 of file sbs.h.

◆ DrawTopOld

bool SBS::SBS::DrawTopOld
private

Definition at line 456 of file sbs.h.

◆ dynamic_meshes

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

Definition at line 472 of file sbs.h.

◆ elapsed_time

unsigned long SBS::SBS::elapsed_time
private

Definition at line 551 of file sbs.h.

◆ elevator_manager

ElevatorManager* SBS::SBS::elevator_manager
private

Definition at line 464 of file sbs.h.

◆ ElevatorNumber

◆ ElevatorSync

◆ EscalatorArray

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

Definition at line 478 of file sbs.h.

◆ External

◆ FastDelete

◆ filesystem_listing

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

Definition at line 579 of file sbs.h.

◆ floor_manager

FloorManager* SBS::SBS::floor_manager
private

Definition at line 463 of file sbs.h.

◆ floor_orientation

int SBS::SBS::floor_orientation
private

Definition at line 441 of file sbs.h.

◆ FloorAutoArea

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

Definition at line 503 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 435 of file sbs.h.

◆ fps_tottime

int SBS::SBS::fps_tottime
private

Definition at line 436 of file sbs.h.

◆ frame_times

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

Definition at line 553 of file sbs.h.

◆ geometry

GeometryController* SBS::SBS::geometry
private

Definition at line 594 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 430 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 573 of file sbs.h.

◆ Landscape

MeshObject* SBS::SBS::Landscape

Definition at line 423 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 506 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 600 of file sbs.h.

◆ meshes

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

Definition at line 526 of file sbs.h.

◆ ModelArray

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

Definition at line 529 of file sbs.h.

◆ MovingWalkwayArray

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

Definition at line 481 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 460 of file sbs.h.

◆ ObjectCount

int SBS::SBS::ObjectCount
private

Definition at line 546 of file sbs.h.

◆ OldAmbientB

Real SBS::SBS::OldAmbientB

Definition at line 426 of file sbs.h.

◆ OldAmbientG

Real SBS::SBS::OldAmbientG

Definition at line 426 of file sbs.h.

◆ OldAmbientR

Real SBS::SBS::OldAmbientR

Definition at line 426 of file sbs.h.

◆ PersonArray

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

Definition at line 541 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 597 of file sbs.h.

◆ prepare_iterator

int SBS::SBS::prepare_iterator
private

Definition at line 588 of file sbs.h.

◆ prepare_stage

int SBS::SBS::prepare_stage
private

Definition at line 587 of file sbs.h.

◆ PrimArray

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

Definition at line 532 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 437 of file sbs.h.

◆ RenderOnStartup

bool SBS::SBS::RenderOnStartup

◆ reverbcount

int SBS::SBS::reverbcount
private

Definition at line 514 of file sbs.h.

◆ reverbs

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

Definition at line 513 of file sbs.h.

◆ revolvingdoor_manager

RevolvingDoorManager* SBS::SBS::revolvingdoor_manager
private

Definition at line 520 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 465 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 424 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 510 of file sbs.h.

◆ sounds

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

Definition at line 509 of file sbs.h.

◆ soundsystem

SoundSystem* SBS::SBS::soundsystem
private

Definition at line 523 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 466 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 427 of file sbs.h.

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

◆ texturemanager

TextureManager* SBS::SBS::texturemanager
private

Definition at line 517 of file sbs.h.

◆ timer

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

Definition at line 554 of file sbs.h.

◆ timercallbacks

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

Definition at line 491 of file sbs.h.

◆ TriggerArray

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

Definition at line 538 of file sbs.h.

◆ UnitScale

◆ utility

Utility* SBS::SBS::utility
private

Definition at line 591 of file sbs.h.

◆ vehicle_manager

VehicleManager* SBS::SBS::vehicle_manager
private

Definition at line 468 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::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::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 564 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 440 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: