Skyscraper 2.0
|
#include <section.h>
Public Member Functions | |
BuildingsSection (ScriptProcessor *parent) | |
~BuildingsSection () | |
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::BuildingsSection::BuildingsSection | ( | ScriptProcessor * | parent | ) |
Definition at line 34 of file buildings.cpp.
|
inline |
|
virtual |
Reimplemented from Skyscraper::ScriptProcessor::Section.
Definition at line 39 of file buildings.cpp.
References Skyscraper::VM::ConcurrentLoads, Skyscraper::ScriptProcessor::config, Skyscraper::ScriptProcessor::ConfigHandler::Context, Skyscraper::VM::CutBuildings, Skyscraper::VM::CutExternal, Skyscraper::VM::CutFloors, Skyscraper::VM::CutLandscape, Skyscraper::ScriptProcessor::engine, Skyscraper::EngineContext::GetVM(), Skyscraper::IsNumeric(), Skyscraper::EngineContext::IsRoot(), Skyscraper::ScriptProcessor::LineData, Skyscraper::VM::Load(), Skyscraper::EngineContext::Report(), Skyscraper::ScriptProcessor::sContinue, Skyscraper::ScriptProcessor::ScriptError(), Skyscraper::ScriptProcessor::ConfigHandler::SectionNum, Skyscraper::ScriptProcessor::sError, Skyscraper::ScriptProcessor::sNextLine, SBS::StartsWithNoCase(), SBS::ToBool(), and SBS::ToFloat().
Referenced by Skyscraper::ScriptProcessor::Run().