Skyscraper 2.0
|
#include <section.h>
Public Member Functions | |
VehicleSection (ScriptProcessor *parent) | |
~VehicleSection () | |
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::VehicleSection::VehicleSection | ( | ScriptProcessor * | parent | ) |
Definition at line 34 of file vehicles.cpp.
|
inline |
|
virtual |
Reimplemented from Skyscraper::ScriptProcessor::Section.
Definition at line 39 of file vehicles.cpp.
References SBS::Vehicle::AddWheel(), Skyscraper::ScriptProcessor::Calc(), SBS::Vehicle::ChassisMesh, SBS::Vehicle::ChassisScale, SBS::Vehicle::ChassisShift, Skyscraper::ScriptProcessor::config, Skyscraper::ScriptProcessor::ConfigHandler::Context, SBS::Vehicle::Create(), SBS::Vehicle::CreateChassis(), Skyscraper::ScriptProcessor::ConfigHandler::Current, Skyscraper::ScriptProcessor::engine, SBS::Vehicle::FrictionSlip, SBS::SBS::GetVehicle(), Skyscraper::IsNumeric(), Skyscraper::ScriptProcessor::LineData, SBS::Vehicle::MaxEngineForce, SBS::Vehicle::MaxSuspensionTravelCm, SBS::Vehicle::Name, SBS::SBS::NewVehicle(), Skyscraper::ScriptProcessor::ConfigHandler::RangeH, Skyscraper::ScriptProcessor::ConfigHandler::RangeL, Skyscraper::ScriptProcessor::ConfigHandler::RangeStart, SBS::ReplaceAll(), Skyscraper::EngineContext::Report(), SBS::Vehicle::RollInfluence, Skyscraper::ScriptProcessor::sContinue, Skyscraper::ScriptProcessor::ScriptError(), Skyscraper::ScriptProcessor::ConfigHandler::SectionNum, Skyscraper::ScriptProcessor::sError, Skyscraper::ScriptProcessor::Simcore, Skyscraper::ScriptProcessor::sNextLine, SBS::StartsWithNoCase(), SBS::Vehicle::SteeringClamp, SBS::Vehicle::SteeringIncrement, Skyscraper::ScriptProcessor::StoreCommand(), SBS::Vehicle::SuspensionCompression, SBS::Vehicle::SuspensionDamping, SBS::Vehicle::SuspensionRestLength, SBS::Vehicle::SuspensionStiffness, SBS::ToBool(), SBS::ToFloat(), SBS::ToInt(), SBS::ToString(), SBS::Vehicle::WheelFriction, SBS::Vehicle::WheelMesh, and SBS::Vehicle::WheelScale.
Referenced by Skyscraper::ScriptProcessor::Run().