Skyscraper 2.0
SBS Namespace Reference

Classes

class  Action
 
class  ButtonPanel
 
class  CallStation
 
class  Camera
 
struct  CameraState
 
class  CameraTexture
 
class  Control
 
class  ControllerManager
 
class  CustomObject
 
class  DirectionalIndicator
 
class  DispatchController
 
class  Door
 
struct  DoorComponent
 
class  DoorLock
 
class  DoorManager
 
struct  DoorWrapper
 
class  DynamicMesh
 
class  Elevator
 
class  ElevatorCar
 
class  ElevatorDoor
 
class  ElevatorManager
 
struct  ElevatorRoute
 
class  Escalator
 
struct  Extents
 
class  Floor
 
class  FloorIndicator
 
class  FloorManager
 
class  GeometryController
 
class  Indicator
 
class  Light
 
class  Lock
 
class  Manager
 
class  Map
 
class  MeshObject
 
class  Model
 
class  MovingWalkway
 
class  Object
 
class  ObjectBase
 
class  Person
 
class  Polygon
 
class  PolyMesh
 
class  Primitive
 
class  ProfileIterator
 An iterator to navigate through the tree. More...
 
class  ProfileManager
 The Manager for the Profile system. More...
 
class  ProfileNode
 A node in the Profile Hierarchy Tree. More...
 
class  ProfileSample
 
class  RandomGen
 
class  Reverb
 
class  RevolvingDoor
 
class  RevolvingDoorManager
 
class  SBS
 
class  SceneNode
 
class  Shaft
 
class  ShaftManager
 
class  Sound
 
struct  SoundData
 
class  SoundSystem
 
class  Stairwell
 
class  StairwellManager
 
class  Step
 
class  TextureManager
 
class  TimerObject
 
struct  Triangle
 
class  Trigger
 
class  Utility
 
class  Vehicle
 
class  VehicleManager
 
class  Wall
 

Typedefs

typedef std::vector< Polygon * > Polygons
 
typedef std::vector< Vector3PolyArray
 
typedef std::vector< PolyArrayPolygonSet
 

Functions

bool IsEven (int Number)
 
bool IsNumeric (char character)
 
bool IsNumeric (const std::string &string)
 
bool IsNumeric (const std::string &string, int &number)
 
bool IsNumeric (const std::string &string, float &number)
 
bool IsNumeric (const std::string &string, double &number)
 
std::string BoolToString (bool item)
 
Real RadiansToDegrees (Real radians)
 
Real DegreesToRadians (Real degrees)
 
Real Min (Real a, Real b, Real c)
 
Real Max (Real a, Real b, Real c)
 
Real Min (Real a, Real b, Real c, Real d)
 
Real Max (Real a, Real b, Real c, Real d)
 
std::string SetCaseCopy (std::string string, bool uppercase)
 
void SetCase (std::string &string, bool uppercase)
 
int FindWithCase (const std::string &string, bool uppercase, const std::string &key, int offset)
 
void TrimString (std::string &string)
 
std::string TrimStringCopy (std::string string)
 
void ReplaceAll (std::string &string, const std::string &original, const std::string &replacement)
 
bool StartsWith (const std::string &string, const std::string &check_string, bool ignore_case)
 
bool StartsWithNoCase (const std::string &string, const std::string &check_string)
 
void SplitString (std::vector< std::string > &dest_array, const std::string &original_string, char separator)
 
std::string ToString (int number)
 
std::string ToString (float number)
 
std::string ToString (double number)
 
std::string ToString (unsigned long number)
 
float Log2 (float number)
 
double Log2 (double number)
 
float Round (float number, int decimal_places)
 
double Round (double number, int decimal_places)
 
Vector3 Round (const Vector3 &value, int decimal_places)
 
Vector2 Round (const Vector2 &value, int decimal_places)
 
bool IsBoolean (std::string string)
 
Real ToFloat (const std::string &string)
 
int ToInt (const std::string &string)
 
bool ToBool (std::string string)
 
std::string TruncateNumber (float value, int decimals)
 
std::string TruncateNumber (double value, int decimals)
 
std::string TruncateNumber (const std::string &value, int decimals)
 
