Skyscraper 2.0
|
Typedefs | |
typedef std::vector< Polygon * > | Polygons |
typedef std::vector< Vector3 > | PolyArray |
typedef std::vector< PolyArray > | PolygonSet |
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 std::vector<Vector3> SBS::PolyArray |
typedef std::vector<Polygon*> SBS::Polygons |
Definition at line 31 of file polymesh.h.
typedef std::vector<PolyArray> SBS::PolygonSet |
SBSIMPEXP std::string SBS::BoolToString | ( | bool | item | ) |
Definition at line 101 of file globals.cpp.
Referenced by SBS::SBS::DumpState(), Skyscraper::HAL::GetConfigBool(), Skyscraper::CameraControl::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::ObjectInfo::Loop(), and Skyscraper::Stats::Loop().
Definition at line 115 of file globals.cpp.
References pi.
Referenced by SBS::Utility::GetEndPoint().
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().
SBSIMPEXP bool SBS::IsBoolean | ( | std::string | string | ) |
Definition at line 391 of file globals.cpp.
References SetCase().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
SBSIMPEXP bool SBS::IsEven | ( | int | Number | ) |
Definition at line 37 of file globals.cpp.
Referenced by SBS::SBS::EnableFloorRange(), SBS::Shaft::EnableRange(), SBS::Stairwell::EnableRange(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), and SBS::ElevatorDoor::ShaftDoorsEnabledRange().
SBSIMPEXP bool SBS::IsNumeric | ( | char | character | ) |
Definition at line 48 of file globals.cpp.
Referenced by SBS::ButtonPanel::AddButton(), SBS::Control::FindNumericActionPosition(), SBS::CallStation::GetFloorFromID(), SBS::ElevatorCar::GetFloorFromID(), SBS::SBS::GetObject(), SBS::SBS::GetObjectRange(), IsNumeric(), IsNumeric(), Skyscraper::IsNumeric(), Skyscraper::IsNumeric(), Skyscraper::IsNumeric(), Skyscraper::IsNumeric(), SBS::Trigger::Loop(), SBS::Control::Press(), SBS::CallStation::ProcessCache(), SBS::ElevatorCar::ProcessCache(), and SBS::Action::Run().
SBSIMPEXP bool SBS::IsNumeric | ( | const std::string & | string | ) |
Definition at line 57 of file globals.cpp.
References IsNumeric().
SBSIMPEXP bool SBS::IsNumeric | ( | const std::string & | string, |
double & | number ) |
Definition at line 90 of file globals.cpp.
SBSIMPEXP bool SBS::IsNumeric | ( | const std::string & | string, |
float & | number ) |
Definition at line 75 of file globals.cpp.
SBSIMPEXP bool SBS::IsNumeric | ( | const std::string & | string, |
int & | number ) |
Definition at line 65 of file globals.cpp.
References IsNumeric().
SBSIMPEXP double SBS::Log2 | ( | double | number | ) |
Definition at line 341 of file globals.cpp.
SBSIMPEXP float SBS::Log2 | ( | float | number | ) |
Definition at line 336 of file globals.cpp.
Referenced by Skyscraper::StartScreen::DrawImage(), and Skyscraper::ScriptProcessor::Section::MathFunctions().
Definition at line 131 of file globals.cpp.
Referenced by Skyscraper::EngineContext::CutForEngine().
Definition at line 153 of file globals.cpp.
Definition at line 121 of file globals.cpp.
Referenced by Skyscraper::EngineContext::CutForEngine().
Definition at line 141 of file globals.cpp.
|
inline |
Definition at line 35 of file profiler.cpp.
Referenced by SBS::ProfileManager::Get_Time_Since_Reset(), and SBS::ProfileNode::Return().
|
inline |
Definition at line 30 of file profiler.cpp.
References gProfileClock.
Referenced by SBS::ProfileNode::Call(), SBS::ProfileManager::Get_Time_Since_Reset(), SBS::ProfileManager::Reset(), and SBS::ProfileNode::Return().
Definition at line 109 of file globals.cpp.
References pi.
SBSIMPEXP void SBS::ReplaceAll | ( | std::string & | string, |
const std::string & | original, | ||
const std::string & | replacement ) |
Definition at line 201 of file globals.cpp.
Referenced by Skyscraper::ScriptProcessor::Calc(), Skyscraper::ScriptProcessor::CheckFile(), SBS::SBS::GetAction(), SBS::SBS::GetFilesystemPath(), SBS::SBS::GetMountPath(), SBS::SBS::GetObject(), SBS::SBS::GetObjectOfParent(), SBS::TextureManager::GetTextureMapping(), Skyscraper::ScriptProcessor::Section::IfProc(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Indicator::PlaySound(), Skyscraper::ScriptProcessor::ProcessExtents(), Skyscraper::ScriptProcessor::ProcessFunctionParameters(), Skyscraper::ScriptProcessor::ProcessUserVariables(), SBS::SBS::RemoveAction(), Skyscraper::ScriptProcessor::CallStationSection::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(), and SBS::SBS::VerifyFile().
Definition at line 381 of file globals.cpp.
References Round().
Definition at line 370 of file globals.cpp.
References Round().
SBSIMPEXP double SBS::Round | ( | double | number, |
int | decimal_places ) |
Definition at line 358 of file globals.cpp.
SBSIMPEXP float SBS::Round | ( | float | number, |
int | decimal_places ) |
Definition at line 346 of file globals.cpp.
Referenced by SBS::TextureManager::ComputeTextureMap(), Skyscraper::ScriptProcessor::Section::MathFunctions(), Round(), and Round().
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().
SBSIMPEXP std::string SBS::SetCaseCopy | ( | std::string | string, |
bool | uppercase ) |
Definition at line 165 of file globals.cpp.
References SetCase().
Referenced by FindWithCase(), SBS::ElevatorCar::GetCustomObject(), SBS::Floor::GetCustomObject(), SBS::SBS::GetCustomObject(), SBS::Shaft::Level::GetCustomObject(), SBS::Stairwell::Level::GetCustomObject(), SBS::Floor::GetDirectFloors(), SBS::Floor::GetDirectRoute(), SBS::Floor::GetElevatorList(), SBS::SBS::GetLight(), SBS::Elevator::GetLobbies(), SBS::ElevatorCar::GetModel(), SBS::Floor::GetModel(), SBS::SBS::GetModel(), SBS::Shaft::Level::GetModel(), SBS::Stairwell::Level::GetModel(), SBS::ElevatorCar::GetPrimitive(), SBS::Floor::GetPrimitive(), SBS::SBS::GetPrimitive(), SBS::Shaft::Level::GetPrimitive(), SBS::Stairwell::Level::GetPrimitive(), SBS::MeshObject::GetWallByName(), SBS::SoundSystem::Load(), Skyscraper::ScriptProcessor::Section::MathFunctions(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::ProcessForLoops(), Skyscraper::ScriptProcessor::ProcessSections(), Skyscraper::ScriptProcessor::CommandsSection::Run(), StartsWith(), and SBS::SBS::VerifyFile().
SBSIMPEXP void SBS::SplitString | ( | std::vector< std::string > & | dest_array, |
const std::string & | original_string, | ||
char | separator ) |
Definition at line 242 of file globals.cpp.
References TrimString().
Referenced by Skyscraper::ScriptProcessor::FunctionProc(), Skyscraper::ScriptProcessor::LoadFromText(), Skyscraper::VMConsole::Process(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::Section::SplitAfterEquals(), and Skyscraper::ScriptProcessor::Section::SplitData().
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().
SBSIMPEXP bool SBS::StartsWithNoCase | ( | const std::string & | string, |
const std::string & | check_string ) |
Definition at line 237 of file globals.cpp.
References StartsWith().
Referenced by Skyscraper::ScriptProcessor::ProcessForLoops(), Skyscraper::ScriptProcessor::ProcessSections(), Skyscraper::ScriptProcessor::BuildingsSection::Run(), 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::GlobalsSection::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), and Skyscraper::ScriptProcessor::VehicleSection::Run().
SBSIMPEXP bool SBS::ToBool | ( | std::string | string | ) |
Definition at line 407 of file globals.cpp.
References SetCase().
Referenced by SBS::SBS::GetConfigBool(), Skyscraper::HAL::GetConfigBool(), Skyscraper::ScriptProcessor::Section::IfProc(), SBS::Action::Run(), Skyscraper::ScriptProcessor::BuildingsSection::Run(), 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::GlobalsSection::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), and Skyscraper::ScriptProcessor::VehicleSection::Run().
Definition at line 397 of file globals.cpp.
Referenced by Skyscraper::ScriptProcessor::Calc(), SBS::SBS::GetConfigFloat(), Skyscraper::HAL::GetConfigFloat(), SBS::TextureManager::GetTextureMapping(), Skyscraper::ScriptProcessor::Section::IfProc(), SBS::Action::Run(), Skyscraper::ScriptProcessor::BuildingsSection::Run(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), and Skyscraper::ScriptProcessor::VehicleSection::Run().
SBSIMPEXP int SBS::ToInt | ( | const std::string & | string | ) |
Definition at line 402 of file globals.cpp.
Referenced by SBS::SBS::GetConfigInt(), Skyscraper::HAL::GetConfigInt(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::CallStation::GetFloorFromID(), SBS::ElevatorCar::GetFloorFromID(), SBS::SBS::GetObject(), SBS::TextureManager::GetTextureMapping(), Skyscraper::editelevator::On_chkServicedFloors_Toggled(), Skyscraper::VMConsole::Process(), SBS::SBS::ProcessFullName(), Skyscraper::ScriptProcessor::ProcessFunctionParameters(), SBS::Action::Run(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), and Skyscraper::ScriptProcessor::VehicleSection::Run().
SBSIMPEXP std::string SBS::ToString | ( | double | number | ) |
Definition at line 301 of file globals.cpp.
SBSIMPEXP std::string SBS::ToString | ( | float | number | ) |
Definition at line 290 of file globals.cpp.
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().
SBSIMPEXP std::string SBS::ToString | ( | unsigned long | number | ) |
Definition at line 325 of file globals.cpp.
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().
SBSIMPEXP std::string SBS::TrimStringCopy | ( | std::string | string | ) |
Definition at line 194 of file globals.cpp.
Referenced by SBS::TextureManager::AddTextToTexture(), SBS::TextureManager::LoadAlphaBlendTexture(), SBS::TextureManager::LoadAnimatedTexture(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::RegisterTextureInfo(), SBS::TextureManager::RotateAnimTexture(), SBS::TextureManager::RotateTexture(), SBS::TextureManager::ScaleTexture(), SBS::TextureManager::ScrollAnimTexture(), SBS::TextureManager::ScrollTexture(), SBS::TextureManager::SetTextureOverride(), and SBS::TextureManager::TransformTexture().
SBSIMPEXP std::string SBS::TruncateNumber | ( | const std::string & | value, |
int | decimals ) |
Definition at line 444 of file globals.cpp.
SBSIMPEXP std::string SBS::TruncateNumber | ( | double | value, |
int | decimals ) |
Definition at line 430 of file globals.cpp.
SBSIMPEXP std::string SBS::TruncateNumber | ( | float | value, |
int | decimals ) |
Definition at line 416 of file globals.cpp.
Referenced by SBS::Elevator::CreateElevator(), SBS::SBS::DumpState(), Skyscraper::TextureManager::On_TextureList_Select(), SBS::Shaft::Shaft(), SBS::Stairwell::Stairwell(), Skyscraper::TruncateNumber(), and Skyscraper::TruncateNumber().
bool SBSIMPEXP SBS::enable_advanced_profiling |
Definition at line 16 of file profiler.cpp.
Referenced by SBS::SBS::Loop(), SBS::SoundSystem::Loop(), Skyscraper::Profiler::Loop(), Skyscraper::VMConsole::Process(), SBS::ProfileSample::ProfileSample(), SBS::SBS::SBS(), and SBS::ProfileSample::~ProfileSample().
bool SBSIMPEXP SBS::enable_profiling |
Definition at line 15 of file profiler.cpp.
Referenced by SBS::ProfileManager::dumpRecursive(), SBS::ProfileManager::Increment_Frame_Counter(), Skyscraper::DebugPanel::Loop(), Skyscraper::VMConsole::Process(), SBS::ProfileManager::Reset(), SBS::SBS::SBS(), SBS::ProfileManager::Start_Profile(), and SBS::ProfileManager::Stop_Profile().
const Real SBS::pi = 3.14159265 |
Definition at line 71 of file globals.h.
Referenced by DegreesToRadians(), and RadiansToDegrees().