23#ifndef SCRIPTSECTION_H
24#define SCRIPTSECTION_H
37 int SplitData(
const std::string &
string,
int start,
bool calc =
true);
39 std::string
GetAfterEquals(
const std::string &
string,
bool &found_equals);
40 std::string
GetBeforeEquals(
const std::string &
string,
bool calc =
true);
41 bool GetRange(
const std::string &
string,
int &start,
int &end);
42 int ScriptError(std::string message,
bool warning =
false);
45 bool IfProc(
const std::string &expression);
49 bool GetElevatorCar(std::string &value,
int floor,
int &elevator,
int &car);
50 void GetDirectionStrings(
int direction, std::string &face_direction, std::string &open_direction);
60 std::string
Calc(
const std::string &expression);
BuildingsSection(ScriptProcessor *parent)
CallStationSection(ScriptProcessor *parent)
CommandsSection(ScriptProcessor *parent)
ControllerSection(ScriptProcessor *parent)
ElevatorCarSection(ScriptProcessor *parent)
ElevatorSection(ScriptProcessor *parent)
Real cache_interfloorheight
std::string cache_height_s
std::string cache_interfloorheight_s
std::string cache_fullheight_s
int callbutton_controller
FloorSection(ScriptProcessor *parent)
std::string cache_current_s
GlobalsSection(ScriptProcessor *parent)
std::string Calc(const std::string &expression)
std::vector< std::string > tempdata
int SplitData(const std::string &string, int start, bool calc=true)
bool GetRange(const std::string &string, int &start, int &end)
int MathFunctions(std::string &LineData)
int SplitAfterEquals(const std::string &string, bool calc=true)
bool GetElevatorCar(std::string &value, int floor, int &elevator, int &car)
void StoreCommand(SBS::Object *object)
Section(ScriptProcessor *parent)
virtual int Run(std::string &LineData)
ScriptProcessor::ConfigHandler * config
std::string GetBeforeEquals(const std::string &string, bool calc=true)
int ScriptWarning(std::string message)
::SBS::MeshObject * GetMeshObject(std::string name)
void GetDirectionStrings(int direction, std::string &face_direction, std::string &open_direction)
bool IfProc(const std::string &expression)
std::string GetAfterEquals(const std::string &string, bool &found_equals)
TexturesSection(ScriptProcessor *parent)
VehicleSection(ScriptProcessor *parent)