void Profile_Get_Ticks (unsigned long int *ticks)
 
float Profile_Get_Tick_Rate (void)
 

Variables

const Real pi = 3.14159265
 
bool SBSIMPEXP enable_profiling
 
bool SBSIMPEXP enable_advanced_profiling
 

Typedef Documentation

◆ PolyArray

typedef std::vector<Vector3> SBS::PolyArray

Definition at line 118 of file sbs.h.

◆ Polygons

typedef std::vector<Polygon*> SBS::Polygons

Definition at line 31 of file polymesh.h.

◆ PolygonSet

typedef std::vector<PolyArray> SBS::PolygonSet

Definition at line 119 of file sbs.h.

Function Documentation

◆ BoolToString()

◆ DegreesToRadians()

SBSIMPEXP Real SBS::DegreesToRadians ( Real degrees)

Definition at line 115 of file globals.cpp.

References pi.

Referenced by SBS::Utility::GetEndPoint().

◆ FindWithCase()

SBSIMPEXP int SBS::FindWithCase ( const std::string & string,
bool uppercase,
const std::string & key,
int offset )

Definition at line 181 of file globals.cpp.

References SetCaseCopy().

Here is the call graph for this function:

◆ IsBoolean()

SBSIMPEXP bool SBS::IsBoolean ( std::string string)

Definition at line 391 of file globals.cpp.

References SetCase().

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

Here is the call graph for this function:

◆ IsEven()

◆ IsNumeric() [1/5]

◆ IsNumeric() [2/5]

SBSIMPEXP bool SBS::IsNumeric ( const std::string & string)

Definition at line 57 of file globals.cpp.

References IsNumeric().

Here is the call graph for this function:

◆ IsNumeric() [3/5]

SBSIMPEXP bool SBS::IsNumeric ( const std::string & string,
double & number )

Definition at line 90 of file globals.cpp.

◆ IsNumeric() [4/5]

SBSIMPEXP bool SBS::IsNumeric ( const std::string & string,
float & number )

Definition at line 75 of file globals.cpp.

◆ IsNumeric() [5/5]

SBSIMPEXP bool SBS::IsNumeric ( const std::string & string,
int & number )

Definition at line 65 of file globals.cpp.

References IsNumeric().

Here is the call graph for this function:

◆ Log2() [1/2]

SBSIMPEXP double SBS::Log2 ( double number)

Definition at line 341 of file globals.cpp.

◆ Log2() [2/2]

SBSIMPEXP float SBS::Log2 ( float number)

◆ Max() [1/2]

SBSIMPEXP Real SBS::Max ( Real a,
Real b,
Real c )

Definition at line 131 of file globals.cpp.

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

◆ Max() [2/2]

SBSIMPEXP Real SBS::Max ( Real a,
Real b,
Real c,
Real d )

Definition at line 153 of file globals.cpp.

◆ Min() [1/2]

SBSIMPEXP Real SBS::Min ( Real a,
Real b,
Real c )

Definition at line 121 of file globals.cpp.

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

◆ Min() [2/2]

SBSIMPEXP Real SBS::Min ( Real a,
Real b,
Real c,
Real d )

Definition at line 141 of file globals.cpp.

◆ Profile_Get_Tick_Rate()

float SBS::Profile_Get_Tick_Rate ( void )
inline

◆ Profile_Get_Ticks()

void SBS::Profile_Get_Ticks ( unsigned long int * ticks)
inline

◆ RadiansToDegrees()

SBSIMPEXP Real SBS::RadiansToDegrees ( Real radians)

Definition at line 109 of file globals.cpp.

References pi.

◆ ReplaceAll()

◆ Round() [1/4]

SBSIMPEXP Vector2 SBS::Round ( const Vector2 & value,
int decimal_places )

Definition at line 381 of file globals.cpp.

References Round().

Here is the call graph for this function:

◆ Round() [2/4]

SBSIMPEXP Vector3 SBS::Round ( const Vector3 & value,
int decimal_places )

Definition at line 370 of file globals.cpp.

References Round().

Here is the call graph for this function:

◆ Round() [3/4]

SBSIMPEXP double SBS::Round ( double number,
int decimal_places )

