Skyscraper 2.0
|
#include <section.h>
Public Member Functions | |
CommandsSection (ScriptProcessor *parent) | |
~CommandsSection () | |
int | Run (std::string &LineData) |
![]() | |
Section (ScriptProcessor *parent) | |
virtual | ~Section () |
virtual void | Reset () |
int | SplitData (const std::string &string, int start, bool calc=true) |
int | SplitAfterEquals (const std::string &string, bool calc=true) |
std::string | GetAfterEquals (const std::string &string, bool &found_equals) |
std::string | GetBeforeEquals (const std::string &string, bool calc=true) |
bool | GetRange (const std::string &string, int &start, int &end) |
int | ScriptError (std::string message, bool warning=false) |
int | ScriptError () |
int | ScriptWarning (std::string message) |
bool | IfProc (const std::string &expression) |
void | StoreCommand (SBS::Object *object) |
int | MathFunctions (std::string &LineData) |
::SBS::MeshObject * | GetMeshObject (std::string name) |
bool | GetElevatorCar (std::string &value, int floor, int &elevator, int &car) |
void | GetDirectionStrings (int direction, std::string &face_direction, std::string &open_direction) |
Additional Inherited Members | |
![]() | |
std::string | Calc (const std::string &expression) |
![]() | |
ScriptProcessor * | parent |
SBS::SBS * | Simcore |
EngineContext * | engine |
std::vector< std::string > | tempdata |
bool | warn_deprecated |
ScriptProcessor::ConfigHandler * | config |
Skyscraper::ScriptProcessor::CommandsSection::CommandsSection | ( | ScriptProcessor * | parent | ) |
Definition at line 56 of file commands.cpp.
|
inline |
|
virtual |
Reimplemented from Skyscraper::ScriptProcessor::Section.
Definition at line 61 of file commands.cpp.
References SBS::SBS::AddAction(), SBS::SBS::AddActionParent(), SBS::ElevatorCar::AddCameraTexture(), SBS::Floor::AddCameraTexture(), SBS::Shaft::Level::AddCameraTexture(), SBS::Stairwell::Level::AddCameraTexture(), SBS::SBS::AddControl(), SBS::SBS::AddCustomFloor(), SBS::ElevatorCar::AddCustomObject(), SBS::Floor::AddCustomObject(), SBS::SBS::AddCustomObject(), SBS::Shaft::Level::AddCustomObject(), SBS::Stairwell::Level::AddCustomObject(), SBS::SBS::AddCustomWall(), SBS::DoorManager::AddDoor(), SBS::ElevatorCar::AddDoor(), SBS::Floor::AddDoor(), SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), SBS::Door::AddDoorComponent(), SBS::SBS::AddFloor(), SBS::SBS::AddFloorAutoArea(), SBS::SBS::AddGround(), SBS::ElevatorCar::AddLight(), SBS::Floor::AddLight(), SBS::SBS::AddLight(), SBS::Shaft::Level::AddLight(), SBS::Stairwell::Level::AddLight(), SBS::SBS::AddModel(), SBS::SBS::AddPolygon(), SBS::ElevatorCar::AddPrimitive(), SBS::Floor::AddPrimitive(), SBS::SBS::AddPrimitive(), SBS::Shaft::Level::AddPrimitive(), SBS::Stairwell::Level::AddPrimitive(), SBS::SBS::AddReverb(), SBS::Shaft::AddShowFloor(), SBS::Stairwell::AddShowFloor(), SBS::Shaft::AddShowInterfloor(), SBS::Shaft::AddShowOutside(), SBS::SBS::AddSound(), SBS::SBS::AddTriangleWall(), SBS::SBS::AddTrigger(), SBS::SBS::AddWall(), SBS::Primitive::always_visible, SBS::Primitive::Attach(), SBS::Door::AutoClose(), Skyscraper::ScriptProcessor::Calc(), SBS::SBS::camera, Skyscraper::ScriptProcessor::ConfigHandler::CheckScript, SBS::Primitive::collider_type, Skyscraper::ScriptProcessor::config, SBS::GeometryController::CreateBox(), SBS::GeometryController::CreateCapsule(), SBS::GeometryController::CreateCone(), SBS::GeometryController::CreateCylinder(), SBS::DoorManager::CreateDoor(), SBS::ElevatorCar::CreateDoor(), SBS::Floor::CreateDoor(), SBS::Shaft::Level::CreateDoor(), SBS::Stairwell::Level::CreateDoor(), SBS::GeometryController::CreateIcoSphere(), SBS::GeometryController::CreatePlane(), SBS::GeometryController::CreatePrism(), SBS::GeometryController::CreateRoundedBox(), SBS::SBS::CreateShaft(), SBS::GeometryController::CreateSphere(), SBS::GeometryController::CreateSpring(), SBS::SBS::CreateStairwell(), SBS::GeometryController::CreateTorus(), SBS::GeometryController::CreateTorusKnot(), SBS::GeometryController::CreateTube(), SBS::SBS::CreateWallBox(), SBS::SBS::CreateWallBox2(), SBS::MeshObject::CreateWallObject(), Skyscraper::ScriptProcessor::ConfigHandler::Current, SBS::MeshObject::Cut(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::SBS::DeleteObject(), SBS::SBS::DrawWalls(), SBS::MeshObject::EnablePhysics(), Skyscraper::ScriptProcessor::engine, SBS::Door::FinishDoor(), SBS::SBS::Floors, SBS::Floor::GetBase(), SBS::Elevator::GetCar(), SBS::ElevatorCar::GetCustomObject(), SBS::Floor::GetCustomObject(), SBS::SBS::GetCustomObject(), SBS::Shaft::Level::GetCustomObject(), SBS::Stairwell::Level::GetCustomObject(), SBS::DoorManager::GetDoor(), SBS::ElevatorCar::GetDoor(), SBS::Floor::GetDoor(), SBS::Shaft::Level::GetDoor(), SBS::Stairwell::Level::GetDoor(), SBS::Utility::GetEndPoint(), SBS::SBS::GetFloor(), SBS::SBS::GetGeometry(), SBS::ElevatorCar::GetLight(), SBS::Floor::GetLight(), SBS::SBS::GetLight(), SBS::Shaft::Level::GetLight(), SBS::Stairwell::Level::GetLight(), SBS::CustomObject::GetMeshObject(), SBS::SBS::GetObject(), SBS::SBS::GetObjectOfParent(), SBS::SBS::GetObjectRange(), SBS::MeshObject::GetPoint(), SBS::Object::GetPosition(), SBS::ElevatorCar::GetPrimitive(), SBS::Floor::GetPrimitive(), SBS::SBS::GetPrimitive(), SBS::Shaft::Level::GetPrimitive(), SBS::Stairwell::Level::GetPrimitive(), SBS::SBS::GetShaft(), SBS::SBS::GetShaftCount(), SBS::SBS::GetSoundSystem(), SBS::SBS::GetStairwell(), SBS::SBS::GetStairwellCount(), SBS::SBS::GetTextureManager(), SBS::Object::GetType(), SBS::SBS::GetUtility(), SBS::MeshObject::GetWallByName(), SBS::MeshObject::GetWallExtents(), SBS::Camera::GotoFloor(), Skyscraper::ScriptProcessor::ConfigHandler::InWhile, SBS::IsBoolean(), SBS::IsEven(), Skyscraper::IsNumeric(), Skyscraper::ScriptProcessor::ConfigHandler::keyvalue, Skyscraper::ScriptProcessor::line, Skyscraper::ScriptProcessor::LineData, SBS::SBS::ListVisibleMeshes(), Skyscraper::ScriptProcessor::ConfigHandler::lockvalue, Skyscraper::ScriptProcessor::ConfigHandler::MaxExtent, Skyscraper::ScriptProcessor::ConfigHandler::MinExtent, SBS::SBS::Mount(), SBS::Object::Move(), Skyscraper::ScriptProcessor::VariableMap::name, SBS::SBS::RemoveActionParent(), SBS::ObjectBase::Report(), Skyscraper::EngineContext::Report(), Skyscraper::ScriptProcessor::ConfigHandler::ReverseAxis, SBS::Object::Rotate(), SBS::SBS::RunAction(), Skyscraper::ScriptProcessor::sCheckFloors, Skyscraper::ScriptProcessor::sContinue, Skyscraper::ScriptProcessor::ScriptError(), Skyscraper::ScriptProcessor::ScriptWarning(), Skyscraper::ScriptProcessor::ConfigHandler::SectionNum, Skyscraper::ScriptProcessor::sError, SBS::Light::SetAttenuation(), SBS::SetCase(), SBS::SetCaseCopy(), SBS::Light::SetColor(), SBS::Light::SetDirection(), SBS::SBS::SetFloorOrientation(), SBS::Model::SetKey(), Skyscraper::ScriptProcessor::ConfigHandler::setkey, SBS::DoorLock::SetLocked(), SBS::Lock::SetLocked(), SBS::Object::SetPosition(), SBS::Object::SetPositionRelative(), SBS::Object::SetPositionY(), SBS::Object::SetRotation(), SBS::Shaft::SetShowFull(), SBS::Stairwell::SetShowFull(), SBS::Light::SetSpecularColor(), SBS::Light::SetSpotlightRange(), SBS::Primitive::SetTexture(), SBS::SBS::SetWallOrientation(), SBS::CameraTexture::SetZoom(), SBS::SBS::ShowFloorList(), SBS::Shaft::ShowFloors, SBS::Stairwell::ShowFloors, SBS::Floor::ShowInfo(), SBS::Shaft::ShowInterfloors, SBS::SoundSystem::ShowLoadedSounds(), SBS::Shaft::ShowOutside, SBS::SoundSystem::ShowPlayingSounds(), Skyscraper::ScriptProcessor::Simcore, Skyscraper::ScriptProcessor::sNextLine, SBS::SplitString(), Skyscraper::ScriptProcessor::sSkipReset, SBS::StartsWithNoCase(), Skyscraper::ScriptProcessor::StoreCommand(), SBS::Camera::Teleport(), SBS::ToBool(), SBS::ToFloat(), SBS::ToInt(), SBS::ToString(), SBS::TrimString(), Skyscraper::ScriptProcessor::VariableMap::value, SBS::SBS::Verbose, and Skyscraper::ScriptProcessor::wall.
Referenced by Skyscraper::ScriptProcessor::Run().