Skyscraper 2.0
|
#include <elevatorcar.h>
Classes | |
class | KeypadTimer |
Public Member Functions | |
ElevatorCar (Elevator *parent, int number) | |
~ElevatorCar () | |
bool | CreateCar (int floor) |
Elevator * | GetElevator () |
void | Report (const std::string &message) |
bool | ReportError (const std::string &message) |
Wall * | AddWall (const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height1, Real height2, Real voffset1, Real voffset2, Real tw, Real th) |
Wall * | AddFloor (const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real voffset1, Real voffset2, bool reverse_axis, bool texture_direction, Real tw, Real th, bool legacy_behavior=false) |
FloorIndicator * | AddFloorIndicator (const std::string &texture_prefix, const std::string &blank_texture, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset) |
Indicator * | AddKeypadIndicator (const std::string &sound, const std::string &texture_prefix, const std::string &blank_texture, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, Real timer_duration) |
ButtonPanel * | CreateButtonPanel (const std::string &texture, int rows, int columns, const std::string &direction, Real CenterX, Real CenterZ, Real buttonwidth, Real buttonheight, Real spacingX, Real spacingY, Real voffset, Real tw, Real th) |
void | DumpServicedFloors () |
bool | AddServicedFloor (int number, bool create_shaft_door=true) |
void | RemoveServicedFloor (int number, bool remove_shaft_door=true) |
bool | IsServicedFloor (int floor, bool report=true) |
int | GetFloorIndex (int floor) |
int | GetServicedFloorCount () |
int | GetServicedFloor (int index) |
bool | CheckServicedFloors () |
void | Alarm () |
void | OpenHatch () |
void | OnInit () |
void | Loop () |
void | Enabled (bool value) |
void | EnableObjects (bool value) |
void | UpdateFloorIndicators () |
int | GetTopFloor () |
int | GetBottomFloor () |
void | AddDirectionalIndicators (bool relative, bool active_direction, bool single, bool vertical, const std::string &BackTexture, const std::string &uptexture, const std::string &uptexture_lit, const std::string &downtexture, const std::string &downtexture_lit, Real CenterX, Real CenterZ, Real voffset, const std::string &direction, Real BackWidth, Real BackHeight, bool ShowBack, Real tw, Real th) |
DirectionalIndicator * | AddDirectionalIndicator (bool active_direction, bool single, bool vertical, const std::string &BackTexture, const std::string &uptexture, const std::string &uptexture_lit, const std::string &downtexture, const std::string &downtexture_lit, Real CenterX, Real CenterZ, Real voffset, const std::string &direction, Real BackWidth, Real BackHeight, bool ShowBack, Real tw, Real th) |
void | SetDirectionalIndicators (int floor, bool UpLight, bool DownLight) |
void | UpdateDirectionalIndicators () |
void | EnableDirectionalIndicators (bool value) |
ElevatorDoor * | GetDoor (int number) |
bool | OpenDoorsEmergency (int number=0, int whichdoors=1, int floor=0, bool hold=false) |
void | CloseDoorsEmergency (int number=0, int whichdoors=1, int floor=0, bool hold=false) |
bool | OpenDoors (int number=0, int whichdoors=1, int floor=0, bool manual=false, bool hold=false) |
void | CloseDoors (int number=0, int whichdoors=1, int floor=0, bool manual=false, bool hold=false) |
void | StopDoors (int number=0) |
void | HoldDoors (int number=0, bool sensor=false) |
void | ShaftDoorsEnabled (int number, int floor, bool value) |
void | ShaftDoorsEnabledRange (int number, int floor, int range) |
bool | AreDoorsOpen (int number=0) |
bool | AreShaftDoorsOpen (int number, int floor) |
bool | AreShaftDoorsClosed (bool skip_current_floor=false) |
void | ResetDoors (int number=0, bool sensor=false) |
bool | DoorsStopped (int number=0) |
DoorWrapper * | AddDoors (int number, 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 (int number, const std::string &lefttexture, const std::string &righttexture, Real thickness, Real CenterX, Real CenterZ, Real voffset, Real tw, Real th) |
DoorWrapper * | AddShaftDoor (int floor, int number, const std::string &lefttexture, const std::string &righttexture, Real tw, Real th) |
DoorWrapper * | AddShaftDoor (int floor, int number, const std::string &lefttexture, const std::string &righttexture, Real thickness, Real CenterX, Real CenterZ, Real voffset, Real tw, Real th) |
void | Chime (int number, int floor, bool direction, bool early=false) |
void | EnableDoors (bool value) |
bool | AddFloorSigns (int door_number, bool relative, const std::string &texture_prefix, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset) |
int | AreDoorsMoving (int number=0, bool car_doors=true, bool shaft_doors=true) |
bool | AreDoorsOpening (int number=0, bool car_doors=true, bool shaft_doors=true) |
bool | AreDoorsClosing (int number=0, bool car_doors=true, bool shaft_doors=true) |
void | SetShaftDoors (int number, Real thickness, Real CenterX, Real CenterZ) |
bool | DoorExists (int number) |
bool | ShaftDoorsExist (int number, int floor, bool include_nonserviced=false) |
Sound * | AddSound (const std::string &name, const std::string &filename, Vector3 position, bool loop=true, Real volume=1.0, int speed=100, Real min_distance=1.0, Real max_distance=-1.0, Real doppler_level=0.0, Real cone_inside_angle=360, Real cone_outside_angle=360, Real cone_outside_volume=1.0, Vector3 direction=Vector3(0, 0, 0)) |
Reverb * | AddReverb (const std::string &name, const std::string &type, const Vector3 &position, Real min_distance, Real max_distance) |
DoorWrapper * | AddDoorComponent (int number, 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 number, 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 (int number, 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 (int number, bool DoorWalls=true, bool TrackWalls=true) |
DoorWrapper * | FinishShaftDoor (int number, int floor, bool DoorWalls=true, bool TrackWalls=true) |
bool | FinishShaftDoors (int number, bool DoorWalls=true, bool TrackWalls=true) |
ButtonPanel * | GetPanel (int index) |
Control * | GetFloorButton (int floor) |
Door * | AddDoor (std::string name, const std::string &open_sound, const std::string &close_sound, bool open_state, const std::string &texture, const std::string &side_texture, Real thickness, const std::string &face_direction, const std::string &open_direction, bool rotate, Real open_speed, Real close_speed, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, Real tw, Real th, Real side_tw, Real side_th) |
Door * | CreateDoor (std::string name, const std::string &open_sound, const std::string &close_sound, bool rotate) |
Door * | GetDoor (const std::string &name) |
Door * | GetStdDoor (int number) |
void | RemovePanel (ButtonPanel *panel) |
void | RemoveDirectionalIndicator (DirectionalIndicator *indicator) |
void | RemoveElevatorDoor (ElevatorDoor *door) |
void | RemoveFloorIndicator (FloorIndicator *indicator) |
void | RemoveDoor (Door *door) |
void | RemoveSound (Sound *sound) |
void | RemoveReverb () |
void | RemoveLight (Light *light) |
void | RemoveModel (Model *model) |
void | RemovePrimitive (Primitive *prim) |
void | RemoveCustomObject (CustomObject *object) |
void | RemoveControl (Control *control) |
void | RemoveTrigger (Trigger *trigger) |
bool | IsNudgeModeActive (int number=0) |
void | EnableNudgeMode (bool value, int number=0) |
Light * | AddLight (const std::string &name, int type) |
Light * | GetLight (const std::string &name) |
Model * | AddModel (const std::string &name, const std::string &filename, bool center, Vector3 position, Vector3 rotation, Real max_render_distance=0, Real scale_multiplier=1, bool enable_physics=false, Real restitution=0, Real friction=0, Real mass=0) |
void | AddModel (Model *model) |
Primitive * | AddPrimitive (const std::string &name) |
void | AddPrimitive (Primitive *primitive) |
CustomObject * | AddCustomObject (const std::string &name, const Vector3 &position, const Vector3 &rotation, Real max_render_distance=0, Real scale_multiplier=1) |
void | AddCustomObject (CustomObject *object) |
void | AddDisplayFloor (int floor) |
Control * | AddControl (const std::string &name, const std::string &sound, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, int selection_position, std::vector< std::string > &action_names, std::vector< std::string > &textures) |
Trigger * | AddTrigger (const std::string &name, const std::string &sound_file, Vector3 &area_min, Vector3 &area_max, std::vector< std::string > &action_names) |
bool | ReplaceTexture (const std::string &oldtexture, const std::string &newtexture) |
std::vector< Sound * > | GetSound (const std::string &name) |
Reverb * | GetReverb () |
void | ResetLights () |
void | ChangeLight (int floor, bool value) |
void | EnableSensor (bool value, int number=0) |
bool | GetSensorStatus (int number=0) |
std::string | GetFloorDisplay () |
bool | GetHoldStatus (int number=0) |
void | ResetNudgeTimer (bool start=true, int number=0) |
void | ResetDoorState (int number=0) |
Model * | GetModel (std::string name) |
Primitive * | GetPrimitive (std::string name) |
CustomObject * | GetCustomObject (std::string name) |
void | SetBeepSound (const std::string &filename) |
void | SetFloorSound (const std::string &prefix) |
void | SetMessageSound (bool type, bool direction, const std::string &filename) |
void | SetMusic (const std::string &filename) |
bool | PlayFloorBeep () |
bool | PlayFloorSound () |
bool | PlayMessageSound (bool type) |
Real | SetHeight () |
bool | IsInCar (const Vector3 &position, bool camera=false) |
bool | Check (Vector3 &position) |
void | StopCarSound () |
int | GetFloor () |
bool | OnTopFloor () |
bool | OnBottomFloor () |
bool | InCar () |
int | GetNearestServicedFloor () |
Real | GetDestinationAltitude (int floor) |
Real | GetDestinationOffset (int floor) |
void | SetFloor (int floor, bool move_parent=true) |
bool | IsLeveled () |
bool | IsOnFloor (int floor, bool leveled=true) |
void | NotifyArrival (int floor, bool early=false, int direction=0) |
bool | IndependentServiceActive () |
bool | IndependentServiceOnOtherCar () |
int | FirePhase2Active () |
bool | FirePhase2OnOtherCar () |
void | SetControls (const std::string &action_name) |
void | FlashIndicators (bool value) |
CameraTexture * | AddCameraTexture (const std::string &name, int quality, Real fov, const Vector3 &position, bool use_rotation, const Vector3 &rotation) |
void | RemoveCameraTexture (CameraTexture *camtex) |
bool | RespondingToCall (int floor, int direction) |
int | RespondingToCall (int floor) |
bool | AddElevatorIDSigns (int door_number, bool relative, const std::string &texture_prefix, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset) |
bool | Input (const std::string &text) |
void | ProcessCache () |
![]() | |
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, bool force=false) |
virtual void | Move (Real X, Real Y, Real Z, Real speed=1.0, bool force=false) |
virtual void | SetPosition (const Vector3 &position, bool relative=false, bool force=false) |
virtual void | SetPosition (Real X, Real Y, Real Z, bool relative=false, bool force=false) |
virtual void | SetPositionY (Real value, bool force=false) |
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) |
virtual void | ResetState () |
void | ChangeParent (Object *new_parent) |
bool | IsGlobal () |
void | Init (bool children=true) |
void | RegisterLoop (Object *object) |
void | UnregisterLoop (Object *object) |
virtual bool | IsEnabled () |
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 () |
Private Member Functions | |
void | PlayStartingSounds () |
void | PlayStoppingSounds (bool emergency=false) |
void | PlayMovingSounds () |
void | UpdateKeypadIndicator (const std::string &text, bool play_sound=true) |
void | KeypadError (bool type=0) |
bool | GetFloorFromID (const std::string &floor, int &result) |
void | Requested (int floor) |
Friends | |
class | Elevator |
Additional Inherited Members | |
![]() | |
void | EnableLoop (bool value) |
void | LoopChildren () |
bool | SelfDestruct () |
![]() | |
SBS * | sbs |
Definition at line 31 of file elevatorcar.h.
SBS::ElevatorCar::ElevatorCar | ( | Elevator * | parent, |
int | number ) |
Definition at line 71 of file elevatorcar.cpp.
References alarm, AlarmActive, AlarmSound, AlarmSoundStop, announcesnd, AutoEnable, CameraOffset, carsound, checkfirstrun, ControlPressActive, Created, CurrentFloor, DirMessageSound, doorhold_direction, doorhold_floor, doorhold_manual, doorhold_whichdoors, DoorMessageSound, DownMoveSound, DownStartSound, DownStopSound, EmergencyStopSound, Fan, FirstRun, floorbeep, SBS::SBS::GetConfigBool(), SBS::SBS::GetConfigString(), SBS::ObjectBase::GetName(), GotoFloor, Height, HeightSet, IdleSound, idlesound, indicator, IsEnabled, keypad_timer, last_music_direction, lastcheckresult, lastdoor_number, lastdoor_result, lastfloor, lastfloorset, lastposition, LateDirection, Mesh, MessageOnClose, MessageOnMove, MessageOnStart, MusicAlwaysOn, MusicDown, MusicOn, MusicOnMove, MusicPosition, musicsound, MusicUp, Name, Number, NumDoors, Offset, parent, SBS::Elevator::Report(), reverb, SBS::ObjectBase::sbs, SBS::ObjectBase::SetName(), SBS::Object::SetValues(), StartingFloor, TimerDelay, SBS::ToString(), UpMoveSound, UpStartSound, UpStopSound, UseDirMessageSounds, UseDoorMessageSounds, UseFloorBeeps, UseFloorSounds, and SBS::SBS::Verbose.
SBS::ElevatorCar::~ElevatorCar | ( | ) |
Definition at line 154 of file elevatorcar.cpp.
References alarm, announcesnd, CameraTextureArray, carsound, ControlArray, CustomObjectArray, DirIndicatorArray, DoorArray, SBS::SBS::FastDelete, floorbeep, FloorIndicatorArray, idlesound, indicator, lights, Mesh, ModelArray, musicsound, PanelArray, parent, SBS::Object::parent_deleting, PrimArray, SBS::Elevator::RemoveCar(), SBS::Elevator::Report(), reverb, SBS::ObjectBase::sbs, sounds, StdDoorArray, TriggerArray, and SBS::SBS::Verbose.
CameraTexture * SBS::ElevatorCar::AddCameraTexture | ( | const std::string & | name, |
int | quality, | ||
Real | fov, | ||
const Vector3 & | position, | ||
bool | use_rotation, | ||
const Vector3 & | rotation ) |
Definition at line 3525 of file elevatorcar.cpp.
References CameraTextureArray.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Control * SBS::ElevatorCar::AddControl | ( | const std::string & | name, |
const std::string & | sound, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset, | ||
int | selection_position, | ||
std::vector< std::string > & | action_names, | ||
std::vector< std::string > & | textures ) |
Definition at line 2569 of file elevatorcar.cpp.
References ControlArray, and SBS::Object::Move().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
CustomObject * SBS::ElevatorCar::AddCustomObject | ( | const std::string & | name, |
const Vector3 & | position, | ||
const Vector3 & | rotation, | ||
Real | max_render_distance = 0, | ||
Real | scale_multiplier = 1 ) |
Definition at line 2502 of file elevatorcar.cpp.
References CustomObjectArray.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::ElevatorCar::AddCustomObject | ( | CustomObject * | object | ) |
Definition at line 2510 of file elevatorcar.cpp.
References CustomObjectArray.
DirectionalIndicator * SBS::ElevatorCar::AddDirectionalIndicator | ( | bool | active_direction, |
bool | single, | ||
bool | vertical, | ||
const std::string & | BackTexture, | ||
const std::string & | uptexture, | ||
const std::string & | uptexture_lit, | ||
const std::string & | downtexture, | ||
const std::string & | downtexture_lit, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
const std::string & | direction, | ||
Real | BackWidth, | ||
Real | BackHeight, | ||
bool | ShowBack, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1143 of file elevatorcar.cpp.
References DirIndicatorArray, indicator, SBS::Elevator::Number, Number, parent, Report(), SBS::ObjectBase::sbs, and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::AddDirectionalIndicators | ( | bool | relative, |
bool | active_direction, | ||
bool | single, | ||
bool | vertical, | ||
const std::string & | BackTexture, | ||
const std::string & | uptexture, | ||
const std::string & | uptexture_lit, | ||
const std::string & | downtexture, | ||
const std::string & | downtexture_lit, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
const std::string & | direction, | ||
Real | BackWidth, | ||
Real | BackHeight, | ||
bool | ShowBack, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1129 of file elevatorcar.cpp.
References SBS::Floor::AddDirectionalIndicator(), SBS::SBS::GetFloor(), SBS::Elevator::Number, Number, parent, Report(), SBS::ObjectBase::sbs, ServicedFloors, and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::AddDisplayFloor | ( | int | floor | ) |
Definition at line 2526 of file elevatorcar.cpp.
References DisplayFloors.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Door * SBS::ElevatorCar::AddDoor | ( | std::string | name, |
const std::string & | open_sound, | ||
const std::string & | close_sound, | ||
bool | open_state, | ||
const std::string & | texture, | ||
const std::string & | side_texture, | ||
Real | thickness, | ||
const std::string & | face_direction, | ||
const std::string & | open_direction, | ||
bool | rotate, | ||
Real | open_speed, | ||
Real | close_speed, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th, | ||
Real | side_tw, | ||
Real | side_th ) |
Definition at line 2123 of file elevatorcar.cpp.
References SBS::Door::CreateDoor(), StdDoorArray, and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
DoorWrapper * SBS::ElevatorCar::AddDoorComponent | ( | int | number, |
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 2006 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddDoorComponent(), GetDoor(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
DoorWrapper * SBS::ElevatorCar::AddDoors | ( | int | number, |
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 1526 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddDoors(), GetDoor(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::AddElevatorIDSigns | ( | int | door_number, |
bool | relative, | ||
const std::string & | texture_prefix, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset ) |
Definition at line 3779 of file elevatorcar.cpp.
References SBS::Floor::AddWall(), DoorExists(), SBS::SBS::DrawWalls(), SBS::TextureManager::GetAutoSize(), GetDestinationOffset(), GetElevator(), SBS::SBS::GetFloor(), SBS::Object::GetPosition(), SBS::SBS::GetTextureManager(), SBS::Elevator::ID, ReportError(), SBS::SBS::ResetWalls(), SBS::ObjectBase::sbs, ServicedFloors, SBS::TextureManager::SetAutoSize(), SBS::SetCase(), ShaftDoorsExist(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Wall * SBS::ElevatorCar::AddFloor | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | voffset1, | ||
Real | voffset2, | ||
bool | reverse_axis, | ||
bool | texture_direction, | ||
Real | tw, | ||
Real | th, | ||
bool | legacy_behavior = false ) |
Definition at line 495 of file elevatorcar.cpp.
References SBS::SBS::AddFloorMain(), SBS::MeshObject::CreateWallObject(), Mesh, and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
FloorIndicator * SBS::ElevatorCar::AddFloorIndicator | ( | const std::string & | texture_prefix, |
const std::string & | blank_texture, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset ) |
Definition at line 504 of file elevatorcar.cpp.
References FloorIndicatorArray, indicator, SBS::Elevator::Number, Number, and parent.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::AddFloorSigns | ( | int | door_number, |
bool | relative, | ||
const std::string & | texture_prefix, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset ) |
Definition at line 1854 of file elevatorcar.cpp.
References SBS::Floor::AddWall(), DoorExists(), SBS::SBS::DrawWalls(), SBS::TextureManager::GetAutoSize(), GetDestinationOffset(), SBS::SBS::GetFloor(), SBS::Object::GetPosition(), SBS::SBS::GetTextureManager(), SBS::Floor::ID, ReportError(), SBS::SBS::ResetWalls(), SBS::ObjectBase::sbs, ServicedFloors, SBS::TextureManager::SetAutoSize(), SBS::SetCase(), ShaftDoorsExist(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Indicator * SBS::ElevatorCar::AddKeypadIndicator | ( | const std::string & | sound, |
const std::string & | texture_prefix, | ||
const std::string & | blank_texture, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset, | ||
Real | timer_duration ) |
Definition at line 3580 of file elevatorcar.cpp.
References indicator.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Light * SBS::ElevatorCar::AddLight | ( | const std::string & | name, |
int | type ) |
Definition at line 2429 of file elevatorcar.cpp.
References SBS::Light::Enabled(), and lights.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Model * SBS::ElevatorCar::AddModel | ( | const std::string & | name, |
const std::string & | filename, | ||
bool | center, | ||
Vector3 | position, | ||
Vector3 | rotation, | ||
Real | max_render_distance = 0, | ||
Real | scale_multiplier = 1, | ||
bool | enable_physics = false, | ||
Real | restitution = 0, | ||
Real | friction = 0, | ||
Real | mass = 0 ) |
Definition at line 2449 of file elevatorcar.cpp.
References SBS::Model::load_error, and ModelArray.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::AddModel | ( | Model * | model | ) |
Definition at line 2462 of file elevatorcar.cpp.
References ModelArray.
Primitive * SBS::ElevatorCar::AddPrimitive | ( | const std::string & | name | ) |
Definition at line 2478 of file elevatorcar.cpp.
References PrimArray.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::ElevatorCar::AddPrimitive | ( | Primitive * | primitive | ) |
Definition at line 2486 of file elevatorcar.cpp.
References PrimArray.
Reverb * SBS::ElevatorCar::AddReverb | ( | const std::string & | name, |
const std::string & | type, | ||
const Vector3 & | position, | ||
Real | min_distance, | ||
Real | max_distance ) |
Definition at line 3840 of file elevatorcar.cpp.
References reverb.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::AddServicedFloor | ( | int | number, |
bool | create_shaft_door = true ) |
Definition at line 545 of file elevatorcar.cpp.
References CheckServicedFloors(), Created, DoorArray, SBS::SBS::GetPower(), SBS::Elevator::IsServicedFloor(), IsServicedFloor(), SBS::SBS::IsValidFloor(), parent, Report(), ReportError(), SBS::ObjectBase::sbs, ServicedFloors, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by CreateCar(), Skyscraper::editelevator::On_chkServicedFloors_Toggled(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
DoorWrapper * SBS::ElevatorCar::AddShaftDoor | ( | int | floor, |
int | number, | ||
const std::string & | lefttexture, | ||
const std::string & | righttexture, | ||
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1564 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddShaftDoor(), GetDoor(), and IsServicedFloor().
DoorWrapper * SBS::ElevatorCar::AddShaftDoor | ( | int | floor, |
int | number, | ||
const std::string & | lefttexture, | ||
const std::string & | righttexture, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1553 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddShaftDoor(), GetDoor(), and IsServicedFloor().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
DoorWrapper * SBS::ElevatorCar::AddShaftDoorComponent | ( | int | number, |
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 2017 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddShaftDoorComponent(), GetDoor(), and IsServicedFloor().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
bool SBS::ElevatorCar::AddShaftDoors | ( | int | number, |
const std::string & | lefttexture, | ||
const std::string & | righttexture, | ||
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1538 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddShaftDoors(), GetDoor(), Report(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::AddShaftDoorsComponent | ( | int | number, |
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 2027 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AddShaftDoorsComponent(), GetDoor(), Report(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Sound * SBS::ElevatorCar::AddSound | ( | const std::string & | name, |
const std::string & | filename, | ||
Vector3 | position, | ||
bool | loop = true, | ||
Real | volume = 1.0, | ||
int | speed = 100, | ||
Real | min_distance = 1.0, | ||
Real | max_distance = -1.0, | ||
Real | doppler_level = 0.0, | ||
Real | cone_inside_angle = 360, | ||
Real | cone_outside_angle = 360, | ||
Real | cone_outside_volume = 1.0, | ||
Vector3 | direction = Vector3(0, 0, 0) ) |
Definition at line 1954 of file elevatorcar.cpp.
References InCar(), SBS::SBS::IsRunning, SBS::Sound::Load(), SBS::Object::Move(), SBS::Sound::Play(), SBS::ObjectBase::sbs, SBS::Sound::SetConeSettings(), SBS::Sound::SetDirection(), SBS::Sound::SetDistances(), SBS::Sound::SetDopplerLevel(), SBS::Sound::SetLoopState(), SBS::Sound::SetSpeed(), SBS::Sound::SetVolume(), and sounds.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Trigger * SBS::ElevatorCar::AddTrigger | ( | const std::string & | name, |
const std::string & | sound_file, | ||
Vector3 & | area_min, | ||
Vector3 & | area_max, | ||
std::vector< std::string > & | action_names ) |
Definition at line 2579 of file elevatorcar.cpp.
References TriggerArray.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Wall * SBS::ElevatorCar::AddWall | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | height1, | ||
Real | height2, | ||
Real | voffset1, | ||
Real | voffset2, | ||
Real | tw, | ||
Real | th ) |
Definition at line 486 of file elevatorcar.cpp.
References SBS::SBS::AddWallMain(), SBS::MeshObject::CreateWallObject(), Mesh, and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::Alarm | ( | ) |
Definition at line 673 of file elevatorcar.cpp.
References alarm, AlarmActive, AlarmSound, AlarmSoundStop, SBS::SBS::camera, SBS::SBS::GetPower(), SBS::Sound::Load(), SBS::Camera::MouseDown(), SBS::Sound::Play(), Report(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), and SBS::Sound::Stop().
Referenced by Loop(), and SBS::Action::Run().
bool SBS::ElevatorCar::AreDoorsClosing | ( | int | number = 0, |
bool | car_doors = true, | ||
bool | shaft_doors = true ) |
Definition at line 1805 of file elevatorcar.cpp.
References AreDoorsMoving().
Referenced by PlayMessageSound().
int SBS::ElevatorCar::AreDoorsMoving | ( | int | number = 0, |
bool | car_doors = true, | ||
bool | shaft_doors = true ) |
Definition at line 1771 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AreDoorsMoving(), GetDoor(), NumDoors, SBS::ElevatorDoor::OpenDoor, ReportError(), and SBS::ToString().
Referenced by AreDoorsClosing(), SBS::Elevator::AreDoorsMoving(), AreDoorsOpening(), CloseDoors(), Loop(), SBS::DoorWrapper::OnClick(), OpenDoors(), and Requested().
bool SBS::ElevatorCar::AreDoorsOpen | ( | int | number = 0 | ) |
Definition at line 1621 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AreDoorsOpen(), GetDoor(), NumDoors, ReportError(), SBS_PROFILE, and SBS::ToString().
Referenced by CloseDoors(), SBS::Person::GetStatus(), Loop(), SBS::DoorWrapper::OnClick(), OpenDoors(), SBS::Person::ProcessRoute(), and Requested().
bool SBS::ElevatorCar::AreDoorsOpening | ( | int | number = 0, |
bool | car_doors = true, | ||
bool | shaft_doors = true ) |
Definition at line 1796 of file elevatorcar.cpp.
References AreDoorsMoving().
Referenced by PlayMessageSound().
bool SBS::ElevatorCar::AreShaftDoorsClosed | ( | bool | skip_current_floor = false | ) |
Definition at line 1673 of file elevatorcar.cpp.
References AreShaftDoorsClosed(), and DoorArray.
Referenced by AreShaftDoorsClosed().
bool SBS::ElevatorCar::AreShaftDoorsOpen | ( | int | number, |
int | floor ) |
Definition at line 1647 of file elevatorcar.cpp.
References SBS::ElevatorDoor::AreShaftDoorsOpen(), GetDoor(), NumDoors, ReportError(), SBS_PROFILE, and SBS::ToString().
Referenced by SBS::DoorWrapper::OnClick(), and SBS::Elevator::SetHoistwayAccess().
void SBS::ElevatorCar::ChangeLight | ( | int | floor, |
bool | value ) |
Definition at line 1987 of file elevatorcar.cpp.
References ChangeLight(), PanelArray, Report(), SBS::ObjectBase::sbs, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by ChangeLight(), and SBS::Elevator::MoveElevatorToFloor().
bool SBS::ElevatorCar::Check | ( | Vector3 & | position | ) |
Definition at line 3163 of file elevatorcar.cpp.
References CameraOffset, SBS::SBS::CarNumber, SBS::SBS::ElevatorNumber, SBS::SBS::ElevatorSync, EnableObjects(), Height, InCar(), SBS::SBS::InElevator, IsEnabled, IsInCar(), SBS::Elevator::Number, Number, parent, SBS::ObjectBase::sbs, and UpdateFloorIndicators().
bool SBS::ElevatorCar::CheckServicedFloors | ( | ) |
Definition at line 657 of file elevatorcar.cpp.
References SBS::Elevator::AssignedShaft, SBS::Elevator::GetShaft(), SBS::Shaft::IsValidFloor(), parent, ReportError(), ServicedFloors, and SBS::ToString().
Referenced by AddServicedFloor(), and CreateCar().
void SBS::ElevatorCar::Chime | ( | int | number, |
int | floor, | ||
bool | direction, | ||
bool | early = false ) |
Definition at line 1688 of file elevatorcar.cpp.
References SBS::ElevatorDoor::Chime(), SBS::ElevatorDoor::EarlyChime(), GetDoor(), SBS::SBS::GetPower(), SBS::Elevator::LastChimeDirection, NumDoors, parent, ReportError(), SBS::ObjectBase::sbs, SBS_PROFILE, and SBS::ToString().
Referenced by NotifyArrival(), and SBS::Elevator::SelectFloor().
void SBS::ElevatorCar::CloseDoors | ( | int | number = 0, |
int | whichdoors = 1, | ||
int | floor = 0, | ||
bool | manual = false, | ||
bool | hold = false ) |
Definition at line 1422 of file elevatorcar.cpp.
References AreDoorsMoving(), AreDoorsOpen(), SBS::SBS::camera, SBS::ElevatorDoor::CloseDoors(), doorhold_direction, doorhold_floor, doorhold_manual, doorhold_whichdoors, FirePhase2Active(), GetDoor(), SBS::SBS::GetPower(), IndependentServiceActive(), SBS::Camera::MouseDown(), NumDoors, SBS::ElevatorDoor::OpenDoors(), ReportError(), SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by CloseDoorsEmergency(), SBS::Elevator::EnableFireService2(), Loop(), Skyscraper::editelevator::On_bClose_Click(), Skyscraper::editelevator::On_bCloseShaftDoor_Click(), and SBS::Action::Run().
void SBS::ElevatorCar::CloseDoorsEmergency | ( | int | number = 0, |
int | whichdoors = 1, | ||
int | floor = 0, | ||
bool | hold = false ) |
Definition at line 1266 of file elevatorcar.cpp.
References CloseDoors().
Referenced by Skyscraper::editelevator::On_bCloseManual_Click(), and SBS::DoorWrapper::OnClick().
ButtonPanel * SBS::ElevatorCar::CreateButtonPanel | ( | const std::string & | texture, |
int | rows, | ||
int | columns, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | buttonwidth, | ||
Real | buttonheight, | ||
Real | spacingX, | ||
Real | spacingY, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 513 of file elevatorcar.cpp.
References PanelArray, Report(), SBS::ObjectBase::sbs, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::CreateCar | ( | int | floor | ) |
Definition at line 384 of file elevatorcar.cpp.
References AddServicedFloor(), alarm, announcesnd, carsound, CheckServicedFloors(), SBS::Elevator::Created, Created, CurrentFloor, DoorArray, SBS::Shaft::endfloor, floorbeep, SBS::Floor::GetBase(), SBS::Elevator::GetCar(), SBS::SBS::GetFloor(), SBS::Elevator::GetShaft(), idlesound, IsServicedFloor(), SBS::Object::Move(), MusicPosition, musicsound, Number, NumDoors, Offset, parent, Report(), ReportError(), SBS::ObjectBase::sbs, SBS::Object::SetPositionY(), StartingFloor, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Door * SBS::ElevatorCar::CreateDoor | ( | std::string | name, |
const std::string & | open_sound, | ||
const std::string & | close_sound, | ||
bool | rotate ) |
Definition at line 2161 of file elevatorcar.cpp.
References StdDoorArray, and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::ElevatorCar::DoorExists | ( | int | number | ) |
Definition at line 1913 of file elevatorcar.cpp.
References GetDoor(), and NumDoors.
Referenced by AddElevatorIDSigns(), and AddFloorSigns().
bool SBS::ElevatorCar::DoorsStopped | ( | int | number = 0 | ) |
Definition at line 1747 of file elevatorcar.cpp.
References SBS::ElevatorDoor::DoorsStopped(), GetDoor(), NumDoors, ReportError(), and SBS::ToString().
Referenced by OpenDoors().
void SBS::ElevatorCar::DumpServicedFloors | ( | ) |
Definition at line 527 of file elevatorcar.cpp.
References SBS::Elevator::GetCarCount(), SBS::SBS::GetPower(), SBS::Elevator::Number, Number, parent, SBS::ObjectBase::Report(), SBS::ObjectBase::sbs, ServicedFloors, and SBS::ToString().
Referenced by Skyscraper::editelevator::On_bDumpFloors_Click().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 980 of file elevatorcar.cpp.
References SBS::MeshObject::Enabled(), EnableDirectionalIndicators(), EnableDoors(), EnableObjects(), FloorIndicatorArray, IsEnabled, Mesh, Report(), SBS::ObjectBase::sbs, and SBS::SBS::Verbose.
Referenced by EnableObjects().
void SBS::ElevatorCar::EnableDirectionalIndicators | ( | bool | value | ) |
Definition at line 1213 of file elevatorcar.cpp.
References DirIndicatorArray, Report(), SBS::ObjectBase::sbs, and SBS::SBS::Verbose.
Referenced by Enabled().
void SBS::ElevatorCar::EnableDoors | ( | bool | value | ) |
Definition at line 1814 of file elevatorcar.cpp.
References SBS::Elevator::DoorContainer, SBS::DynamicMesh::Enabled(), SBS::ElevatorDoor::Enabled(), GetDoor(), NumDoors, parent, Report(), SBS::ObjectBase::sbs, SBS_PROFILE, and SBS::SBS::Verbose.
Referenced by Enabled().
void SBS::ElevatorCar::EnableNudgeMode | ( | bool | value, |
int | number = 0 ) |
Definition at line 2383 of file elevatorcar.cpp.
References SBS::ElevatorDoor::EnableNudgeMode(), GetDoor(), SBS::SBS::GetPower(), NumDoors, ReportError(), SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by Skyscraper::editelevator::On_bSetNudge_Click().
void SBS::ElevatorCar::EnableObjects | ( | bool | value | ) |
Definition at line 1013 of file elevatorcar.cpp.
References AutoEnable, ControlArray, CustomObjectArray, Enabled(), SBS::Object::Enabled(), ModelArray, PanelArray, PrimArray, Report(), reverb, SBS::ObjectBase::sbs, sounds, TriggerArray, and SBS::SBS::Verbose.
Referenced by Check(), Enabled(), and OnInit().
void SBS::ElevatorCar::EnableSensor | ( | bool | value, |
int | number = 0 ) |
Definition at line 2637 of file elevatorcar.cpp.
References SBS::ElevatorDoor::EnableSensor(), GetDoor(), SBS::SBS::GetPower(), NumDoors, ReportError(), SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by Skyscraper::editelevator::On_bDoorSensor_Click(), and SBS::Action::Run().
DoorWrapper * SBS::ElevatorCar::FinishDoors | ( | int | number, |
bool | DoorWalls = true, | ||
bool | TrackWalls = true ) |
Definition at line 2040 of file elevatorcar.cpp.
References SBS::ElevatorDoor::FinishDoors(), GetDoor(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
DoorWrapper * SBS::ElevatorCar::FinishShaftDoor | ( | int | number, |
int | floor, | ||
bool | DoorWalls = true, | ||
bool | TrackWalls = true ) |
Definition at line 2051 of file elevatorcar.cpp.
References SBS::ElevatorDoor::FinishShaftDoor(), GetDoor(), and IsServicedFloor().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
bool SBS::ElevatorCar::FinishShaftDoors | ( | int | number, |
bool | DoorWalls = true, | ||
bool | TrackWalls = true ) |
Definition at line 2061 of file elevatorcar.cpp.
References SBS::ElevatorDoor::FinishShaftDoors(), GetDoor(), ReportError(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
int SBS::ElevatorCar::FirePhase2Active | ( | ) |
Definition at line 3489 of file elevatorcar.cpp.
References SBS::Elevator::FireServicePhase2, SBS::Elevator::FireServicePhase2Car, Number, and parent.
Referenced by CloseDoors(), Skyscraper::editelevator::Loop(), and OpenDoors().
bool SBS::ElevatorCar::FirePhase2OnOtherCar | ( | ) |
Definition at line 3498 of file elevatorcar.cpp.
References SBS::Elevator::FireServicePhase2, SBS::Elevator::FireServicePhase2Car, Number, and parent.
void SBS::ElevatorCar::FlashIndicators | ( | bool | value | ) |
Definition at line 3513 of file elevatorcar.cpp.
References FloorIndicatorArray, SBS::SBS::GetPower(), and SBS::ObjectBase::sbs.
Referenced by SBS::ElevatorDoor::EnableNudgeMode().
int SBS::ElevatorCar::GetBottomFloor | ( | ) |
Definition at line 1119 of file elevatorcar.cpp.
References ServicedFloors.
Referenced by SBS::ElevatorDoor::AllowNudgeMode(), SBS::Elevator::AvailableForCall(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::Elevator::GetArrivalDirection(), SBS::Elevator::GetBottomFloor(), SBS::DispatchController::GetFloorRange(), SBS::ElevatorDoor::MoveDoors(), OnBottomFloor(), SBS::Elevator::ProcessCallQueue(), and SBS::Elevator::ReturnToBottomFloor().
CustomObject * SBS::ElevatorCar::GetCustomObject | ( | std::string | name | ) |
Definition at line 2740 of file elevatorcar.cpp.
References CustomObjectArray, SBS::ObjectBase::GetName(), SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Real SBS::ElevatorCar::GetDestinationAltitude | ( | int | floor | ) |
Definition at line 3295 of file elevatorcar.cpp.
References DoorArray, SBS::Floor::GetBase(), SBS::SBS::GetFloor(), IsServicedFloor(), SBS::ObjectBase::sbs, and ShaftDoorsExist().
Referenced by SBS::Elevator::GetDestinationAltitude(), GetDestinationOffset(), IsLeveled(), and SetFloor().
Real SBS::ElevatorCar::GetDestinationOffset | ( | int | floor | ) |
Definition at line 3326 of file elevatorcar.cpp.
References SBS::Floor::GetBase(), GetDestinationAltitude(), SBS::SBS::GetFloor(), IsServicedFloor(), and SBS::ObjectBase::sbs.
Referenced by AddElevatorIDSigns(), AddFloorSigns(), SBS::Elevator::GetDestinationOffset(), and GetNearestServicedFloor().
Door * SBS::ElevatorCar::GetDoor | ( | const std::string & | name | ) |
Definition at line 2187 of file elevatorcar.cpp.
References SBS::ObjectBase::GetName(), and StdDoorArray.
ElevatorDoor * SBS::ElevatorCar::GetDoor | ( | int | number | ) |
Definition at line 1232 of file elevatorcar.cpp.
References DoorArray, lastdoor_number, and lastdoor_result.
Referenced by AddDoorComponent(), AddDoors(), AddShaftDoor(), AddShaftDoor(), AddShaftDoorComponent(), AddShaftDoors(), AddShaftDoorsComponent(), AreDoorsMoving(), AreDoorsOpen(), AreShaftDoorsOpen(), Chime(), CloseDoors(), DoorExists(), DoorsStopped(), EnableDoors(), EnableNudgeMode(), EnableSensor(), FinishDoors(), FinishShaftDoor(), FinishShaftDoors(), GetHoldStatus(), GetSensorStatus(), HoldDoors(), IsNudgeModeActive(), Loop(), Skyscraper::editelevator::Loop(), OpenDoors(), ResetDoors(), ResetDoorState(), ResetNudgeTimer(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), SetShaftDoors(), ShaftDoorsEnabled(), ShaftDoorsEnabledRange(), ShaftDoorsExist(), and StopDoors().
Elevator * SBS::ElevatorCar::GetElevator | ( | ) |
Definition at line 461 of file elevatorcar.cpp.
References parent.
Referenced by AddElevatorIDSigns(), SBS::SBS::DeleteObject(), SBS::ElevatorDoor::ElevatorDoor(), SBS::Person::GetStatus(), ProcessCache(), SBS::Person::ProcessRoute(), Requested(), RespondingToCall(), RespondingToCall(), SBS::Action::Run(), and SBS::ElevatorDoor::Timer::Timer().
int SBS::ElevatorCar::GetFloor | ( | ) |
Definition at line 3211 of file elevatorcar.cpp.
References SBS::SBS::GetFloorNumber(), SBS::Object::GetPosition(), lastfloor, lastfloorset, and SBS::ObjectBase::sbs.
Referenced by SBS::Elevator::AddRoute(), SBS::ElevatorDoor::AllowNudgeMode(), SBS::ElevatorDoor::AreShaftDoorsClosed(), SBS::Elevator::AvailableForCall(), SBS::ElevatorDoor::CloseDoors(), SBS::Elevator::EnableInspectionService(), SBS::DispatchController::FindClosestElevator(), SBS::Elevator::FinishMove(), GetFloorDisplay(), GetNearestServicedFloor(), IsLeveled(), IsOnFloor(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::Timer::Notify(), Skyscraper::editelevator::On_bCall_Click(), OnBottomFloor(), SBS::DoorWrapper::OnHit(), SBS::Elevator::OnParkingFloor(), OnTopFloor(), SBS::ElevatorDoor::OpenDoors(), PlayFloorBeep(), PlayMessageSound(), SBS::Person::ProcessRoute(), Requested(), SBS::Action::Run(), and SBS::Elevator::SelectFloor().
Control * SBS::ElevatorCar::GetFloorButton | ( | int | floor | ) |
Definition at line 2082 of file elevatorcar.cpp.
References PanelArray, parent, ReportError(), and SBS::Elevator::Running.
Referenced by SBS::Person::ProcessRoute().
std::string SBS::ElevatorCar::GetFloorDisplay | ( | ) |
Definition at line 2532 of file elevatorcar.cpp.
References DisplayFloors, SBS::Elevator::FloorSkipText, GetFloor(), SBS::SBS::GetFloor(), SBS::SBS::GetPower(), SBS::Floor::ID, SBS::Elevator::IsServicedFloor(), IsServicedFloor(), parent, SBS::ObjectBase::sbs, and SBS::Elevator::UseFloorSkipText.
Referenced by SBS::FloorIndicator::Update().
|
private |
Definition at line 3727 of file elevatorcar.cpp.
References SBS::FloorManager::Get(), SBS::FloorManager::GetByID(), SBS::FloorManager::GetByNumberID(), SBS::SBS::GetFloorManager(), SBS::IsNumeric(), SBS::Floor::Number, SBS::ObjectBase::sbs, SBS::ToInt(), and SBS::ToString().
Referenced by Input(), and ProcessCache().
int SBS::ElevatorCar::GetFloorIndex | ( | int | floor | ) |
Definition at line 630 of file elevatorcar.cpp.
References ServicedFloors.
Referenced by SBS::ElevatorDoor::AddShaftDoor(), SBS::ElevatorDoor::AddShaftDoorComponent(), SBS::ElevatorDoor::FinishShaftDoor(), IsServicedFloor(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSelectCurrent_Click(), RemoveServicedFloor(), and Requested().
bool SBS::ElevatorCar::GetHoldStatus | ( | int | number = 0 | ) |
Definition at line 2661 of file elevatorcar.cpp.
References GetDoor(), SBS::ElevatorDoor::GetHoldStatus(), NumDoors, ReportError(), and SBS::ToString().
Light * SBS::ElevatorCar::GetLight | ( | const std::string & | name | ) |
Definition at line 2439 of file elevatorcar.cpp.
References SBS::ObjectBase::GetName(), and lights.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Model * SBS::ElevatorCar::GetModel | ( | std::string | name | ) |
Definition at line 2710 of file elevatorcar.cpp.
References SBS::ObjectBase::GetName(), ModelArray, SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject().
int SBS::ElevatorCar::GetNearestServicedFloor | ( | ) |
Definition at line 3248 of file elevatorcar.cpp.
References GetDestinationOffset(), GetFloor(), SBS::SBS::GetFloor(), SBS::Object::GetPosition(), SBS::SBS::GetPower(), IsServicedFloor(), SBS::ObjectBase::sbs, and ServicedFloors.
Referenced by SBS::Elevator::ReturnToNearestFloor().
ButtonPanel * SBS::ElevatorCar::GetPanel | ( | int | index | ) |
Definition at line 2072 of file elevatorcar.cpp.
References PanelArray.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Primitive * SBS::ElevatorCar::GetPrimitive | ( | std::string | name | ) |
Definition at line 2725 of file elevatorcar.cpp.
References SBS::ObjectBase::GetName(), PrimArray, SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Reverb * SBS::ElevatorCar::GetReverb | ( | ) |
Definition at line 3850 of file elevatorcar.cpp.
References reverb.
Referenced by SBS::Sound::GetNearestReverbPosition(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::GetSensorStatus | ( | int | number = 0 | ) |
Definition at line 2612 of file elevatorcar.cpp.
References GetDoor(), SBS::ElevatorDoor::GetSensorStatus(), NumDoors, ReportError(), and SBS::ToString().
Referenced by Skyscraper::editelevator::On_bDoorSensor_Click().
int SBS::ElevatorCar::GetServicedFloor | ( | int | index | ) |
Definition at line 649 of file elevatorcar.cpp.
References ServicedFloors.
Referenced by SBS::Floor::GetDirectFloors(), SBS::SBS::GetIndirectRoute(), and Skyscraper::editelevator::Loop().
int SBS::ElevatorCar::GetServicedFloorCount | ( | ) |
Definition at line 643 of file elevatorcar.cpp.
References ServicedFloors.
Referenced by SBS::Floor::GetDirectFloors(), SBS::SBS::GetIndirectRoute(), and Skyscraper::editelevator::Loop().
std::vector< Sound * > SBS::ElevatorCar::GetSound | ( | const std::string & | name | ) |
Definition at line 2592 of file elevatorcar.cpp.
References SBS::SetCase(), and sounds.
Referenced by SBS::Action::Run().
Door * SBS::ElevatorCar::GetStdDoor | ( | int | number | ) |
Definition at line 2175 of file elevatorcar.cpp.
References StdDoorArray.
int SBS::ElevatorCar::GetTopFloor | ( | ) |
Definition at line 1109 of file elevatorcar.cpp.
References ServicedFloors.
Referenced by SBS::ElevatorDoor::AllowNudgeMode(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::Elevator::GetArrivalDirection(), SBS::DispatchController::GetFloorRange(), SBS::SBS::GetIndirectRoute(), SBS::Elevator::GetTopFloor(), SBS::ElevatorDoor::MoveDoors(), OnTopFloor(), and SBS::Elevator::ProcessCallQueue().
void SBS::ElevatorCar::HoldDoors | ( | int | number = 0, |
bool | sensor = false ) |
Definition at line 2104 of file elevatorcar.cpp.
References GetDoor(), SBS::ElevatorDoor::Hold(), NumDoors, ReportError(), and SBS::ToString().
Referenced by SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), Skyscraper::editelevator::On_bHoldDoors_Click(), OpenDoors(), and SBS::Action::Run().
bool SBS::ElevatorCar::InCar | ( | ) |
Definition at line 3241 of file elevatorcar.cpp.
References SBS::SBS::CarNumber, SBS::SBS::ElevatorNumber, SBS::SBS::InElevator, SBS::Elevator::Number, Number, parent, and SBS::ObjectBase::sbs.
Referenced by AddSound(), Check(), and Loop().
bool SBS::ElevatorCar::IndependentServiceActive | ( | ) |
Definition at line 3475 of file elevatorcar.cpp.
References SBS::Elevator::IndependentService, SBS::Elevator::IndependentServiceCar, Number, and parent.
Referenced by CloseDoors(), and Skyscraper::editelevator::Loop().
bool SBS::ElevatorCar::IndependentServiceOnOtherCar | ( | ) |
Definition at line 3482 of file elevatorcar.cpp.
References SBS::Elevator::IndependentService, SBS::Elevator::IndependentServiceCar, Number, and parent.
Referenced by SBS::ElevatorDoor::Timer::Notify().
bool SBS::ElevatorCar::Input | ( | const std::string & | text | ) |
Definition at line 3624 of file elevatorcar.cpp.
References GetFloorFromID(), SBS::SBS::GetPower(), InputCache, keypad_timer, KeypadError(), SBS::ObjectBase::sbs, SBS::TimerObject::Start(), SBS::TimerObject::Stop(), TimerDelay, and UpdateKeypadIndicator().
Referenced by SBS::Action::Run().
bool SBS::ElevatorCar::IsInCar | ( | const Vector3 & | position, |
bool | camera = false ) |
Definition at line 3107 of file elevatorcar.cpp.
References CameraOffset, checkfirstrun, SBS::Object::GetPosition(), Height, SBS::MeshObject::HitBeam(), SBS::MeshObject::InBoundingBox(), IsEnabled, lastcheckresult, lastposition, and Mesh.
Referenced by Check().
bool SBS::ElevatorCar::IsLeveled | ( | ) |
Definition at line 3361 of file elevatorcar.cpp.
References GetDestinationAltitude(), GetFloor(), SBS::Object::GetPosition(), and IsServicedFloor().
Referenced by SBS::Elevator::IsLeveled(), and IsOnFloor().
bool SBS::ElevatorCar::IsNudgeModeActive | ( | int | number = 0 | ) |
Definition at line 2358 of file elevatorcar.cpp.
References GetDoor(), SBS::ElevatorDoor::GetNudgeStatus(), NumDoors, ReportError(), and SBS::ToString().
Referenced by Skyscraper::editelevator::Loop(), and Skyscraper::editelevator::On_bSetNudge_Click().
bool SBS::ElevatorCar::IsOnFloor | ( | int | floor, |
bool | leveled = true ) |
Definition at line 3379 of file elevatorcar.cpp.
References GetFloor(), IsLeveled(), SBS::Elevator::IsMoving, and parent.
Referenced by SBS::Elevator::AddRoute(), and SBS::Elevator::OnRecallFloor().
bool SBS::ElevatorCar::IsServicedFloor | ( | int | floor, |
bool | report = true ) |
Definition at line 611 of file elevatorcar.cpp.
References GetFloorIndex(), Report(), SBS::ObjectBase::sbs, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by AddServicedFloor(), AddShaftDoor(), AddShaftDoor(), SBS::ElevatorDoor::AddShaftDoor(), AddShaftDoorComponent(), SBS::ElevatorDoor::AddShaftDoorComponent(), CreateCar(), FinishShaftDoor(), SBS::ElevatorDoor::FinishShaftDoor(), GetDestinationAltitude(), GetDestinationOffset(), SBS::Floor::GetDirectRoute(), GetFloorDisplay(), GetNearestServicedFloor(), IsLeveled(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::SetACPFloor(), and Skyscraper::editelevator::SetMainValues().
|
private |
Definition at line 3767 of file elevatorcar.cpp.
References UpdateKeypadIndicator().
Referenced by Input(), ProcessCache(), and Requested().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 730 of file elevatorcar.cpp.
References SBS::Elevator::ActiveDirection, Alarm(), AlarmActive, announcesnd, AreDoorsMoving(), AreDoorsOpen(), CloseDoors(), ControlPressActive, DirMessageSound, DoorArray, doorhold_direction, DoorMessageSound, SBS::Elevator::DownPeak, SBS::Elevator::DownQueue, Fan, FirstRun, GetDoor(), SBS::SBS::GetPower(), IdleSound, idlesound, InCar(), SBS::Elevator::InServiceMode(), IsEnabled, SBS::Sound::IsLoaded(), SBS::Elevator::IsMoving, SBS::Sound::IsPlaying(), last_music_direction, lights, SBS::Sound::Load(), SBS::ElevatorDoor::Loop(), SBS::Object::LoopChildren(), MusicAlwaysOn, MusicDown, MusicOn, MusicOnMove, musicsound, MusicUp, NumDoors, OpenDoors(), SBS::Elevator::OpenOnStart, parent, SBS::Sound::Pause(), SBS::Sound::Play(), SBS::Sound::ProcessQueue(), Report(), SBS::ElevatorDoor::Reset(), SBS::ObjectBase::sbs, SBS_PROFILE, SBS::Sound::SetLoopState(), SBS::Sound::SetVolume(), SBS::Sound::Stop(), SBS::ElevatorDoor::TimerIsRunning(), SBS::Elevator::UpPeak, SBS::Elevator::UpQueue, and SBS::SBS::Verbose.
Referenced by SBS::Elevator::Loop().
void SBS::ElevatorCar::NotifyArrival | ( | int | floor, |
bool | early = false, | ||
int | direction = 0 ) |
Definition at line 3395 of file elevatorcar.cpp.
References Chime(), SBS::Elevator::ChimeOnArrival, SBS::Elevator::FireServicePhase1, SBS::Elevator::FireServicePhase2, SBS::Elevator::GetArrivalDirection(), SBS::Elevator::GetCallStatus(), SBS::Elevator::GetDestinationDispatch(), SBS::SBS::GetPower(), SBS::Elevator::InServiceMode(), SBS::Elevator::LastChimeDirection, LateDirection, SBS::Elevator::NotifyLate, parent, PlayFloorSound(), RespondingToCall(), SBS::ObjectBase::sbs, and SetDirectionalIndicators().
Referenced by SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::NotifyArrival(), and SBS::Elevator::SameFloorArrival().
bool SBS::ElevatorCar::OnBottomFloor | ( | ) |
Definition at line 3234 of file elevatorcar.cpp.
References GetBottomFloor(), and GetFloor().
Referenced by SBS::Elevator::OnBottomFloor().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 715 of file elevatorcar.cpp.
References Created, EnableObjects(), Number, SetFloor(), and StartingFloor.
bool SBS::ElevatorCar::OnTopFloor | ( | ) |
Definition at line 3227 of file elevatorcar.cpp.
References GetFloor(), and GetTopFloor().
Referenced by SBS::Elevator::OnTopFloor().
bool SBS::ElevatorCar::OpenDoors | ( | int | number = 0, |
int | whichdoors = 1, | ||
int | floor = 0, | ||
bool | manual = false, | ||
bool | hold = false ) |
Definition at line 1280 of file elevatorcar.cpp.
References AreDoorsMoving(), AreDoorsOpen(), SBS::Elevator::AutoDoors, SBS::SBS::camera, SBS::ElevatorDoor::CloseDoors(), ControlPressActive, doorhold_direction, doorhold_floor, doorhold_manual, doorhold_whichdoors, DoorsStopped(), FirePhase2Active(), GetDoor(), SBS::SBS::GetPower(), HoldDoors(), SBS::Elevator::InServiceMode(), SBS::Elevator::Interlocks, SBS::Elevator::IsMoving, SBS::Camera::MouseDown(), NumDoors, SBS::Elevator::OnFloor, SBS::Elevator::OnRecallFloor(), SBS::ElevatorDoor::OpenDoors(), parent, ReportError(), SBS::ObjectBase::sbs, SBS::Elevator::Stop(), and SBS::ToString().
Referenced by SBS::Elevator::EnableIndependentService(), SBS::Elevator::FinishMove(), Loop(), Skyscraper::editelevator::On_bOpen_Click(), Skyscraper::editelevator::On_bOpenShaftDoor_Click(), SBS::DoorWrapper::OnHit(), OpenDoorsEmergency(), SBS::Action::Run(), SBS::Elevator::SameFloorArrival(), and SBS::Elevator::SelectFloor().
bool SBS::ElevatorCar::OpenDoorsEmergency | ( | int | number = 0, |
int | whichdoors = 1, | ||
int | floor = 0, | ||
bool | hold = false ) |
Definition at line 1252 of file elevatorcar.cpp.
References OpenDoors().
Referenced by Skyscraper::editelevator::On_bOpenManual_Click(), and SBS::DoorWrapper::OnClick().
void SBS::ElevatorCar::OpenHatch | ( | ) |
Definition at line 708 of file elevatorcar.cpp.
References Report().
bool SBS::ElevatorCar::PlayFloorBeep | ( | ) |
Definition at line 2818 of file elevatorcar.cpp.
References BeepSound, floorbeep, GetFloor(), SBS::SBS::GetPower(), SBS::Elevator::InServiceMode(), SBS::Sound::Load(), parent, SBS::Sound::Play(), SBS::ReplaceAll(), Report(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), SBS::Sound::Stop(), SBS::ToString(), SBS::TrimString(), UseFloorBeeps, and SBS::SBS::Verbose.
Referenced by SBS::Elevator::MoveElevatorToFloor().
bool SBS::ElevatorCar::PlayFloorSound | ( | ) |
Definition at line 2843 of file elevatorcar.cpp.
References announcesnd, FloorSound, SBS::SBS::GetPower(), SBS::Elevator::GotoFloor, SBS::Elevator::InServiceMode(), parent, SBS::Sound::PlayQueued(), SBS::ReplaceAll(), Report(), SBS::ObjectBase::sbs, SBS::Elevator::SkipFloorSound, SBS::ToString(), SBS::TrimString(), UseFloorSounds, and SBS::SBS::Verbose.
Referenced by NotifyArrival().
bool SBS::ElevatorCar::PlayMessageSound | ( | bool | type | ) |
Definition at line 2865 of file elevatorcar.cpp.
References SBS::Elevator::ActiveDirection, announcesnd, AreDoorsClosing(), AreDoorsOpening(), CloseMessageSound, DirMessageSound, DoorMessageSound, DownMessageSound, GetFloor(), SBS::SBS::GetPower(), SBS::Elevator::InServiceMode(), SBS::Elevator::IsQueueActive(), SBS::Elevator::LastChimeDirection, MessageOnClose, MessageOnMove, SBS::Elevator::NotifyEarly, SBS::Elevator::NotifyLate, OpenMessageSound, parent, SBS::Sound::PlayQueued(), SBS::ReplaceAll(), Report(), SBS::ObjectBase::sbs, SBS::ToString(), SBS::TrimString(), UpMessageSound, UseDirMessageSounds, UseDoorMessageSounds, and SBS::SBS::Verbose.
Referenced by SBS::ElevatorDoor::MoveDoors().
|
private |
Definition at line 3056 of file elevatorcar.cpp.
References carsound, SBS::Elevator::Direction, DownMoveSound, SBS::Sound::IsPlaying(), SBS::Sound::Load(), parent, SBS::Sound::Play(), Report(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), UpMoveSound, and SBS::SBS::Verbose.
|
private |
Definition at line 2969 of file elevatorcar.cpp.
References carsound, SBS::Elevator::Direction, DownStartSound, SBS::Sound::Load(), parent, SBS::Sound::Play(), Report(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), SBS::Sound::Stop(), UpStartSound, and SBS::SBS::Verbose.
|
private |
Definition at line 2994 of file elevatorcar.cpp.
References SBS::Elevator::AutoAdjustSound, carsound, SBS::Elevator::Direction, SBS::Elevator::DownSpeed, DownStopSound, SBS::Elevator::ElevatorRate, EmergencyStopSound, SBS::Sound::Load(), parent, SBS::Sound::Play(), Report(), SBS::Sound::Reset(), SBS::ObjectBase::sbs, SBS::Sound::SetLoopState(), SBS::Sound::SetPlayPosition(), SBS::Sound::Stop(), SBS::Elevator::UpSpeed, UpStopSound, and SBS::SBS::Verbose.
void SBS::ElevatorCar::ProcessCache | ( | ) |
Definition at line 3686 of file elevatorcar.cpp.
References GetElevator(), GetFloorFromID(), SBS::Elevator::GetRecallFloor(), InputCache, InvalidInput, SBS::IsNumeric(), KeypadError(), Requested(), and SBS::Elevator::SelectFloor().
Referenced by SBS::ElevatorCar::KeypadTimer::Notify().
void SBS::ElevatorCar::RemoveCameraTexture | ( | CameraTexture * | camtex | ) |
Definition at line 3533 of file elevatorcar.cpp.
References CameraTextureArray.
void SBS::ElevatorCar::RemoveControl | ( | Control * | control | ) |
Definition at line 2332 of file elevatorcar.cpp.
References ControlArray.
void SBS::ElevatorCar::RemoveCustomObject | ( | CustomObject * | object | ) |
Definition at line 2319 of file elevatorcar.cpp.
References CustomObjectArray.
void SBS::ElevatorCar::RemoveDirectionalIndicator | ( | DirectionalIndicator * | indicator | ) |
Definition at line 2210 of file elevatorcar.cpp.
References DirIndicatorArray, and indicator.
void SBS::ElevatorCar::RemoveDoor | ( | Door * | door | ) |
Definition at line 2254 of file elevatorcar.cpp.
References StdDoorArray.
void SBS::ElevatorCar::RemoveElevatorDoor | ( | ElevatorDoor * | door | ) |
Definition at line 2223 of file elevatorcar.cpp.
References DoorArray, lastdoor_number, lastdoor_result, and NumDoors.
Referenced by SBS::ElevatorDoor::~ElevatorDoor().
void SBS::ElevatorCar::RemoveFloorIndicator | ( | FloorIndicator * | indicator | ) |
Definition at line 2241 of file elevatorcar.cpp.
References FloorIndicatorArray, and indicator.
void SBS::ElevatorCar::RemoveLight | ( | Light * | light | ) |
Definition at line 2280 of file elevatorcar.cpp.
References lights.
void SBS::ElevatorCar::RemoveModel | ( | Model * | model | ) |
Definition at line 2293 of file elevatorcar.cpp.
References ModelArray.
void SBS::ElevatorCar::RemovePanel | ( | ButtonPanel * | panel | ) |
Definition at line 2197 of file elevatorcar.cpp.
References PanelArray.
void SBS::ElevatorCar::RemovePrimitive | ( | Primitive * | prim | ) |
Definition at line 2306 of file elevatorcar.cpp.
References PrimArray.
void SBS::ElevatorCar::RemoveReverb | ( | ) |
Definition at line 3855 of file elevatorcar.cpp.
References reverb.
void SBS::ElevatorCar::RemoveServicedFloor | ( | int | number, |
bool | remove_shaft_door = true ) |
Definition at line 588 of file elevatorcar.cpp.
References Created, DoorArray, GetFloorIndex(), SBS::SBS::GetPower(), Report(), SBS::ObjectBase::sbs, ServicedFloors, SBS::ToString(), and SBS::SBS::Verbose.
Referenced by Skyscraper::editelevator::On_chkServicedFloors_Toggled().
void SBS::ElevatorCar::RemoveSound | ( | Sound * | sound | ) |
Definition at line 2267 of file elevatorcar.cpp.
References sounds.
void SBS::ElevatorCar::RemoveTrigger | ( | Trigger * | trigger | ) |
Definition at line 2345 of file elevatorcar.cpp.
References TriggerArray.
bool SBS::ElevatorCar::ReplaceTexture | ( | const std::string & | oldtexture, |
const std::string & | newtexture ) |
Definition at line 2587 of file elevatorcar.cpp.
References Mesh, and SBS::MeshObject::ReplaceTexture().
Referenced by SBS::Action::Run().
|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 466 of file elevatorcar.cpp.
References SBS::Elevator::GetCarCount(), Number, parent, SBS::Elevator::Report(), and SBS::ToString().
Referenced by AddDirectionalIndicator(), AddDirectionalIndicators(), AddServicedFloor(), AddShaftDoors(), AddShaftDoorsComponent(), Alarm(), ChangeLight(), SBS::ElevatorDoor::CloseDoors(), CreateButtonPanel(), CreateCar(), Enabled(), EnableDirectionalIndicators(), EnableDoors(), SBS::ElevatorDoor::EnableNudgeMode(), EnableObjects(), SBS::ElevatorDoor::EnableSensor(), SBS::ElevatorDoor::Hold(), IsServicedFloor(), Loop(), SBS::ElevatorDoor::MoveDoors(), SBS::ElevatorDoor::OpenDoors(), OpenHatch(), PlayFloorBeep(), PlayFloorSound(), PlayMessageSound(), PlayMovingSounds(), PlayStartingSounds(), PlayStoppingSounds(), RemoveServicedFloor(), SBS::ElevatorDoor::Reset(), ResetLights(), SetBeepSound(), SetFloorSound(), SetMessageSound(), and SBS::ElevatorDoor::StopDoors().
|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 476 of file elevatorcar.cpp.
References SBS::Elevator::GetCarCount(), Number, parent, SBS::Elevator::ReportError(), and SBS::ToString().
Referenced by AddDoorComponent(), AddDoors(), AddElevatorIDSigns(), AddFloorSigns(), AddServicedFloor(), AddShaftDoors(), AddShaftDoorsComponent(), AreDoorsMoving(), AreDoorsOpen(), AreShaftDoorsOpen(), CheckServicedFloors(), Chime(), CloseDoors(), SBS::ElevatorDoor::CloseDoors(), CreateCar(), DoorsStopped(), EnableNudgeMode(), EnableSensor(), FinishDoors(), SBS::ElevatorDoor::FinishDoors(), SBS::ElevatorDoor::FinishShaftDoor(), FinishShaftDoors(), GetFloorButton(), GetHoldStatus(), GetSensorStatus(), HoldDoors(), IsNudgeModeActive(), OpenDoors(), SBS::ElevatorDoor::OpenDoors(), ResetDoors(), ResetDoorState(), ResetNudgeTimer(), SetShaftDoors(), ShaftDoorsEnabled(), ShaftDoorsEnabledRange(), and StopDoors().
|
private |
Definition at line 3596 of file elevatorcar.cpp.
References AreDoorsMoving(), AreDoorsOpen(), SBS::Elevator::DownQueue, SBS::Elevator::FireServicePhase1, SBS::Elevator::FireServicePhase2, GetElevator(), GetFloor(), GetFloorIndex(), SBS::Elevator::IndependentService, SBS::Elevator::InspectionService, SBS::Elevator::IsMoving, KeypadError(), SBS::Elevator::LimitQueue, SBS::Elevator::QueuePositionDirection, SBS::Elevator::Running, UpdateKeypadIndicator(), and SBS::Elevator::UpQueue.
Referenced by ProcessCache().
void SBS::ElevatorCar::ResetDoors | ( | int | number = 0, |
bool | sensor = false ) |
Definition at line 1723 of file elevatorcar.cpp.
References GetDoor(), SBS::SBS::GetPower(), NumDoors, ReportError(), SBS::ElevatorDoor::Reset(), SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by SBS::Action::Run().
void SBS::ElevatorCar::ResetDoorState | ( | int | number = 0 | ) |
Definition at line 2686 of file elevatorcar.cpp.
References GetDoor(), SBS::SBS::GetPower(), NumDoors, ReportError(), SBS::ElevatorDoor::ResetState(), SBS::ObjectBase::sbs, and SBS::ToString().
void SBS::ElevatorCar::ResetLights | ( | ) |
Definition at line 1977 of file elevatorcar.cpp.
References PanelArray, Report(), SBS::ObjectBase::sbs, and SBS::SBS::Verbose.
void SBS::ElevatorCar::ResetNudgeTimer | ( | bool | start = true, |
int | number = 0 ) |
Definition at line 2407 of file elevatorcar.cpp.
References GetDoor(), NumDoors, ReportError(), SBS::ElevatorDoor::ResetNudgeTimer(), and SBS::ToString().
Referenced by SBS::Elevator::EnableFireService2(), and SBS::Elevator::EnableIndependentService().
int SBS::ElevatorCar::RespondingToCall | ( | int | floor | ) |
Definition at line 3563 of file elevatorcar.cpp.
References SBS::Elevator::GetActiveCallDirection(), SBS::Elevator::GetActiveCallFloor(), SBS::Elevator::GetActiveCallType(), GetElevator(), SBS::Elevator::GotoFloor, and GotoFloor.
bool SBS::ElevatorCar::RespondingToCall | ( | int | floor, |
int | direction ) |
Definition at line 3546 of file elevatorcar.cpp.
References SBS::Elevator::GetActiveCallDirection(), SBS::Elevator::GetActiveCallFloor(), SBS::Elevator::GetActiveCallType(), GetElevator(), SBS::Elevator::GotoFloor, and GotoFloor.
Referenced by SBS::Elevator::AvailableForCall(), and NotifyArrival().
void SBS::ElevatorCar::SetBeepSound | ( | const std::string & | filename | ) |
Definition at line 2755 of file elevatorcar.cpp.
References BeepSound, Report(), SBS::ObjectBase::sbs, SBS::TrimString(), UseFloorBeeps, and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::SetControls | ( | const std::string & | action_name | ) |
Definition at line 3505 of file elevatorcar.cpp.
References PanelArray.
void SBS::ElevatorCar::SetDirectionalIndicators | ( | int | floor, |
bool | UpLight, | ||
bool | DownLight ) |
Definition at line 1155 of file elevatorcar.cpp.
References DirIndicatorArray, SBS::SBS::GetFloor(), indicator, SBS::Elevator::Number, Number, parent, SBS::ObjectBase::sbs, and SBS::Floor::SetDirectionalIndicators().
Referenced by SBS::ElevatorDoor::CloseDoors(), and NotifyArrival().
void SBS::ElevatorCar::SetFloor | ( | int | floor, |
bool | move_parent = true ) |
Definition at line 3339 of file elevatorcar.cpp.
References GetDestinationAltitude(), SBS::SBS::GetFloor(), SBS::Object::GetPosition(), SBS::Object::Move(), SBS::Elevator::MoveObjects(), parent, and SBS::ObjectBase::sbs.
Referenced by OnInit().
void SBS::ElevatorCar::SetFloorSound | ( | const std::string & | prefix | ) |
Definition at line 2765 of file elevatorcar.cpp.
References FloorSound, Report(), SBS::ObjectBase::sbs, SBS::TrimString(), UseFloorSounds, and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Real SBS::ElevatorCar::SetHeight | ( | ) |
Definition at line 3083 of file elevatorcar.cpp.
References alarm, announcesnd, floorbeep, SBS::MeshObject::GetHeight(), Height, HeightSet, idlesound, Mesh, MusicPosition, musicsound, and SBS::Object::SetPosition().
Referenced by SBS::Elevator::Loop().
void SBS::ElevatorCar::SetMessageSound | ( | bool | type, |
bool | direction, | ||
const std::string & | filename ) |
Definition at line 2775 of file elevatorcar.cpp.
References CloseMessageSound, DownMessageSound, OpenMessageSound, Report(), SBS::ObjectBase::sbs, SBS::TrimString(), UpMessageSound, UseDirMessageSounds, UseDoorMessageSounds, and SBS::SBS::Verbose.
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::SetMusic | ( | const std::string & | filename | ) |
Definition at line 1837 of file elevatorcar.cpp.
References GetDoor(), NumDoors, ReportError(), SBS::ElevatorDoor::SetShaftDoors(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
void SBS::ElevatorCar::ShaftDoorsEnabled | ( | int | number, |
int | floor, | ||
bool | value ) |
Definition at line 1575 of file elevatorcar.cpp.
References GetDoor(), NumDoors, ReportError(), SBS_PROFILE, SBS::ElevatorDoor::ShaftDoorsEnabled(), and SBS::ToString().
Referenced by SBS::Shaft::Level::Enabled().
void SBS::ElevatorCar::ShaftDoorsEnabledRange | ( | int | number, |
int | floor, | ||
int | range ) |
Definition at line 1597 of file elevatorcar.cpp.
References GetDoor(), NumDoors, ReportError(), SBS_PROFILE, SBS::ElevatorDoor::ShaftDoorsEnabledRange(), and SBS::ToString().
Referenced by SBS::Shaft::Check().
bool SBS::ElevatorCar::ShaftDoorsExist | ( | int | number, |
int | floor, | ||
bool | include_nonserviced = false ) |
Definition at line 1932 of file elevatorcar.cpp.
References GetDoor(), NumDoors, and SBS::ElevatorDoor::ShaftDoorsExist().
Referenced by AddElevatorIDSigns(), AddFloorSigns(), SBS::DirectionalIndicator::DownLight(), GetDestinationAltitude(), Skyscraper::editelevator::SetMainValues(), and SBS::DirectionalIndicator::UpLight().
void SBS::ElevatorCar::StopCarSound | ( | ) |
Definition at line 3204 of file elevatorcar.cpp.
References carsound, and SBS::Sound::Stop().
void SBS::ElevatorCar::StopDoors | ( | int | number = 0 | ) |
Definition at line 1506 of file elevatorcar.cpp.
References GetDoor(), NumDoors, ReportError(), SBS::ElevatorDoor::StopDoors(), and SBS::ToString().
Referenced by Skyscraper::editelevator::On_bStopDoors_Click(), SBS::DoorWrapper::OnClick(), and SBS::Action::Run().
void SBS::ElevatorCar::UpdateDirectionalIndicators | ( | ) |
Definition at line 1181 of file elevatorcar.cpp.
References SBS::Elevator::ActiveDirection, DirIndicatorArray, indicator, and parent.
void SBS::ElevatorCar::UpdateFloorIndicators | ( | ) |
Definition at line 1098 of file elevatorcar.cpp.
References FloorIndicatorArray.
Referenced by Check().
|
private |
Definition at line 3590 of file elevatorcar.cpp.
References indicator, and SBS::Indicator::Update().
Referenced by Input(), KeypadError(), and Requested().
|
friend |
Definition at line 33 of file elevatorcar.h.
|
private |
Definition at line 252 of file elevatorcar.h.
Referenced by Alarm(), CreateCar(), ElevatorCar(), SetHeight(), and ~ElevatorCar().
bool SBS::ElevatorCar::AlarmActive |
Definition at line 65 of file elevatorcar.h.
Referenced by Alarm(), ElevatorCar(), Loop(), and Skyscraper::editelevator::Loop().
std::string SBS::ElevatorCar::AlarmSound |
Definition at line 54 of file elevatorcar.h.
Referenced by Alarm(), ElevatorCar(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::AlarmSoundStop |
Definition at line 55 of file elevatorcar.h.
Referenced by Alarm(), ElevatorCar(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 255 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), Loop(), PlayFloorSound(), PlayMessageSound(), SetHeight(), and ~ElevatorCar().
bool SBS::ElevatorCar::AutoEnable |
Definition at line 76 of file elevatorcar.h.
Referenced by ElevatorCar(), EnableObjects(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetAutoEnable_Click(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::BeepSound |
Definition at line 56 of file elevatorcar.h.
Referenced by PlayFloorBeep(), and SetBeepSound().
Real SBS::ElevatorCar::CameraOffset |
Definition at line 77 of file elevatorcar.h.
Referenced by Check(), ElevatorCar(), SBS::Elevator::FinishMove(), IsInCar(), and Skyscraper::editelevator::Loop().
|
private |
Definition at line 293 of file elevatorcar.h.
Referenced by AddCameraTexture(), RemoveCameraTexture(), and ~ElevatorCar().
|
private |
Definition at line 250 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), PlayMovingSounds(), PlayStartingSounds(), PlayStoppingSounds(), StopCarSound(), and ~ElevatorCar().
|
private |
Definition at line 317 of file elevatorcar.h.
Referenced by ElevatorCar(), and IsInCar().
std::string SBS::ElevatorCar::CloseMessageSound |
Definition at line 61 of file elevatorcar.h.
Referenced by PlayMessageSound(), and SetMessageSound().
|
private |
Definition at line 287 of file elevatorcar.h.
Referenced by AddControl(), EnableObjects(), RemoveControl(), and ~ElevatorCar().
bool SBS::ElevatorCar::ControlPressActive |
Definition at line 45 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), OpenDoors(), and SBS::Action::Run().
bool SBS::ElevatorCar::Created |
Definition at line 79 of file elevatorcar.h.
Referenced by AddServicedFloor(), CreateCar(), SBS::Elevator::CreateCounterweight(), ElevatorCar(), OnInit(), RemoveServicedFloor(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 296 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), SBS::Elevator::FinishMove(), SBS::Elevator::MoveElevatorToFloor(), and SBS::Elevator::ProcessCallQueue().
|
private |
Definition at line 284 of file elevatorcar.h.
Referenced by AddCustomObject(), AddCustomObject(), EnableObjects(), GetCustomObject(), RemoveCustomObject(), and ~ElevatorCar().
|
private |
Definition at line 260 of file elevatorcar.h.
Referenced by AddDirectionalIndicator(), EnableDirectionalIndicators(), RemoveDirectionalIndicator(), SetDirectionalIndicators(), UpdateDirectionalIndicators(), and ~ElevatorCar().
|
private |
Definition at line 299 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), and PlayMessageSound().
std::vector<int> SBS::ElevatorCar::DisplayFloors |
Definition at line 44 of file elevatorcar.h.
Referenced by AddDisplayFloor(), and GetFloorDisplay().
|
private |
Definition at line 263 of file elevatorcar.h.
Referenced by AddServicedFloor(), AreShaftDoorsClosed(), CreateCar(), GetDestinationAltitude(), GetDoor(), Loop(), RemoveElevatorDoor(), RemoveServicedFloor(), and ~ElevatorCar().
|
private |
Definition at line 309 of file elevatorcar.h.
Referenced by CloseDoors(), ElevatorCar(), Loop(), and OpenDoors().
|
private |
Definition at line 311 of file elevatorcar.h.
Referenced by CloseDoors(), ElevatorCar(), and OpenDoors().
|
private |
Definition at line 312 of file elevatorcar.h.
Referenced by CloseDoors(), ElevatorCar(), and OpenDoors().
|
private |
Definition at line 310 of file elevatorcar.h.
Referenced by CloseDoors(), ElevatorCar(), and OpenDoors().
|
private |
Definition at line 300 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), and PlayMessageSound().
std::string SBS::ElevatorCar::DownMessageSound |
Definition at line 59 of file elevatorcar.h.
Referenced by PlayMessageSound(), and SetMessageSound().
std::string SBS::ElevatorCar::DownMoveSound |
Definition at line 50 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayMovingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::DownStartSound |
Definition at line 48 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayStartingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::DownStopSound |
Definition at line 52 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayStoppingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::EmergencyStopSound |
Definition at line 64 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayStoppingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::Fan |
Definition at line 42 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bFan_Click(), and SBS::Action::Run().
|
private |
Definition at line 303 of file elevatorcar.h.
Referenced by ElevatorCar(), and Loop().
|
private |
Definition at line 253 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), PlayFloorBeep(), SetHeight(), and ~ElevatorCar().
|
private |
Definition at line 266 of file elevatorcar.h.
Referenced by AddFloorIndicator(), Enabled(), FlashIndicators(), RemoveFloorIndicator(), UpdateFloorIndicators(), and ~ElevatorCar().
std::string SBS::ElevatorCar::FloorSound |
Definition at line 57 of file elevatorcar.h.
Referenced by PlayFloorSound(), and SetFloorSound().
bool SBS::ElevatorCar::GotoFloor |
Definition at line 81 of file elevatorcar.h.
Referenced by ElevatorCar(), SBS::Elevator::FinishMove(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::NotifyArrival(), SBS::Elevator::ProcessCallQueue(), SBS::Elevator::ProcessGotoFloor(), RespondingToCall(), and RespondingToCall().
Real SBS::ElevatorCar::Height |
Definition at line 40 of file elevatorcar.h.
Referenced by Check(), ElevatorCar(), SBS::Elevator::FinishMove(), IsInCar(), Skyscraper::editelevator::Loop(), and SetHeight().
bool SBS::ElevatorCar::HeightSet |
Definition at line 41 of file elevatorcar.h.
Referenced by ElevatorCar(), and SetHeight().
std::string SBS::ElevatorCar::IdleSound |
Definition at line 53 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 251 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), Loop(), SetHeight(), and ~ElevatorCar().
|
private |
Definition at line 322 of file elevatorcar.h.
Referenced by AddDirectionalIndicator(), AddFloorIndicator(), AddKeypadIndicator(), ElevatorCar(), RemoveDirectionalIndicator(), RemoveFloorIndicator(), SetDirectionalIndicators(), UpdateDirectionalIndicators(), UpdateKeypadIndicator(), and ~ElevatorCar().
|
private |
Definition at line 320 of file elevatorcar.h.
Referenced by Input(), and ProcessCache().
std::vector<std::string> SBS::ElevatorCar::InvalidInput |
Definition at line 235 of file elevatorcar.h.
Referenced by ProcessCache(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::IsEnabled |
Definition at line 46 of file elevatorcar.h.
Referenced by Check(), ElevatorCar(), Enabled(), IsInCar(), and Loop().
|
private |
Definition at line 330 of file elevatorcar.h.
Referenced by ElevatorCar(), and Input().
|
private |
Definition at line 306 of file elevatorcar.h.
Referenced by ElevatorCar(), and Loop().
|
private |
Definition at line 316 of file elevatorcar.h.
Referenced by ElevatorCar(), and IsInCar().
|
private |
Definition at line 302 of file elevatorcar.h.
Referenced by ElevatorCar(), GetDoor(), and RemoveElevatorDoor().
|
private |
Definition at line 301 of file elevatorcar.h.
Referenced by ElevatorCar(), GetDoor(), and RemoveElevatorDoor().
|
private |
Definition at line 304 of file elevatorcar.h.
Referenced by ElevatorCar(), and GetFloor().
|
private |
Definition at line 305 of file elevatorcar.h.
Referenced by ElevatorCar(), and GetFloor().
|
private |
Definition at line 315 of file elevatorcar.h.
Referenced by ElevatorCar(), and IsInCar().
int SBS::ElevatorCar::LateDirection |
Definition at line 82 of file elevatorcar.h.
Referenced by ElevatorCar(), NotifyArrival(), and SBS::Elevator::SameFloorArrival().
|
private |
Definition at line 275 of file elevatorcar.h.
Referenced by AddLight(), GetLight(), Loop(), RemoveLight(), and ~ElevatorCar().
MeshObject* SBS::ElevatorCar::Mesh |
Definition at line 232 of file elevatorcar.h.
Referenced by AddFloor(), AddWall(), ElevatorCar(), Enabled(), SBS::ElevatorDoor::FinishDoors(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), IsInCar(), ReplaceTexture(), SetHeight(), and ~ElevatorCar().
bool SBS::ElevatorCar::MessageOnClose |
Definition at line 72 of file elevatorcar.h.
Referenced by ElevatorCar(), SBS::ElevatorDoor::MoveDoors(), PlayMessageSound(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::MessageOnMove |
Definition at line 70 of file elevatorcar.h.
Referenced by ElevatorCar(), SBS::ElevatorDoor::MoveDoors(), PlayMessageSound(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::MessageOnStart |
Definition at line 71 of file elevatorcar.h.
Referenced by ElevatorCar(), SBS::ElevatorDoor::MoveDoors(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 278 of file elevatorcar.h.
Referenced by AddModel(), AddModel(), EnableObjects(), GetModel(), RemoveModel(), and ~ElevatorCar().
bool SBS::ElevatorCar::MusicAlwaysOn |
Definition at line 75 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bMusicAlwaysOn_Click(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::MusicDown |
Definition at line 63 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::MusicOn |
Definition at line 73 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetMusicOn_Click(), SBS::Action::Run(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::MusicOnMove |
Definition at line 74 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetMusicOnMove_Click(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
Vector3 SBS::ElevatorCar::MusicPosition |
Definition at line 43 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), Skyscraper::editelevator::Loop(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), and SetHeight().
|
private |
Definition at line 256 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), Loop(), SetHeight(), and ~ElevatorCar().
std::string SBS::ElevatorCar::MusicUp |
Definition at line 62 of file elevatorcar.h.
Referenced by ElevatorCar(), Loop(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::Name |
Definition at line 37 of file elevatorcar.h.
Referenced by ElevatorCar(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
int SBS::ElevatorCar::Number |
Definition at line 36 of file elevatorcar.h.
Referenced by AddDirectionalIndicator(), AddDirectionalIndicators(), SBS::ElevatorDoor::AddDoorComponent(), AddFloorIndicator(), SBS::Elevator::AddRoute(), SBS::ElevatorDoor::AddShaftDoorComponent(), Check(), CreateCar(), SBS::SBS::DeleteObject(), SBS::DoorWrapper::DoorWrapper(), DumpServicedFloors(), ElevatorCar(), SBS::DispatchController::FindClosestElevator(), SBS::ElevatorDoor::FinishDoors(), FirePhase2Active(), FirePhase2OnOtherCar(), SBS::Elevator::GetDestinationAltitude(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::Elevator::Go(), InCar(), IndependentServiceActive(), IndependentServiceOnOtherCar(), Skyscraper::editelevator::On_bIndService_Toggle(), Skyscraper::editelevator::On_Fire2Hold_Select(), Skyscraper::editelevator::On_Fire2Off_Select(), Skyscraper::editelevator::On_Fire2On_Select(), OnInit(), SBS::ElevatorDoor::OpenDoors(), SBS::Elevator::ProcessCallQueue(), Report(), ReportError(), SBS::Action::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), SBS::Elevator::SelectFloor(), and SetDirectionalIndicators().
int SBS::ElevatorCar::NumDoors |
Definition at line 39 of file elevatorcar.h.
Referenced by AreDoorsMoving(), AreDoorsOpen(), AreShaftDoorsOpen(), Chime(), CloseDoors(), CreateCar(), DoorExists(), DoorsStopped(), ElevatorCar(), EnableDoors(), EnableNudgeMode(), EnableSensor(), GetHoldStatus(), SBS::ElevatorDoor::GetNumberText(), GetSensorStatus(), HoldDoors(), IsNudgeModeActive(), Loop(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::OnInit(), OpenDoors(), RemoveElevatorDoor(), ResetDoors(), ResetDoorState(), ResetNudgeTimer(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), SetShaftDoors(), ShaftDoorsEnabled(), ShaftDoorsEnabledRange(), ShaftDoorsExist(), and StopDoors().
int SBS::ElevatorCar::Offset |
Definition at line 80 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), and SBS::Elevator::GetFloorForCar().
std::string SBS::ElevatorCar::OpenMessageSound |
Definition at line 60 of file elevatorcar.h.
Referenced by PlayMessageSound(), and SetMessageSound().
|
private |
Definition at line 269 of file elevatorcar.h.
Referenced by ChangeLight(), CreateButtonPanel(), EnableObjects(), GetFloorButton(), GetPanel(), RemovePanel(), ResetLights(), SetControls(), and ~ElevatorCar().
|
private |
Definition at line 242 of file elevatorcar.h.
Referenced by AddDirectionalIndicator(), AddDirectionalIndicators(), AddFloorIndicator(), AddServicedFloor(), Check(), CheckServicedFloors(), Chime(), CreateCar(), DumpServicedFloors(), ElevatorCar(), EnableDoors(), FirePhase2Active(), FirePhase2OnOtherCar(), GetElevator(), GetFloorButton(), GetFloorDisplay(), InCar(), IndependentServiceActive(), IndependentServiceOnOtherCar(), IsOnFloor(), Loop(), NotifyArrival(), OpenDoors(), PlayFloorBeep(), PlayFloorSound(), PlayMessageSound(), PlayMovingSounds(), PlayStartingSounds(), PlayStoppingSounds(), Report(), ReportError(), SetDirectionalIndicators(), SetFloor(), UpdateDirectionalIndicators(), and ~ElevatorCar().
|
private |
Definition at line 281 of file elevatorcar.h.
Referenced by AddPrimitive(), AddPrimitive(), EnableObjects(), GetPrimitive(), RemovePrimitive(), and ~ElevatorCar().
|
private |
Definition at line 257 of file elevatorcar.h.
Referenced by AddReverb(), ElevatorCar(), EnableObjects(), GetReverb(), RemoveReverb(), and ~ElevatorCar().
std::vector<int> SBS::ElevatorCar::ServicedFloors |
Definition at line 38 of file elevatorcar.h.
Referenced by AddDirectionalIndicators(), AddElevatorIDSigns(), AddFloorSigns(), AddServicedFloor(), SBS::ElevatorDoor::AddShaftDoors(), SBS::ElevatorDoor::AddShaftDoorsComponent(), CheckServicedFloors(), DumpServicedFloors(), SBS::ElevatorDoor::ElevatorDoor(), SBS::Shaft::Level::Enabled(), SBS::ElevatorDoor::FinishShaftDoors(), GetBottomFloor(), GetFloorIndex(), GetNearestServicedFloor(), GetServicedFloor(), GetServicedFloorCount(), GetTopFloor(), and RemoveServicedFloor().
|
private |
Definition at line 254 of file elevatorcar.h.
Referenced by AddSound(), EnableObjects(), GetSound(), RemoveSound(), and ~ElevatorCar().
int SBS::ElevatorCar::StartingFloor |
Definition at line 78 of file elevatorcar.h.
Referenced by CreateCar(), ElevatorCar(), SBS::FloorIndicator::FloorIndicator(), Skyscraper::editelevator::Loop(), and OnInit().
|
private |
Definition at line 272 of file elevatorcar.h.
Referenced by AddDoor(), CreateDoor(), GetDoor(), GetStdDoor(), RemoveDoor(), and ~ElevatorCar().
Real SBS::ElevatorCar::TimerDelay |
Definition at line 238 of file elevatorcar.h.
Referenced by ElevatorCar(), Input(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
|
private |
Definition at line 290 of file elevatorcar.h.
Referenced by AddTrigger(), EnableObjects(), RemoveTrigger(), and ~ElevatorCar().
std::string SBS::ElevatorCar::UpMessageSound |
Definition at line 58 of file elevatorcar.h.
Referenced by PlayMessageSound(), and SetMessageSound().
std::string SBS::ElevatorCar::UpMoveSound |
Definition at line 49 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayMovingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::UpStartSound |
Definition at line 47 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayStartingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
std::string SBS::ElevatorCar::UpStopSound |
Definition at line 51 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayStoppingSounds(), and Skyscraper::ScriptProcessor::ElevatorCarSection::Run().
bool SBS::ElevatorCar::UseDirMessageSounds |
Definition at line 68 of file elevatorcar.h.
Referenced by ElevatorCar(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetMessageSounds_Click(), PlayMessageSound(), and SetMessageSound().
bool SBS::ElevatorCar::UseDoorMessageSounds |
Definition at line 69 of file elevatorcar.h.
Referenced by ElevatorCar(), PlayMessageSound(), and SetMessageSound().
bool SBS::ElevatorCar::UseFloorBeeps |
Definition at line 66 of file elevatorcar.h.
Referenced by ElevatorCar(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetFloorBeeps_Click(), PlayFloorBeep(), and SetBeepSound().
bool SBS::ElevatorCar::UseFloorSounds |
Definition at line 67 of file elevatorcar.h.
Referenced by ElevatorCar(), Skyscraper::editelevator::Loop(), Skyscraper::editelevator::On_bSetFloorSounds_Click(), PlayFloorSound(), and SetFloorSound().