Skyscraper 2.0
|
#include <elevatordoor.h>
Classes | |
class | Timer |
Public Member Functions | |
ElevatorDoor (int number, ElevatorCar *car) | |
~ElevatorDoor () | |
void | OpenDoorsEmergency (int whichdoors=1, int floor=0) |
void | CloseDoorsEmergency (int whichdoors=1, int floor=0) |
void | OpenDoors (int whichdoors=1, int floor=0, bool manual=false) |
void | CloseDoors (int whichdoors=1, int floor=0, bool manual=false) |
void | StopDoors () |
void | Hold (bool sensor=false) |
void | ShaftDoorsEnabled (int floor, bool value) |
void | ShaftDoorsEnabledRange (int floor, int range) |
bool | AreDoorsOpen () |
bool | AreShaftDoorsOpen (int floor) |
bool | AreShaftDoorsClosed (bool skip_current_floor=false) |
void | Reset (bool sensor=false) |
bool | DoorsStopped () |
DoorWrapper * | AddDoors (const std::string &lefttexture, const std::string &righttexture, Real thickness, Real CenterX, Real CenterZ, Real width, Real height, bool direction, Real tw, Real th) |
bool | AddShaftDoors (const std::string &lefttexture, const std::string &righttexture, Real thickness, Real CenterX, Real CenterZ, Real voffset, Real tw, Real th) |
DoorWrapper * | AddShaftDoor (int floor, const std::string &lefttexture, const std::string &righttexture, Real tw, Real th) |
DoorWrapper * | AddShaftDoor (int floor, const std::string &lefttexture, const std::string &righttexture, Real thickness, Real CenterX, Real CenterZ, Real voffset, Real tw, Real th) |
void | Chime (int floor, bool direction) |
void | EarlyChime (int floor, bool direction) |
void | Loop () |
void | MoveSound (const Vector3 &position, bool relative_x, bool relative_y, bool relative_z) |
void | Enabled (bool value) |
bool | IsEnabled () |
void | SetShaftDoors (Real thickness, Real CenterX, Real CenterZ) |
bool | ShaftDoorsExist (int floor, bool include_nonserviced=false) |
int | GetWhichDoors () |
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) |
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) |
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) |
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) |
DoorWrapper * | FinishDoors (DoorWrapper *wrapper, int floor, bool ShaftDoor, bool DoorWalls=true, bool TrackWalls=true) |
DoorWrapper * | FinishDoors (bool DoorWalls=true, bool TrackWalls=true) |
DoorWrapper * | FinishShaftDoor (int floor, bool DoorWalls=true, bool TrackWalls=true) |
bool | FinishShaftDoors (bool DoorWalls=true, bool TrackWalls=true) |
DoorWrapper * | GetDoorWrapper () |
DoorWrapper * | GetShaftDoorWrapper (int floor) |
bool | TimerIsRunning () |
void | EnableNudgeMode (bool value) |
bool | GetNudgeStatus () |
int | GetManualIndex (int floor) |
Real | GetShaftDoorAltitude (int floor) |
void | CheckSensor () |
void | CreateSensor (Vector3 &area_min, Vector3 &area_max) |
bool | AreDoorsMoving (int doors=0, bool car_doors=true, bool shaft_doors=true) |
void | EnableSensor (bool value, bool persistent=true) |
bool | GetSensorStatus (bool persistent=true) |
bool | IsSensorBlocked () |
bool | GetHoldStatus () |
void | ResetNudgeTimer (bool start=true) |
bool | AllowNudgeMode () |
std::string | GetNumberText () |
void | ResetState () |
void | RemoveShaftDoor (DoorWrapper *door) |
void | AddServicedFloor (int floor) |
void | RemoveServicedFloor (int floor) |
bool | GetDoorChanged () |
bool | GetPreviousOpen () |
![]() | |
Object (Object *parent) | |
virtual | ~Object () |
void | SetValues (const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true) |
bool | IsPermanent () |
bool | IsMovable () |
const std::string & | GetType () |
int | GetNumber () |
void | AddChild (Object *object) |
Object * | GetChild (int index) |
int | GetChildrenCount () |
void | RemoveChild (Object *object) |
SceneNode * | GetSceneNode () |
void | ShowBoundingBox (bool value) |
virtual void | Move (const Vector3 &vector, Real speed=1.0) |
virtual void | Move (Real X, Real Y, Real Z, Real speed=1.0) |
virtual void | SetPosition (const Vector3 &position) |
void | SetPositionRelative (const Vector3 &position) |
virtual void | SetPosition (Real X, Real Y, Real Z) |
void | SetPositionRelative (Real X, Real Y, Real Z) |
virtual void | SetPositionY (Real value) |
virtual Vector3 | GetPosition (bool relative=false) |
virtual void | Rotate (const Vector3 &vector, Real speed=1.0) |
virtual void | Rotate (Real X, Real Y, Real Z, Real speed=1.0) |
virtual void | SetRotation (const Vector3 &rotation) |
virtual void | SetRotation (Real X, Real Y, Real Z) |
virtual Vector3 | GetRotation () |
Quaternion | GetOrientation (bool relative=false) |
void | SetOrientation (const Quaternion &q, bool relative=false) |
virtual void | OnMove (bool parent) |
virtual void | OnRotate (bool parent) |
virtual void | OnClick (Vector3 &position, bool shift, bool ctrl, bool alt, bool right) |
virtual void | OnUnclick (bool right) |
virtual void | OnHit () |
void | NotifyMove (bool parent=false) |
void | NotifyRotate (bool parent=false) |
void | ChangeParent (Object *new_parent) |
bool | IsGlobal () |
void | Init (bool children=true) |
virtual void | OnInit () |
void | RegisterLoop (Object *object) |
void | UnregisterLoop (Object *object) |
std::string | GetNameBase () |
template<typename T > | |
bool | IsType () |
template<typename T > | |
T * | ConvertTo () |
![]() | |
ObjectBase (Object *parent) | |
virtual | ~ObjectBase () |
Object * | GetParent () |
SBS * | GetRoot () |
void | SetName (const std::string &name) |
const std::string & | GetName () |
std::string | GetNameBase () |
virtual void | Report (const std::string &message) |
virtual bool | ReportError (const std::string &message) |
Public Attributes | |
int | Number |
Elevator * | elev |
ElevatorCar * | car |
Real | OpenSpeed |
bool | DoorDirection |
int | DoorTimer |
int | QuickClose |
Real | NudgeTimer |
std::string | OpenSound |
std::string | CloseSound |
std::string | UpChimeSound |
std::string | DownChimeSound |
std::string | EarlyUpChimeSound |
std::string | EarlyDownChimeSound |
std::string | NudgeSound |
std::string | SensorSound |
int | OpenDoor |
Real | ShaftDoorThickness |
Vector3 | ShaftDoorOrigin |
Real | ManualSpeed |
Real | SlowSpeed |
bool | EarlyUpSet |
bool | EarlyDownSet |
![]() | |
std::string | command |
std::string | command_processed |
std::string | context |
int | linenum |
std::string | includefile |
bool | parent_deleting |
Private Member Functions | |
void | MoveDoors (bool open, bool manual) |
int | GetIndex (int floor) |
Private Attributes | |
DoorWrapper * | Doors |
int | WhichDoors |
int | ShaftDoorFloor |
std::vector< DoorWrapper * > | ShaftDoors |
std::vector< int > | ManualFloors |
Timer * | timer |
Timer * | nudgetimer |
Sound * | doorsound |
Sound * | chime |
Sound * | earlychime |
Sound * | nudgesound |
bool | DoorIsRunning |
int | index |
bool | previous_open |
bool | door_changed |
bool | quick_close |
bool | doors_stopped |
bool | nudge_enabled |
bool | nudgesound_loaded |
int | chimesound_loaded |
int | earlychimesound_loaded |
bool | sensor_enabled |
bool | sensor_status |
Trigger * | sensor |
Action * | sensor_action |
Action * | reset_action |
Additional Inherited Members | |
![]() | |
void | EnableLoop (bool value) |
void | LoopChildren () |
bool | SelfDestruct () |
![]() | |
SBS * | sbs |
Definition at line 32 of file elevatordoor.h.
SBS::ElevatorDoor::ElevatorDoor | ( | int | number, |
ElevatorCar * | car ) |
Definition at line 62 of file elevatordoor.cpp.
References car, chime, chimesound_loaded, CloseSound, door_changed, DoorDirection, DoorIsRunning, Doors, doors_stopped, doorsound, DoorTimer, DownChimeSound, earlychime, earlychimesound_loaded, EarlyDownChimeSound, EarlyDownSet, EarlyUpChimeSound, EarlyUpSet, elev, EnableSensor(), SBS::SBS::GetConfigBool(), SBS::SBS::GetConfigFloat(), SBS::SBS::GetConfigInt(), SBS::SBS::GetConfigString(), SBS::ElevatorCar::GetElevator(), index, ManualSpeed, nudge_enabled, NudgeSound, nudgesound, nudgesound_loaded, NudgeTimer, nudgetimer, Number, OpenDoor, OpenSound, OpenSpeed, previous_open, quick_close, QuickClose, reset_action, SBS::ObjectBase::sbs, sensor, sensor_action, sensor_enabled, sensor_status, SensorSound, SBS::ElevatorCar::ServicedFloors, SBS::ObjectBase::SetName(), SBS::Object::SetValues(), ShaftDoorFloor, ShaftDoorOrigin, ShaftDoors, ShaftDoorThickness, SlowSpeed, timer, SBS::ToString(), UpChimeSound, and WhichDoors.
SBS::ElevatorDoor::~ElevatorDoor | ( | ) |
Definition at line 132 of file elevatordoor.cpp.
References car, chime, Doors, doorsound, earlychime, SBS::SBS::FastDelete, nudgesound, nudgetimer, SBS::Object::parent_deleting, SBS::SBS::RemoveAction(), SBS::ElevatorCar::RemoveElevatorDoor(), reset_action, SBS::ObjectBase::sbs, sensor, sensor_action, ShaftDoors, and timer.
DoorWrapper * SBS::ElevatorDoor::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 ) |
Definition at line 887 of file elevatordoor.cpp.
References AddDoorComponent(), car, Doors, elev, SBS::ObjectBase::Name, SBS::Elevator::Number, SBS::ElevatorCar::Number, Number, OpenSpeed, SBS::ToString(), and SBS::TrimString().
DoorComponent * SBS::ElevatorDoor::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 ) |
Definition at line 823 of file elevatordoor.cpp.
References SBS::SBS::AddWallMain(), SBS::DoorWrapper::CreateDoor(), SBS::MeshObject::CreateWallObject(), SBS::SBS::DrawWalls(), elev, SBS::DoorComponent::extents_max, SBS::DoorComponent::extents_min, SBS::Elevator::GetDoorContainer(), SBS::Elevator::GetShaft(), SBS::Shaft::GetShaftDoorContainer(), SBS::SBS::GetTextureManager(), SBS::DoorWrapper::IsShaftDoor, SBS::DoorComponent::mesh, OpenSpeed, SBS::TextureManager::ResetTextureMapping(), SBS::SBS::ResetWalls(), and SBS::ObjectBase::sbs.
Referenced by SBS::ElevatorCar::AddDoorComponent(), AddDoorComponent(), AddDoors(), and AddShaftDoorComponent().
DoorWrapper * SBS::ElevatorDoor::AddDoors | ( | const std::string & | lefttexture, |
const std::string & | righttexture, | ||
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
bool | direction, | ||
Real | tw, | ||
Real | th ) |
Definition at line 781 of file elevatordoor.cpp.
References AddDoorComponent(), FinishDoors(), and OpenSpeed.
Referenced by SBS::ElevatorCar::AddDoors().
void SBS::ElevatorDoor::AddServicedFloor | ( | int | floor | ) |
Definition at line 211 of file elevatordoor.cpp.
References ShaftDoors.
DoorWrapper * SBS::ElevatorDoor::AddShaftDoor | ( | int | floor, |
const std::string & | lefttexture, | ||
const std::string & | righttexture, | ||
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1191 of file elevatordoor.cpp.
References AddShaftDoorComponent(), car, DoorDirection, Doors, FinishShaftDoor(), SBS::ElevatorCar::GetFloorIndex(), SBS::DoorWrapper::Height, index, SBS::ElevatorCar::IsServicedFloor(), OpenSpeed, and SBS::DoorWrapper::Width.
DoorWrapper * SBS::ElevatorDoor::AddShaftDoor | ( | int | floor, |
const std::string & | lefttexture, | ||
const std::string & | righttexture, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1184 of file elevatordoor.cpp.
References AddShaftDoor(), ShaftDoorOrigin, and ShaftDoorThickness.
Referenced by SBS::ElevatorCar::AddShaftDoor(), SBS::ElevatorCar::AddShaftDoor(), AddShaftDoor(), and AddShaftDoors().
DoorWrapper * SBS::ElevatorDoor::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 ) |
Definition at line 900 of file elevatordoor.cpp.
References AddDoorComponent(), car, elev, SBS::ElevatorCar::GetFloorIndex(), SBS::Shaft::GetLevel(), SBS::Shaft::Level::GetMeshObject(), SBS::Elevator::GetShaft(), index, SBS::ElevatorCar::IsServicedFloor(), SBS::ObjectBase::Name, SBS::Elevator::Number, SBS::ElevatorCar::Number, Number, OpenSpeed, ShaftDoors, SBS::ToString(), and SBS::TrimString().
Referenced by AddShaftDoor(), SBS::ElevatorCar::AddShaftDoorComponent(), and AddShaftDoorsComponent().
bool SBS::ElevatorDoor::AddShaftDoors | ( | const std::string & | lefttexture, |
const std::string & | righttexture, | ||
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1165 of file elevatordoor.cpp.
References AddShaftDoor(), car, SBS::ElevatorCar::ServicedFloors, ShaftDoorOrigin, and ShaftDoorThickness.
Referenced by SBS::ElevatorCar::AddShaftDoors().
void SBS::ElevatorDoor::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 ) |
Definition at line 929 of file elevatordoor.cpp.
References AddShaftDoorComponent(), car, OpenSpeed, and SBS::ElevatorCar::ServicedFloors.
Referenced by SBS::ElevatorCar::AddShaftDoorsComponent().
bool SBS::ElevatorDoor::AllowNudgeMode | ( | ) |
Definition at line 1828 of file elevatordoor.cpp.
References AreDoorsOpen(), SBS::Elevator::AutoDoors, car, SBS::Elevator::DownPeak, elev, SBS::Elevator::FireServicePhase1, SBS::Elevator::FireServicePhase2, SBS::ElevatorCar::GetBottomFloor(), SBS::ElevatorCar::GetFloor(), GetNudgeStatus(), SBS::ElevatorCar::GetTopFloor(), SBS::Elevator::InServiceMode(), SBS::Elevator::OnRecallFloor(), and SBS::Elevator::UpPeak.
Referenced by EnableNudgeMode(), and ResetNudgeTimer().
bool SBS::ElevatorDoor::AreDoorsMoving | ( | int | doors = 0, |
bool | car_doors = true, | ||
bool | shaft_doors = true ) |
Definition at line 1700 of file elevatordoor.cpp.
References OpenDoor, and WhichDoors.
Referenced by SBS::ElevatorCar::AreDoorsMoving(), AreShaftDoorsClosed(), CheckSensor(), CloseDoors(), GetHoldStatus(), OpenDoors(), and StopDoors().
bool SBS::ElevatorDoor::AreDoorsOpen | ( | ) |
Definition at line 1316 of file elevatordoor.cpp.
References Doors, and SBS::DoorWrapper::Open.
Referenced by AllowNudgeMode(), SBS::ElevatorCar::AreDoorsOpen(), CheckSensor(), CloseDoors(), GetHoldStatus(), Skyscraper::editelevator::Loop(), SBS::ElevatorDoor::Timer::Notify(), OpenDoors(), and ResetNudgeTimer().
bool SBS::ElevatorDoor::AreShaftDoorsClosed | ( | bool | skip_current_floor = false | ) |
Definition at line 1338 of file elevatordoor.cpp.
References AreDoorsMoving(), car, SBS::DoorWrapper::floor, SBS::ElevatorCar::GetFloor(), SBS::DoorWrapper::Open, and ShaftDoors.
bool SBS::ElevatorDoor::AreShaftDoorsOpen | ( | int | floor | ) |
Definition at line 1322 of file elevatordoor.cpp.
References GetIndex(), index, ShaftDoors, and ShaftDoorsExist().
Referenced by SBS::ElevatorCar::AreShaftDoorsOpen(), CloseDoors(), and OpenDoors().
void SBS::ElevatorDoor::CheckSensor | ( | ) |
Definition at line 1670 of file elevatordoor.cpp.
References AreDoorsMoving(), AreDoorsOpen(), elev, SBS::SBS::GetPower(), GetSensorStatus(), SBS::Trigger::Loop(), SBS::Elevator::PeakWaiting(), SBS::ObjectBase::sbs, and sensor.
void SBS::ElevatorDoor::Chime | ( | int | floor, |
bool | direction ) |
Definition at line 1385 of file elevatordoor.cpp.
References chime, chimesound_loaded, Doors, DownChimeSound, SBS::Floor::GetBase(), SBS::SBS::GetFloor(), SBS::SBS::GetPower(), SBS::DoorWrapper::Height, SBS::Sound::Load(), SBS::Sound::Play(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), SBS::Object::SetPositionY(), and UpChimeSound.
Referenced by SBS::ElevatorCar::Chime(), and Skyscraper::editelevator::On_bChime_Click().
void SBS::ElevatorDoor::CloseDoors | ( | int | whichdoors = 1, |
int | floor = 0, | ||
bool | manual = false ) |
Definition at line 411 of file elevatordoor.cpp.
References AreDoorsMoving(), AreDoorsOpen(), AreShaftDoorsOpen(), car, DoorIsRunning, doors_stopped, elev, SBS::Elevator::FireServicePhase1, SBS::Elevator::FireServicePhase2, SBS::ElevatorCar::GetFloor(), SBS::SBS::GetFloor(), GetManualIndex(), GetNumberText(), SBS::SBS::GetPower(), SBS::Floor::ID, index, MoveDoors(), SBS::Elevator::OnFloor, SBS::Elevator::OnRecallFloor(), OpenDoor, quick_close, SBS::ElevatorCar::Report(), SBS::ElevatorCar::ReportError(), SBS::ObjectBase::sbs, SBS::ElevatorCar::SetDirectionalIndicators(), ShaftDoorFloor, ShaftDoorsExist(), SBS::ToString(), SBS::Elevator::WaitForDoors, and WhichDoors.
Referenced by SBS::ElevatorCar::CloseDoors(), CloseDoorsEmergency(), EnableNudgeMode(), SBS::ElevatorDoor::Timer::Notify(), and SBS::ElevatorCar::OpenDoors().
void SBS::ElevatorDoor::CloseDoorsEmergency | ( | int | whichdoors = 1, |
int | floor = 0 ) |
Definition at line 274 of file elevatordoor.cpp.
References CloseDoors().
Definition at line 1679 of file elevatordoor.cpp.
References SBS::SBS::AddAction(), car, SBS::ObjectBase::GetName(), Number, reset_action, SBS::ObjectBase::sbs, sensor, sensor_action, SensorSound, and SBS::ToString().
Referenced by FinishDoors().
bool SBS::ElevatorDoor::DoorsStopped | ( | ) |
Definition at line 1470 of file elevatordoor.cpp.
References doors_stopped.
Referenced by SBS::ElevatorCar::DoorsStopped(), and Skyscraper::editelevator::Loop().
void SBS::ElevatorDoor::EarlyChime | ( | int | floor, |
bool | direction ) |
Definition at line 1406 of file elevatordoor.cpp.
References Doors, DownChimeSound, earlychime, earlychimesound_loaded, EarlyDownChimeSound, EarlyDownSet, EarlyUpChimeSound, EarlyUpSet, SBS::Floor::GetBase(), SBS::SBS::GetFloor(), SBS::SBS::GetPower(), SBS::DoorWrapper::Height, SBS::Sound::Load(), SBS::Sound::Play(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), SBS::Object::SetPositionY(), and UpChimeSound.
Referenced by SBS::ElevatorCar::Chime().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 1493 of file elevatordoor.cpp.
References Doors, and SBS::DoorWrapper::Enabled().
Referenced by SBS::ElevatorCar::EnableDoors().
void SBS::ElevatorDoor::EnableNudgeMode | ( | bool | value | ) |
Definition at line 1635 of file elevatordoor.cpp.
References AllowNudgeMode(), car, CloseDoors(), SBS::ElevatorCar::FlashIndicators(), GetNumberText(), SBS::SBS::GetPower(), SBS::Sound::Load(), nudge_enabled, NudgeSound, nudgesound, nudgesound_loaded, SBS::Sound::Play(), SBS::ElevatorCar::Report(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), and SBS::Sound::Stop().
Referenced by SBS::ElevatorCar::EnableNudgeMode(), SBS::ElevatorDoor::Timer::Notify(), ResetNudgeTimer(), and ResetState().
void SBS::ElevatorDoor::EnableSensor | ( | bool | value, |
bool | persistent = true ) |
Definition at line 1726 of file elevatordoor.cpp.
References SBS::Elevator::AutoDoors, car, elev, GetNumberText(), SBS::SBS::GetPower(), SBS::SBS::IsRunning, SBS::ElevatorCar::Report(), SBS::ObjectBase::sbs, sensor_enabled, sensor_status, and SBS::SBS::Verbose.
Referenced by ElevatorDoor(), SBS::ElevatorCar::EnableSensor(), Hold(), MoveDoors(), Reset(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
DoorWrapper * SBS::ElevatorDoor::FinishDoors | ( | bool | DoorWalls = true, |
bool | TrackWalls = true ) |
Definition at line 1120 of file elevatordoor.cpp.
References Doors, and FinishDoors().
DoorWrapper * SBS::ElevatorDoor::FinishDoors | ( | DoorWrapper * | wrapper, |
int | floor, | ||
bool | ShaftDoor, | ||
bool | DoorWalls = true, | ||
bool | TrackWalls = true ) |
Definition at line 941 of file elevatordoor.cpp.
References SBS::Utility::AddDoorwayWalls(), SBS::Elevator::AutoDoors, SBS::SBS::camera, car, SBS::Camera::cfg_body_width, chime, CreateSensor(), SBS::SBS::CreateWallBox(), SBS::Floor::Cut(), SBS::Shaft::Level::Cut(), DoorDirection, Doors, SBS::DoorWrapper::doors, doorsound, earlychime, elev, SBS::Floor::GetBase(), SBS::SBS::GetFloor(), SBS::Shaft::GetLevel(), SBS::Shaft::Level::GetMeshObject(), GetNumberText(), SBS::Object::GetPosition(), GetSensorStatus(), SBS::Elevator::GetShaft(), SBS::SBS::GetTextureManager(), SBS::SBS::GetUtility(), SBS::DoorWrapper::Height, SBS::Floor::Level, ManualFloors, SBS::ElevatorCar::Mesh, nudgesound, SBS::Elevator::Number, SBS::ElevatorCar::Number, Number, SBS::ElevatorCar::ReportError(), SBS::Utility::ResetDoorwayWalls(), SBS::TextureManager::ResetTextureMapping(), SBS::ObjectBase::sbs, SBS::Object::SetPosition(), SBS::DoorWrapper::Shift, SBS::DoorWrapper::Thickness, SBS::SBS::ToLocal(), SBS::ToString(), SBS::DoorWrapper::voffset, and SBS::DoorWrapper::Width.
Referenced by AddDoors(), SBS::ElevatorCar::FinishDoors(), FinishDoors(), and FinishShaftDoor().
DoorWrapper * SBS::ElevatorDoor::FinishShaftDoor | ( | int | floor, |
bool | DoorWalls = true, | ||
bool | TrackWalls = true ) |
Definition at line 1127 of file elevatordoor.cpp.
References car, FinishDoors(), SBS::SBS::GetFloor(), SBS::ElevatorCar::GetFloorIndex(), index, SBS::ElevatorCar::IsServicedFloor(), SBS::ElevatorCar::ReportError(), SBS::ObjectBase::sbs, ShaftDoors, and SBS::ToString().
Referenced by AddShaftDoor(), SBS::ElevatorCar::FinishShaftDoor(), and FinishShaftDoors().
bool SBS::ElevatorDoor::FinishShaftDoors | ( | bool | DoorWalls = true, |
bool | TrackWalls = true ) |
Definition at line 1155 of file elevatordoor.cpp.
References car, FinishShaftDoor(), and SBS::ElevatorCar::ServicedFloors.
Referenced by SBS::ElevatorCar::FinishShaftDoors().
bool SBS::ElevatorDoor::GetDoorChanged | ( | ) |
Definition at line 1895 of file elevatordoor.cpp.
References door_changed.
Referenced by SBS::DoorComponent::MoveDoors().
DoorWrapper * SBS::ElevatorDoor::GetDoorWrapper | ( | ) |
Definition at line 1577 of file elevatordoor.cpp.
References Doors.
Referenced by Skyscraper::editelevator::Loop().
bool SBS::ElevatorDoor::GetHoldStatus | ( | ) |
Definition at line 1795 of file elevatordoor.cpp.
References AreDoorsMoving(), AreDoorsOpen(), and TimerIsRunning().
Referenced by SBS::ElevatorCar::GetHoldStatus().
|
private |
Definition at line 1905 of file elevatordoor.cpp.
References ShaftDoors.
Referenced by AreShaftDoorsOpen(), GetShaftDoorAltitude(), GetShaftDoorWrapper(), MoveDoors(), ShaftDoorsEnabled(), and ShaftDoorsExist().
int SBS::ElevatorDoor::GetManualIndex | ( | int | floor | ) |
Definition at line 1595 of file elevatordoor.cpp.
References ManualFloors.
Referenced by CloseDoors(), MoveDoors(), and OpenDoors().
bool SBS::ElevatorDoor::GetNudgeStatus | ( | ) |
Definition at line 1663 of file elevatordoor.cpp.
References nudge_enabled.
Referenced by AllowNudgeMode(), Hold(), SBS::ElevatorCar::IsNudgeModeActive(), SBS::DoorComponent::MoveDoors(), OpenDoors(), and ResetNudgeTimer().
std::string SBS::ElevatorDoor::GetNumberText | ( | ) |
Definition at line 1845 of file elevatordoor.cpp.
References car, Number, SBS::ElevatorCar::NumDoors, and SBS::ToString().
Referenced by CloseDoors(), EnableNudgeMode(), EnableSensor(), FinishDoors(), Hold(), MoveDoors(), OpenDoors(), Reset(), and StopDoors().
bool SBS::ElevatorDoor::GetPreviousOpen | ( | ) |
Definition at line 1900 of file elevatordoor.cpp.
References previous_open.
Referenced by SBS::DoorComponent::MoveDoors().
bool SBS::ElevatorDoor::GetSensorStatus | ( | bool | persistent = true | ) |
Definition at line 1772 of file elevatordoor.cpp.
References sensor_enabled, and sensor_status.
Referenced by CheckSensor(), FinishDoors(), SBS::ElevatorCar::GetSensorStatus(), and Skyscraper::editelevator::Loop().
Real SBS::ElevatorDoor::GetShaftDoorAltitude | ( | int | floor | ) |
Definition at line 1510 of file elevatordoor.cpp.
References GetIndex(), SBS::Object::GetPosition(), index, ShaftDoors, and SBS::DoorWrapper::voffset.
DoorWrapper * SBS::ElevatorDoor::GetShaftDoorWrapper | ( | int | floor | ) |
Definition at line 1583 of file elevatordoor.cpp.
References GetIndex(), index, and ShaftDoors.
int SBS::ElevatorDoor::GetWhichDoors | ( | ) |
Definition at line 1504 of file elevatordoor.cpp.
References WhichDoors.
Referenced by SBS::DoorWrapper::OnHit().
void SBS::ElevatorDoor::Hold | ( | bool | sensor = false | ) |
Definition at line 1608 of file elevatordoor.cpp.
References car, EnableSensor(), GetNudgeStatus(), GetNumberText(), SBS::SBS::GetPower(), SBS::TimerObject::IsRunning(), SBS::ElevatorCar::Report(), SBS::ObjectBase::sbs, sensor, SBS::TimerObject::Stop(), and timer.
Referenced by SBS::ElevatorCar::HoldDoors().
bool SBS::ElevatorDoor::IsEnabled | ( | ) |
Definition at line 1498 of file elevatordoor.cpp.
References Doors, and SBS::DoorWrapper::IsEnabled.
bool SBS::ElevatorDoor::IsSensorBlocked | ( | ) |
Definition at line 1785 of file elevatordoor.cpp.
References SBS::Trigger::IsInside(), and sensor.
Referenced by MoveDoors().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 1475 of file elevatordoor.cpp.
References SBS::SBS::GetPower(), MoveDoors(), nudgesound, OpenDoor, SBS::ObjectBase::sbs, SBS_PROFILE, and SBS::Sound::Stop().
Referenced by SBS::ElevatorCar::Loop().
|
private |
Definition at line 561 of file elevatordoor.cpp.
References car, SBS::DoorWrapper::CheckDoorsOpen(), CloseSound, door_changed, DoorIsRunning, Doors, doors_stopped, doorsound, SBS::Elevator::DownPeak, elev, SBS::SBS::EnableBuildings(), SBS::Floor::Enabled(), SBS::SBS::EnableExternal(), SBS::Floor::EnableGroup(), SBS::SBS::EnableLandscape(), EnableSensor(), SBS::SBS::EnableSkybox(), SBS::Elevator::FireServicePhase2, SBS::ElevatorCar::GetBottomFloor(), SBS::ElevatorCar::GetFloor(), SBS::SBS::GetFloor(), GetIndex(), GetManualIndex(), GetNumberText(), SBS::SBS::GetPower(), SBS::Elevator::GetShaft(), SBS::ElevatorCar::GetTopFloor(), index, SBS::SBS::InElevator, SBS::Elevator::InServiceMode(), SBS::SBS::InShaft, SBS::DoorWrapper::IsFinished(), IsSensorBlocked(), SBS::Shaft::IsShowFloor(), SBS::Sound::Load(), SBS::ElevatorCar::MessageOnClose, SBS::ElevatorCar::MessageOnMove, SBS::ElevatorCar::MessageOnStart, SBS::DoorWrapper::MoveDoors(), SBS::ElevatorCar::NotifyArrival(), SBS::Elevator::NotifyLate, OpenDoor, OpenSound, SBS::Sound::Play(), SBS::ElevatorCar::PlayMessageSound(), previous_open, SBS::ElevatorCar::Report(), Reset(), SBS::DoorWrapper::ResetFinished(), ResetNudgeTimer(), SBS::ObjectBase::sbs, SBS_PROFILE, ShaftDoorFloor, ShaftDoors, ShaftDoorsExist(), SBS::Shaft::ShowFloors, SBS::TimerObject::Stop(), timer, SBS::Elevator::UpPeak, SBS::Elevator::WaitForDoors, and WhichDoors.
Referenced by CloseDoors(), Loop(), and OpenDoors().
void SBS::ElevatorDoor::MoveSound | ( | const Vector3 & | position, |
bool | relative_x, | ||
bool | relative_y, | ||
bool | relative_z ) |
Definition at line 1527 of file elevatordoor.cpp.
References Doors, doorsound, SBS::Object::GetPosition(), SBS::DoorWrapper::Height, nudgesound, and SBS::Object::SetPosition().
void SBS::ElevatorDoor::OpenDoors | ( | int | whichdoors = 1, |
int | floor = 0, | ||
bool | manual = false ) |
Definition at line 288 of file elevatordoor.cpp.
References AreDoorsMoving(), AreDoorsOpen(), AreShaftDoorsOpen(), SBS::Elevator::AutoDoors, car, door_changed, DoorIsRunning, doors_stopped, elev, SBS::ElevatorCar::GetFloor(), SBS::SBS::GetFloor(), SBS::Elevator::GetFloorForCar(), GetManualIndex(), GetNudgeStatus(), GetNumberText(), SBS::SBS::GetPower(), SBS::Elevator::GotoFloor, SBS::Floor::ID, index, SBS::Elevator::InServiceMode(), SBS::Elevator::Leveling, MoveDoors(), SBS::Elevator::MoveElevator, SBS::ElevatorCar::Number, SBS::Elevator::OnFloor, OpenDoor, SBS::Elevator::PeakWaiting(), SBS::ElevatorCar::Report(), SBS::ElevatorCar::ReportError(), Reset(), SBS::ObjectBase::sbs, ShaftDoorFloor, ShaftDoorsExist(), SBS::ToString(), and WhichDoors.
Referenced by SBS::ElevatorCar::CloseDoors(), SBS::ElevatorCar::OpenDoors(), and OpenDoorsEmergency().
void SBS::ElevatorDoor::OpenDoorsEmergency | ( | int | whichdoors = 1, |
int | floor = 0 ) |
Definition at line 260 of file elevatordoor.cpp.
References OpenDoors().
void SBS::ElevatorDoor::RemoveServicedFloor | ( | int | floor | ) |
Definition at line 241 of file elevatordoor.cpp.
References ShaftDoors.
void SBS::ElevatorDoor::RemoveShaftDoor | ( | DoorWrapper * | door | ) |
Definition at line 1880 of file elevatordoor.cpp.
References ShaftDoors.
Referenced by SBS::DoorWrapper::~DoorWrapper().
void SBS::ElevatorDoor::Reset | ( | bool | sensor = false | ) |
Definition at line 1433 of file elevatordoor.cpp.
References SBS::Elevator::AutoDoors, car, DoorTimer, elev, EnableSensor(), GetNumberText(), quick_close, QuickClose, SBS::ElevatorCar::Report(), SBS::ObjectBase::sbs, sensor, SBS::TimerObject::Start(), timer, and SBS::SBS::Verbose.
Referenced by SBS::ElevatorCar::Loop(), MoveDoors(), OpenDoors(), and SBS::ElevatorCar::ResetDoors().
void SBS::ElevatorDoor::ResetNudgeTimer | ( | bool | start = true | ) |
Definition at line 1804 of file elevatordoor.cpp.
References AllowNudgeMode(), AreDoorsOpen(), doors_stopped, EnableNudgeMode(), GetNudgeStatus(), SBS::SBS::GetPower(), SBS::TimerObject::IsRunning(), NudgeTimer, nudgetimer, SBS::ObjectBase::sbs, SBS::TimerObject::Start(), and SBS::TimerObject::Stop().
Referenced by MoveDoors(), SBS::ElevatorCar::ResetNudgeTimer(), and StopDoors().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 1856 of file elevatordoor.cpp.
References door_changed, DoorIsRunning, Doors, doors_stopped, EnableNudgeMode(), nudgetimer, OpenDoor, SBS::DoorWrapper::ResetState(), ShaftDoors, SBS::TimerObject::Stop(), timer, and WhichDoors.
Referenced by SBS::ElevatorCar::ResetDoorState().
Definition at line 1246 of file elevatordoor.cpp.
References ShaftDoorOrigin, and ShaftDoorThickness.
Referenced by SBS::ElevatorCar::SetShaftDoors().
void SBS::ElevatorDoor::ShaftDoorsEnabled | ( | int | floor, |
bool | value ) |
Definition at line 1258 of file elevatordoor.cpp.
References elev, GetIndex(), SBS::Elevator::GetShaft(), SBS::Shaft::GetShowFull(), index, SBS_PROFILE, ShaftDoors, and ShaftDoorsExist().
Referenced by SBS::ElevatorCar::ShaftDoorsEnabled(), and ShaftDoorsEnabledRange().
void SBS::ElevatorDoor::ShaftDoorsEnabledRange | ( | int | floor, |
int | range ) |
Definition at line 1281 of file elevatordoor.cpp.
References elev, SBS::Elevator::GetShaft(), SBS::Shaft::GetShowFull(), SBS::IsEven(), SBS_PROFILE, and ShaftDoorsEnabled().
Referenced by SBS::ElevatorCar::ShaftDoorsEnabledRange().
bool SBS::ElevatorDoor::ShaftDoorsExist | ( | int | floor, |
bool | include_nonserviced = false ) |
Definition at line 1547 of file elevatordoor.cpp.
References GetIndex(), index, and ShaftDoors.
Referenced by AreShaftDoorsOpen(), CloseDoors(), MoveDoors(), OpenDoors(), ShaftDoorsEnabled(), and SBS::ElevatorCar::ShaftDoorsExist().
void SBS::ElevatorDoor::StopDoors | ( | ) |
Definition at line 523 of file elevatordoor.cpp.
References AreDoorsMoving(), car, door_changed, DoorIsRunning, Doors, doors_stopped, SBS::SBS::GetFloor(), GetNumberText(), SBS::Floor::ID, index, OpenDoor, SBS::ElevatorCar::Report(), ResetNudgeTimer(), SBS::ObjectBase::sbs, ShaftDoorFloor, ShaftDoors, SBS::DoorWrapper::StopDoors(), SBS::ToString(), and WhichDoors.
Referenced by SBS::ElevatorCar::StopDoors().
bool SBS::ElevatorDoor::TimerIsRunning | ( | ) |
Definition at line 1464 of file elevatordoor.cpp.
References SBS::TimerObject::IsRunning(), and timer.
Referenced by GetHoldStatus(), and SBS::ElevatorCar::Loop().
ElevatorCar* SBS::ElevatorDoor::car |
Definition at line 37 of file elevatordoor.h.
Referenced by AddDoorComponent(), AddShaftDoor(), AddShaftDoorComponent(), AddShaftDoors(), AddShaftDoorsComponent(), AllowNudgeMode(), AreShaftDoorsClosed(), CloseDoors(), CreateSensor(), SBS::DoorWrapper::DoorWrapper(), ElevatorDoor(), EnableNudgeMode(), EnableSensor(), FinishDoors(), FinishShaftDoor(), FinishShaftDoors(), GetNumberText(), Hold(), MoveDoors(), SBS::DoorWrapper::OnClick(), SBS::DoorWrapper::OnHit(), OpenDoors(), Reset(), StopDoors(), and ~ElevatorDoor().
|
private |
Definition at line 143 of file elevatordoor.h.
Referenced by Chime(), ElevatorDoor(), FinishDoors(), and ~ElevatorDoor().
|
private |
Definition at line 156 of file elevatordoor.h.
Referenced by Chime(), and ElevatorDoor().
std::string SBS::ElevatorDoor::CloseSound |
Definition at line 44 of file elevatordoor.h.
Referenced by ElevatorDoor(), MoveDoors(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 151 of file elevatordoor.h.
Referenced by ElevatorDoor(), GetDoorChanged(), MoveDoors(), OpenDoors(), ResetState(), and StopDoors().
bool SBS::ElevatorDoor::DoorDirection |
Definition at line 39 of file elevatordoor.h.
Referenced by AddShaftDoor(), ElevatorDoor(), FinishDoors(), Skyscraper::editelevator::Loop(), SBS::DoorComponent::Move(), SBS::DoorComponent::MoveDoors(), and SBS::DoorComponent::Reset().
|
private |
Definition at line 148 of file elevatordoor.h.
Referenced by CloseDoors(), ElevatorDoor(), MoveDoors(), OpenDoors(), ResetState(), and StopDoors().
|
private |
Definition at line 122 of file elevatordoor.h.
Referenced by AddDoorComponent(), AddShaftDoor(), AreDoorsOpen(), Chime(), EarlyChime(), ElevatorDoor(), Enabled(), FinishDoors(), FinishDoors(), GetDoorWrapper(), IsEnabled(), MoveDoors(), MoveSound(), ResetState(), StopDoors(), and ~ElevatorDoor().
|
private |
Definition at line 153 of file elevatordoor.h.
Referenced by CloseDoors(), DoorsStopped(), ElevatorDoor(), MoveDoors(), OpenDoors(), ResetNudgeTimer(), ResetState(), and StopDoors().
|
private |
Definition at line 142 of file elevatordoor.h.
Referenced by ElevatorDoor(), FinishDoors(), MoveDoors(), MoveSound(), and ~ElevatorDoor().
int SBS::ElevatorDoor::DoorTimer |
Definition at line 40 of file elevatordoor.h.
Referenced by ElevatorDoor(), Skyscraper::editelevator::On_bSetDoorTimer_Click(), Reset(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and Skyscraper::editelevator::SetMainValues().
std::string SBS::ElevatorDoor::DownChimeSound |
Definition at line 46 of file elevatordoor.h.
Referenced by Chime(), EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 144 of file elevatordoor.h.
Referenced by EarlyChime(), ElevatorDoor(), FinishDoors(), and ~ElevatorDoor().
|
private |
Definition at line 157 of file elevatordoor.h.
Referenced by EarlyChime(), and ElevatorDoor().
std::string SBS::ElevatorDoor::EarlyDownChimeSound |
Definition at line 48 of file elevatordoor.h.
Referenced by EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorDoor::EarlyDownSet |
Definition at line 57 of file elevatordoor.h.
Referenced by EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorDoor::EarlyUpChimeSound |
Definition at line 47 of file elevatordoor.h.
Referenced by EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorDoor::EarlyUpSet |
Definition at line 56 of file elevatordoor.h.
Referenced by EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Elevator* SBS::ElevatorDoor::elev |
Definition at line 36 of file elevatordoor.h.
Referenced by AddDoorComponent(), AddDoorComponent(), AddShaftDoorComponent(), AllowNudgeMode(), CheckSensor(), CloseDoors(), SBS::DoorWrapper::DoorWrapper(), ElevatorDoor(), EnableSensor(), FinishDoors(), MoveDoors(), OpenDoors(), SBS::DoorComponent::Reset(), Reset(), ShaftDoorsEnabled(), and ShaftDoorsEnabledRange().
|
private |
Definition at line 149 of file elevatordoor.h.
Referenced by AddShaftDoor(), AddShaftDoorComponent(), AreShaftDoorsOpen(), CloseDoors(), ElevatorDoor(), FinishShaftDoor(), GetShaftDoorAltitude(), GetShaftDoorWrapper(), MoveDoors(), OpenDoors(), ShaftDoorsEnabled(), ShaftDoorsExist(), and StopDoors().
|
private |
Definition at line 128 of file elevatordoor.h.
Referenced by FinishDoors(), and GetManualIndex().
Real SBS::ElevatorDoor::ManualSpeed |
Definition at line 54 of file elevatordoor.h.
Referenced by ElevatorDoor(), SBS::DoorComponent::MoveDoors(), Skyscraper::editelevator::On_bSetManualSpeed_Click(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and Skyscraper::editelevator::SetMainValues().
|
private |
Definition at line 154 of file elevatordoor.h.
Referenced by ElevatorDoor(), EnableNudgeMode(), and GetNudgeStatus().
std::string SBS::ElevatorDoor::NudgeSound |
Definition at line 49 of file elevatordoor.h.
Referenced by ElevatorDoor(), EnableNudgeMode(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 145 of file elevatordoor.h.
Referenced by ElevatorDoor(), EnableNudgeMode(), FinishDoors(), Loop(), MoveSound(), and ~ElevatorDoor().
|
private |
Definition at line 155 of file elevatordoor.h.
Referenced by ElevatorDoor(), and EnableNudgeMode().
Real SBS::ElevatorDoor::NudgeTimer |
Definition at line 42 of file elevatordoor.h.
Referenced by ElevatorDoor(), Skyscraper::editelevator::On_bSetNudgeTimer_Click(), ResetNudgeTimer(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and Skyscraper::editelevator::SetMainValues().
|
private |
Definition at line 139 of file elevatordoor.h.
Referenced by ElevatorDoor(), ResetNudgeTimer(), ResetState(), and ~ElevatorDoor().
int SBS::ElevatorDoor::Number |
Definition at line 35 of file elevatordoor.h.
Referenced by AddDoorComponent(), AddShaftDoorComponent(), CreateSensor(), SBS::DoorWrapper::DoorWrapper(), ElevatorDoor(), FinishDoors(), GetNumberText(), SBS::DoorWrapper::OnClick(), and SBS::DoorWrapper::OnHit().
int SBS::ElevatorDoor::OpenDoor |
Definition at line 51 of file elevatordoor.h.
Referenced by SBS::ElevatorCar::AreDoorsMoving(), AreDoorsMoving(), CloseDoors(), ElevatorDoor(), Loop(), MoveDoors(), SBS::DoorWrapper::OnHit(), OpenDoors(), ResetState(), and StopDoors().
std::string SBS::ElevatorDoor::OpenSound |
Definition at line 43 of file elevatordoor.h.
Referenced by ElevatorDoor(), MoveDoors(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Real SBS::ElevatorDoor::OpenSpeed |
Definition at line 38 of file elevatordoor.h.
Referenced by AddDoorComponent(), AddDoorComponent(), AddDoors(), AddShaftDoor(), AddShaftDoorComponent(), AddShaftDoorsComponent(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 150 of file elevatordoor.h.
Referenced by ElevatorDoor(), GetPreviousOpen(), and MoveDoors().
|
private |
Definition at line 152 of file elevatordoor.h.
Referenced by CloseDoors(), ElevatorDoor(), and Reset().
int SBS::ElevatorDoor::QuickClose |
Definition at line 41 of file elevatordoor.h.
Referenced by ElevatorDoor(), Skyscraper::editelevator::On_bSetQuickClose_Click(), Reset(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and Skyscraper::editelevator::SetMainValues().
|
private |
Definition at line 164 of file elevatordoor.h.
Referenced by CreateSensor(), ElevatorDoor(), and ~ElevatorDoor().
|
private |
Definition at line 162 of file elevatordoor.h.
Referenced by CheckSensor(), CreateSensor(), ElevatorDoor(), Hold(), IsSensorBlocked(), Reset(), and ~ElevatorDoor().
|
private |
Definition at line 163 of file elevatordoor.h.
Referenced by CreateSensor(), ElevatorDoor(), and ~ElevatorDoor().
|
private |
Definition at line 158 of file elevatordoor.h.
Referenced by ElevatorDoor(), EnableSensor(), and GetSensorStatus().
|
private |
Definition at line 159 of file elevatordoor.h.
Referenced by ElevatorDoor(), EnableSensor(), and GetSensorStatus().
std::string SBS::ElevatorDoor::SensorSound |
Definition at line 50 of file elevatordoor.h.
Referenced by CreateSensor(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 126 of file elevatordoor.h.
Referenced by CloseDoors(), ElevatorDoor(), MoveDoors(), OpenDoors(), and StopDoors().
Vector3 SBS::ElevatorDoor::ShaftDoorOrigin |
Definition at line 53 of file elevatordoor.h.
Referenced by AddShaftDoor(), AddShaftDoors(), ElevatorDoor(), Skyscraper::editelevator::Loop(), and SetShaftDoors().
|
private |
Definition at line 127 of file elevatordoor.h.
Referenced by AddServicedFloor(), AddShaftDoorComponent(), AreShaftDoorsClosed(), AreShaftDoorsOpen(), ElevatorDoor(), FinishShaftDoor(), GetIndex(), GetShaftDoorAltitude(), GetShaftDoorWrapper(), MoveDoors(), RemoveServicedFloor(), RemoveShaftDoor(), ResetState(), ShaftDoorsEnabled(), ShaftDoorsExist(), StopDoors(), and ~ElevatorDoor().
Real SBS::ElevatorDoor::ShaftDoorThickness |
Definition at line 52 of file elevatordoor.h.
Referenced by AddShaftDoor(), AddShaftDoors(), ElevatorDoor(), and SetShaftDoors().
Real SBS::ElevatorDoor::SlowSpeed |
Definition at line 55 of file elevatordoor.h.
Referenced by ElevatorDoor(), SBS::DoorComponent::MoveDoors(), Skyscraper::editelevator::On_bSetSlowSpeed_Click(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and Skyscraper::editelevator::SetMainValues().
|
private |
Definition at line 136 of file elevatordoor.h.
Referenced by ElevatorDoor(), Hold(), MoveDoors(), Reset(), ResetState(), TimerIsRunning(), and ~ElevatorDoor().
std::string SBS::ElevatorDoor::UpChimeSound |
Definition at line 45 of file elevatordoor.h.
Referenced by Chime(), EarlyChime(), ElevatorDoor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 125 of file elevatordoor.h.
Referenced by AreDoorsMoving(), CloseDoors(), ElevatorDoor(), GetWhichDoors(), MoveDoors(), OpenDoors(), ResetState(), and StopDoors().