Definition at line 358 of file globals.cpp.

◆ Round() [4/4]

SBSIMPEXP float SBS::Round ( float number,
int decimal_places )

◆ SetCase()

SBSIMPEXP void SBS::SetCase ( std::string & string,
bool uppercase )

Definition at line 172 of file globals.cpp.

Referenced by SBS::Action::Action(), SBS::Action::Action(), SBS::ButtonPanel::AddButton(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::ElevatorCar::AddFloorSigns(), SBS::Stairwell::Level::AddStairs(), SBS::ButtonPanel::ButtonPanel(), SBS::Control::Control(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DoorComponent::DoorComponent(), SBS::FloorIndicator::FloorIndicator(), SBS::ElevatorCar::GetCustomObject(), SBS::Floor::GetCustomObject(), SBS::SBS::GetCustomObject(), SBS::Shaft::Level::GetCustomObject(), SBS::Stairwell::Level::GetCustomObject(), SBS::Floor::GetDirectRoute(), SBS::SBS::GetLight(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::ElevatorCar::GetModel(), SBS::Floor::GetModel(), SBS::SBS::GetModel(), SBS::Shaft::Level::GetModel(), SBS::Stairwell::Level::GetModel(), SBS::SBS::GetObject(), SBS::SBS::GetObjectOfParent(), SBS::ElevatorCar::GetPrimitive(), SBS::Floor::GetPrimitive(), SBS::SBS::GetPrimitive(), SBS::Shaft::Level::GetPrimitive(), SBS::Stairwell::Level::GetPrimitive(), SBS::Floor::GetReverb(), SBS::SBS::GetReverb(), SBS::ElevatorCar::GetSound(), SBS::Floor::GetSound(), SBS::SBS::GetSound(), SBS::SoundSystem::GetSoundData(), SBS::TextureManager::GetTextureMapping(), SBS::MeshObject::GetWallByName(), SBS::Indicator::Indicator(), IsBoolean(), SBS::SoundSystem::IsLoaded(), SBS::TextureManager::loadChromaKeyedTexture(), SBS::TextureManager::LoadTexture(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), SBS::Reverb::Reverb(), Skyscraper::ScriptProcessor::CommandsSection::Run(), SetCaseCopy(), SBS::SBS::SetFloorOrientation(), SBS::SBS::SetWallOrientation(), StartsWith(), ToBool(), and SBS::TextureManager::TransformTexture().

◆ SetCaseCopy()

◆ SplitString()

SBSIMPEXP void SBS::SplitString ( std::vector< std::string > & dest_array,
const std::string & original_string,
char separator )

◆ StartsWith()

SBSIMPEXP bool SBS::StartsWith ( const std::string & string,
const std::string & check_string,
bool ignore_case )

Definition at line 216 of file globals.cpp.

References SetCase(), and SetCaseCopy().

Referenced by SBS::SBS::GetMountPath(), SBS::MeshObject::LoadFromFile(), SBS::Action::Run(), and StartsWithNoCase().

Here is the call graph for this function:

◆ StartsWithNoCase()

◆ ToBool()

◆ ToFloat()

◆ ToInt()

◆ ToString() [1/4]

SBSIMPEXP std::string SBS::ToString ( double number)

Definition at line 301 of file globals.cpp.

◆ ToString() [2/4]

SBSIMPEXP std::string SBS::ToString ( float number)

Definition at line 290 of file globals.cpp.

◆ ToString() [3/4]

SBSIMPEXP std::string SBS::ToString ( int number)

Definition at line 279 of file globals.cpp.

Referenced by Skyscraper::ObjectInfo::AddChildren(), SBS::ButtonPanel::AddControl(), SBS::DoorManager::AddDoor(), SBS::ElevatorCar::AddDoor(), SBS::Floor::AddDoor(), SBS::RevolvingDoorManager::AddDoor(), SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), SBS::ElevatorCar::AddDoorComponent(), SBS::ElevatorDoor::AddDoorComponent(), SBS::ElevatorCar::AddDoors(), SBS::DispatchController::AddElevator(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::ElevatorCar::AddFloorSigns(), SBS::SBS::AddKey(), SBS::Floor::AddRevolvingDoor(), SBS::Elevator::AddRoute(), SBS::ElevatorCar::AddServicedFloor(), SBS::ElevatorDoor::AddShaftDoorComponent(), SBS::ElevatorCar::AddShaftDoors(), SBS::ElevatorCar::AddShaftDoorsComponent(), SBS::Stairwell::Level::AddStairs(), SBS::TextureManager::AddTextToTexture(), SBS::TextureManager::AddTextureOverlay(), SBS::Vehicle::AddWheel(), SBS::ElevatorCar::AreDoorsMoving(), SBS::ElevatorCar::AreDoorsOpen(), SBS::ElevatorCar::AreShaftDoorsOpen(), Skyscraper::SoundManager::BuildHandleList(), Skyscraper::CameraTextureControl::BuildList(), Skyscraper::EscalatorControl::BuildList(), Skyscraper::PeopleManager::BuildList(), Skyscraper::WalkwayControl::BuildList(), Skyscraper::SoundManager::BuildSoundList(), SBS::ButtonPanel::ButtonPanel(), SBS::DispatchController::CallElevator(), SBS::CallStation::CallStation(), SBS::CameraTexture::CameraTexture(), SBS::Control::ChangeFloorLight(), SBS::ElevatorCar::ChangeLight(), SBS::Object::ChangeParent(), SBS::DynamicMesh::Mesh::ChangeTexture(), SBS::ElevatorCar::CheckServicedFloors(), SBS::ElevatorCar::Chime(), Skyscraper::StartScreen::Click(), SBS::Camera::ClickedObject(), SBS::ElevatorCar::CloseDoors(), SBS::ElevatorDoor::CloseDoors(), SBS::ControllerManager::Create(), SBS::ShaftManager::Create(), SBS::StairwellManager::Create(), SBS::ElevatorCar::CreateButtonPanel(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateCounterweight(), SBS::DoorManager::CreateDoor(), SBS::ElevatorCar::CreateDoor(), SBS::Floor::CreateDoor(), SBS::Shaft::Level::CreateDoor(), SBS::Stairwell::Level::CreateDoor(), SBS::Elevator::CreateElevator(), SBS::TextureManager::CreateMaterial(), SBS::SBS::CreatePerson(), SBS::ElevatorDoor::CreateSensor(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DynamicMesh::Mesh::CreateSubMesh(), Skyscraper::VM::DeleteEngine(), SBS::SBS::DeleteObject(), SBS::Elevator::DeleteRoute(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DispatchController::DispatchController(), SBS::DispatchController::DispatchElevator(), SBS::ElevatorCar::DoorsStopped(), SBS::DoorWrapper::DoorWrapper(), Skyscraper::StartScreen::DrawBackground(), SBS::Elevator::DumpQueues(), SBS::ElevatorCar::DumpServicedFloors(), SBS::SBS::DumpState(), Skyscraper::ScriptProcessor::DumpState(), SBS::Elevator::Elevator(), SBS::DispatchController::ElevatorArrived(), SBS::ElevatorCar::ElevatorCar(), SBS::ElevatorDoor::ElevatorDoor(), SBS::DispatchController::ElevatorUnavailable(), SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), SBS::ElevatorCar::EnableNudgeMode(), SBS::SBS::EnableRandomActivity(), SBS::ElevatorCar::EnableSensor(), SBS::Escalator::Escalator(), SBS::DispatchController::FindClosestElevator(), SBS::DynamicMesh::Mesh::FindMatchingSubMesh(), SBS::ElevatorCar::FinishDoors(), SBS::ElevatorDoor::FinishDoors(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::FinishShaftDoor(), SBS::ElevatorCar::FinishShaftDoors(), SBS::Floor::Floor(), SBS::FloorIndicator::FloorIndicator(), SBS::SBS::GetConfigBool(), SBS::SBS::GetConfigFloat(), Skyscraper::HAL::GetConfigFloat(), SBS::SBS::GetConfigInt(), Skyscraper::HAL::GetConfigInt(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::ButtonPanel::GetFloorButton(), SBS::CallStation::GetFloorFromID(), SBS::ElevatorCar::GetFloorFromID(), SBS::ElevatorCar::GetHoldStatus(), SBS::TextureManager::GetMaterialByName(), SBS::Object::GetNameBase(), SBS::ObjectBase::GetNameBase(), SBS::ElevatorDoor::GetNumberText(), SBS::SBS::GetObjectRange(), SBS::ElevatorCar::GetSensorStatus(), SBS::Person::GetStatus(), SBS::TextureManager::GetTextureMapping(), SBS::Elevator::Go(), SBS::Person::GotoFloor(), Skyscraper::VM::HandleEngineShutdown(), Skyscraper::VM::HandleReload(), SBS::ElevatorCar::HoldDoors(), Skyscraper::EngineContext::Init(), SBS::ElevatorCar::IsNudgeModeActive(), SBS::Elevator::IsServicedFloor(), SBS::ElevatorCar::IsServicedFloor(), Skyscraper::Skyscraper::keyPressed(), SBS::Shaft::Level::Level(), SBS::Stairwell::Level::Level(), SBS::SBS::ListKeys(), Skyscraper::VM::ListPlayingSounds(), SBS::SBS::ListVisibleMeshes(), SBS::TextureManager::LoadAnimatedTexture(), Skyscraper::HAL::LoadSystem(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTextureCropped(), Skyscraper::ActionViewer::Loop(), Skyscraper::CameraControl::Loop(), Skyscraper::CameraTextureControl::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::EngineManager::Loop(), Skyscraper::ObjectInfo::Loop(), Skyscraper::PeopleManager::Loop(), Skyscraper::SkyControl::Loop(), Skyscraper::SoundManager::Loop(), Skyscraper::Stats::Loop(), Skyscraper::TextureManager::Loop(), Skyscraper::ScriptProcessor::Section::MathFunctions(), SBS::SBS::MemoryReport(), SBS::Elevator::MoveElevatorToFloor(), SBS::MovingWalkway::MovingWalkway(), SBS::Elevator::Timer::Notify(), Skyscraper::ActionViewer::On_ActionList_Select(), Skyscraper::TextureManager::On_TextureList_Select(), Skyscraper::Skyscraper::OnInit(), SBS::ElevatorCar::OpenDoors(), SBS::ElevatorDoor::OpenDoors(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), Skyscraper::ObjectInfo::PopulateTree(), SBS::DynamicMesh::Prepare(), SBS::SBS::Prepare(), Skyscraper::VMConsole::Process(), SBS::Elevator::ProcessCallQueue(), Skyscraper::ScriptProcessor::ProcessExtents(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::ProcessForLoops(), Skyscraper::ScriptProcessor::ProcessFunctionParameters(), SBS::Person::ProcessRoute(), SBS::DispatchController::ProcessRoutes(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::DispatchController::RemoveElevator(), SBS::DispatchController::RemoveRoute(), SBS::ElevatorCar::RemoveServicedFloor(), SBS::CallStation::Report(), SBS::DispatchController::Report(), SBS::ElevatorCar::Report(), SBS::Floor::Report(), SBS::Shaft::Report(), SBS::Stairwell::Report(), SBS::CallStation::ReportError(), SBS::DispatchController::ReportError(), SBS::ElevatorCar::ReportError(), SBS::Floor::ReportError(), SBS::Shaft::ReportError(), SBS::Stairwell::ReportError(), SBS::DispatchController::RequestRoute(), SBS::ElevatorCar::ResetDoors(), SBS::ElevatorCar::ResetDoorState(), SBS::ElevatorCar::ResetNudgeTimer(), SBS::Elevator::ReturnToNearestFloor(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ControllerSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), Skyscraper::ScriptProcessor::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), Skyscraper::ScriptProcessor::VehicleSection::Run(), SBS::Elevator::SameFloorArrival(), SBS::SBS::SBS(), Skyscraper::ScriptProcessor::ScriptError(), SBS::CallStation::SelectFloor(), SBS::Elevator::SelectFloor(), SBS::Object::SelfDestruct(), SBS::DispatchController::ServicesElevator(), SBS::Elevator::SetACPFloor(), Skyscraper::VM::SetActiveEngine(), SBS::Elevator::SetAlternateRecallFloor(), SBS::Person::SetFloor(), SBS::Elevator::SetHoistwayAccess(), Skyscraper::editelevator::SetMainValues(), SBS::Sound::SetPlayPosition(), SBS::Elevator::SetRecallFloor(), SBS::ElevatorCar::SetShaftDoors(), SBS::Sound::SetSpeed(), Skyscraper::ParameterViewer::Setup(), SBS::Sound::SetVolume(), SBS::Shaft::Shaft(), SBS::ElevatorCar::ShaftDoorsEnabled(), SBS::ElevatorCar::ShaftDoorsEnabledRange(), SBS::Floor::ShowInfo(), SBS::SoundSystem::ShowLoadedSounds(), Skyscraper::VM::ShowPlatform(), SBS::SoundSystem::ShowPlayingTotal(), SBS::Stairwell::Stairwell(), SBS::ElevatorCar::StopDoors(), SBS::ElevatorDoor::StopDoors(), Skyscraper::ScriptProcessor::StoreCommand(), SBS::DoorLock::ToggleLock(), SBS::Lock::ToggleLock(), SBS::TextureManager::UnloadMaterials(), Skyscraper::EngineContext::UnloadSim(), SBS::Vehicle::Vehicle(), and SBS::Object::~Object().

◆ ToString() [4/4]

SBSIMPEXP std::string SBS::ToString ( unsigned long number)

Definition at line 325 of file globals.cpp.

◆ TrimString()

SBSIMPEXP void SBS::TrimString ( std::string & string)

Definition at line 188 of file globals.cpp.

Referenced by SBS::Action::Action(), SBS::Action::Action(), SBS::ButtonPanel::AddControl(), SBS::ElevatorDoor::AddDoorComponent(), SBS::ElevatorDoor::AddShaftDoorComponent(), SBS::Stairwell::Level::AddStairs(), SBS::TextureManager::AddTextToTexture(), SBS::ButtonPanel::ButtonPanel(), Skyscraper::ScriptProcessor::Calc(), SBS::Control::Control(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DoorComponent::DoorComponent(), Skyscraper::ScriptProcessor::FunctionProc(), Skyscraper::ScriptProcessor::Section::GetAfterEquals(), Skyscraper::ScriptProcessor::Section::GetBeforeEquals(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::SBS::GetFilesystemPath(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::SBS::GetObjectRange(), Skyscraper::ScriptProcessor::Section::GetRange(), SBS::Indicator::Indicator(), SBS::TextureManager::LoadAnimatedTexture(), SBS::MeshObject::LoadFromFile(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Indicator::PlaySound(), Skyscraper::VMConsole::Process(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::ProcessForLoops(), Skyscraper::ScriptProcessor::ProcessFunctionParameters(), Skyscraper::ScriptProcessor::ProcessSections(), Skyscraper::ScriptProcessor::ProcessUserVariables(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), Skyscraper::ScriptProcessor::ScriptError(), SBS::ElevatorCar::SetBeepSound(), SBS::Elevator::SetFloorSkipText(), SBS::ElevatorCar::SetFloorSound(), SBS::ElevatorCar::SetMessageSound(), Skyscraper::ScriptProcessor::Section::SplitAfterEquals(), SplitString(), Skyscraper::ScriptProcessor::StoreCommand(), SBS::TextureManager::UnregisterTextureInfo(), and SBS::SBS::VerifyFile().

◆ TrimStringCopy()

◆ TruncateNumber() [1/3]

SBSIMPEXP std::string SBS::TruncateNumber ( const std::string & value,
int decimals )

Definition at line 444 of file globals.cpp.

◆ TruncateNumber() [2/3]

SBSIMPEXP std::string SBS::TruncateNumber ( double value,
int decimals )

Definition at line 430 of file globals.cpp.

◆ TruncateNumber() [3/3]

Variable Documentation

◆ enable_advanced_profiling

◆ enable_profiling

◆ pi

const Real SBS::pi = 3.14159265

Definition at line 71 of file globals.h.

Referenced by DegreesToRadians(), and RadiansToDegrees().