61 void OpenDoorsEmergency(
int whichdoors = 1,
int floor = 0);
62 void CloseDoorsEmergency(
int whichdoors = 1,
int floor = 0);
63 void OpenDoors(
int whichdoors = 1,
int floor = 0,
bool manual =
false);
64 void CloseDoors(
int whichdoors = 1,
int floor = 0,
bool manual =
false);
66 void Hold(
bool sensor =
false);
67 void ShaftDoorsEnabled(
int floor,
bool value);
68 void ShaftDoorsEnabledRange(
int floor,
int range);
70 bool AreShaftDoorsOpen(
int floor);
71 bool AreShaftDoorsClosed(
bool skip_current_floor =
false);
72 void Reset(
bool sensor =
false);
75 bool AddShaftDoors(
const std::string &lefttexture,
const std::string &righttexture,
Real thickness,
Real CenterX,
Real CenterZ,
Real voffset,
Real tw,
Real th);
76 DoorWrapper* AddShaftDoor(
int floor,
const std::string &lefttexture,
const std::string &righttexture,
Real tw,
Real th);
77 DoorWrapper* AddShaftDoor(
int floor,
const std::string &lefttexture,
const std::string &righttexture,
Real thickness,
Real CenterX,
Real CenterZ,
Real voffset,
Real tw,
Real th);
78 void Chime(
int floor,
bool direction);
79 void EarlyChime(
int floor,
bool direction);
81 void MoveSound(
const Vector3 &position,
bool relative_x,
bool relative_y,
bool relative_z);
82 void Enabled(
bool value);
84 void SetShaftDoors(
Real thickness,
Real CenterX,
Real CenterZ);
85 bool ShaftDoorsExist(
int floor,
bool include_nonserviced =
false);
87 DoorComponent* AddDoorComponent(
DoorWrapper *wrapper,
const std::string &name,
const std::string &meshname,
const std::string &texture,
const std::string &sidetexture,
Real thickness,
const std::string &direction,
Real OpenSpeed,
Real CloseSpeed,
Real x1,
Real z1,
Real x2,
Real z2,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
88 DoorWrapper* AddDoorComponent(
const std::string &name,
const std::string &texture,
const std::string &sidetexture,
Real thickness,
const std::string &direction,
Real OpenSpeed,
Real CloseSpeed,
Real x1,
Real z1,
Real x2,
Real z2,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
89 DoorWrapper* AddShaftDoorComponent(
int floor,
const std::string &name,
const std::string &texture,
const std::string &sidetexture,
Real thickness,
const std::string &direction,
Real OpenSpeed,
Real CloseSpeed,
Real x1,
Real z1,
Real x2,
Real z2,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
90 void AddShaftDoorsComponent(
const std::string &name,
const std::string &texture,
const std::string &sidetexture,
Real thickness,
const std::string &direction,
Real OpenSpeed,
Real CloseSpeed,
Real x1,
Real z1,
Real x2,
Real z2,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
91 DoorWrapper* FinishDoors(
DoorWrapper *wrapper,
int floor,
bool ShaftDoor,
bool DoorWalls =
true,
bool TrackWalls =
true);
92 DoorWrapper* FinishDoors(
bool DoorWalls =
true,
bool TrackWalls =
true);
93 DoorWrapper* FinishShaftDoor(
int floor,
bool DoorWalls =
true,
bool TrackWalls =
true);
94 bool FinishShaftDoors(
bool DoorWalls =
true,
bool TrackWalls =
true);
97 bool TimerIsRunning();
98 void EnableNudgeMode(
bool value);
99 bool GetNudgeStatus();
100 int GetManualIndex(
int floor);
101 Real GetShaftDoorAltitude(
int floor);
104 bool AreDoorsMoving(
int doors = 0,
bool car_doors =
true,
bool shaft_doors =
true);
105 void EnableSensor(
bool value,
bool persistent =
true);
106 bool GetSensorStatus(
bool persistent =
true);
107 bool IsSensorBlocked();
108 bool GetHoldStatus();
109 void ResetNudgeTimer(
bool start =
true);
110 bool AllowNudgeMode();
111 std::string GetNumberText();
114 void AddServicedFloor(
int floor);
115 void RemoveServicedFloor(
int floor);
116 bool GetDoorChanged();
117 bool GetPreviousOpen();
130 void MoveDoors(
bool open,
bool manual);
131 int GetIndex(
int floor);