Skyscraper 2.0
|
#include <floor.h>
Public Member Functions | |
Floor (Object *parent, FloorManager *manager, int number) | |
~Floor () | |
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 isexternal, bool legacy_behavior=false) |
Wall * | AddInterfloorFloor (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) |
Wall * | AddWall (const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height_in1, Real height_in2, Real voffset1, Real voffset2, Real tw, Real th, bool isexternal) |
Wall * | AddInterfloorWall (const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real height_in1, Real height_in2, Real voffset1, Real voffset2, Real tw, Real th) |
void | Enabled (bool value) |
Real | FullHeight () |
CallStation * | AddCallButtons (int controller, const std::string &sound_file_up, const std::string &sound_file_down, const std::string &BackTexture, const std::string &UpButtonTexture, const std::string &UpButtonTexture_Lit, const std::string &DownButtonTexture, const std::string &DownButtonTexture_Lit, Real CenterX, Real CenterZ, Real voffset, const std::string &direction, Real BackWidth, Real BackHeight, bool ShowBack, Real tw, Real th) |
CallStation * | AddCallStation (int number) |
void | Cut (const Vector3 &start, const Vector3 &end, bool cutwalls, bool cutfloors, bool fast, int checkwallnumber=0, bool prepare=false) |
void | CutAll (const Vector3 &start, const Vector3 &end, bool cutwalls, bool cutfloors, bool prepare=false) |
void | AddGroupFloor (int number) |
void | RemoveGroupFloor (int number) |
void | EnableGroup (bool value) |
bool | IsInGroup (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, bool external=false) |
Door * | CreateDoor (std::string name, const std::string &open_sound, const std::string &close_sound, bool rotate) |
Door * | GetDoor (const std::string &name) |
bool | CalculateAltitude () |
void | EnableColumnFrame (bool value) |
void | EnableInterfloor (bool value) |
Wall * | ColumnWallBox (const std::string &name, const std::string &texture, Real x1, Real x2, Real z1, Real z2, Real height_in, Real voffset, Real tw, Real th, bool inside, bool outside, bool top, bool bottom) |
Wall * | ColumnWallBox2 (const std::string &name, const std::string &texture, Real CenterX, Real CenterZ, Real WidthX, Real LengthZ, Real height_in, Real voffset, Real tw, Real th, bool inside, bool outside, bool top, bool bottom) |
FloorIndicator * | AddFloorIndicator (int elevator, int car, bool relative, const std::string &texture_prefix, const std::string &blank_texture, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real height, Real voffset) |
void | UpdateFloorIndicators (int elevator) |
void | UpdateFloorIndicators () |
void | UpdateDirectionalIndicators (int elevator) |
void | UpdateDirectionalIndicators () |
DirectionalIndicator * | AddDirectionalIndicator (int elevator, int car, 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) |
void | SetDirectionalIndicators (int elevator, int car, bool UpLight, bool DownLight) |
void | Loop () |
std::vector< int > | GetCallStations (int elevator) |
CallStation * | GetCallStationForElevator (int elevator) |
CallStation * | GetCallStation (int number) |
void | AddFillerWalls (const std::string &texture, Real thickness, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, bool direction, Real tw, Real th, bool isexternal) |
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) |
void | Report (const std::string &message) |
bool | ReportError (const std::string &message) |
Real | GetBase (bool relative=false) |
Door * | GetDoor (int number) |
void | RemoveCallStation (CallStation *station) |
void | RemoveFloorIndicator (FloorIndicator *indicator) |
void | RemoveDirectionalIndicator (DirectionalIndicator *indicator) |
void | RemoveDoor (Door *door) |
void | RemoveSound (Sound *sound) |
void | RemoveReverb (Reverb *reverb) |
void | RemoveLight (Light *light) |
void | RemoveModel (Model *model) |
void | RemovePrimitive (Primitive *prim) |
void | RemoveCustomObject (CustomObject *object) |
void | RemoveControl (Control *control) |
void | RemoveTrigger (Trigger *trigger) |
void | RemoveCameraTexture (CameraTexture *cameratexture) |
void | RemoveEscalator (Escalator *escalator) |
void | RemoveMovingWalkway (MovingWalkway *walkway) |
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 | ReplaceTexture (const std::string &oldtexture, const std::string &newtexture) |
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) |
CameraTexture * | AddCameraTexture (const std::string &name, int quality, Real fov, const Vector3 &position, bool use_rotation, const Vector3 &rotation) |
Escalator * | AddEscalator (const std::string &name, int run, Real speed, const std::string &sound_file, const std::string &riser_texture, const std::string &tread_texture, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real risersize, Real treadsize, int num_steps, Real voffset, Real tw, Real th) |
MovingWalkway * | AddMovingWalkway (const std::string &name, int run, Real speed, const std::string &sound_file, const std::string &texture, const std::string &direction, Real CenterX, Real CenterZ, Real width, Real treadsize, int num_steps, Real voffset, Real tw, Real th) |
std::vector< Sound * > | GetSound (const std::string &name) |
Reverb * | GetReverb (const std::string &name) |
void | SetAltitude (Real altitude) |
void | ShowInfo (bool detailed=true, bool display_header=true) |
void | GetElevatorList (std::vector< int > &listing, bool get_locals=true, bool get_express=true, bool get_service=true) |
void | GetStairwellList (std::vector< int > &listing) |
void | GetShaftList (std::vector< int > &listing) |
ElevatorRoute * | GetDirectRoute (int DestinationFloor, std::string ElevatorType) |
std::vector< int > | GetDirectFloors (bool include_service) |
Model * | GetModel (std::string name) |
Primitive * | GetPrimitive (std::string name) |
CustomObject * | GetCustomObject (std::string name) |
RevolvingDoor * | AddRevolvingDoor (std::string name, bool run, const std::string &soundfile, const std::string &texture, Real thickness, bool clockwise, int segments, Real speed, Real rotation, Real CenterX, Real CenterZ, Real width, Real height, Real voffset, Real tw, Real th, bool external) |
void | RemoveRevolvingDoor (RevolvingDoor *door) |
RevolvingDoor * | GetRevolvingDoor (int number) |
CameraTexture * | GetCameraTexture (int number) |
int | GetCallStationCount () |
int | GetReverbCount () |
Reverb * | GetReverb (int index) |
![]() | |
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) |
virtual void | ResetState () |
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 () |
Public Attributes | |
MeshObject * | Level |
MeshObject * | Interfloor |
MeshObject * | ColumnFrame |
int | Number |
std::string | Name |
std::string | ID |
std::string | NumberID |
std::string | FloorType |
std::string | Description |
std::string | IndicatorTexture |
Real | Altitude |
Real | Height |
Real | InterfloorHeight |
bool | IsEnabled |
bool | IsColumnFrameEnabled |
bool | IsInterfloorEnabled |
std::vector< CallStation * > | CallStationArray |
std::vector< FloorIndicator * > | FloorIndicatorArray |
std::vector< int > | Group |
bool | EnabledGroup |
int | EnabledGroup_Floor |
bool | AltitudeSet |
![]() | |
std::string | command |
std::string | command_processed |
std::string | context |
int | linenum |
std::string | includefile |
bool | parent_deleting |
Private Attributes | |
std::vector< Sound * > | sounds |
std::vector< Reverb * > | reverbs |
std::vector< Door * > | DoorArray |
std::vector< RevolvingDoor * > | RDoorArray |
DynamicMesh * | DoorWrapper |
std::vector< Light * > | lights |
std::vector< DirectionalIndicator * > | DirIndicatorArray |
std::vector< Model * > | ModelArray |
std::vector< Primitive * > | PrimArray |
std::vector< CustomObject * > | CustomObjectArray |
std::vector< Control * > | ControlArray |
std::vector< Trigger * > | TriggerArray |
std::vector< CameraTexture * > | CameraTextureArray |
std::vector< Escalator * > | EscalatorArray |
std::vector< MovingWalkway * > | MovingWalkwayArray |
Additional Inherited Members | |
![]() | |
void | EnableLoop (bool value) |
void | LoopChildren () |
bool | SelfDestruct () |
![]() | |
SBS * | sbs |
SBS::Floor::Floor | ( | Object * | parent, |
FloorManager * | manager, | ||
int | number ) |
Definition at line 58 of file floor.cpp.
References Altitude, AltitudeSet, ColumnFrame, Description, EnabledGroup, EnabledGroup_Floor, FloorType, SBS::FloorManager::GetColumnDynMesh(), SBS::FloorManager::GetFloorDynMesh(), SBS::FloorManager::GetIFloorDynMesh(), SBS::ObjectBase::GetName(), SBS::Object::GetSceneNode(), Height, ID, IndicatorTexture, Interfloor, InterfloorHeight, IsColumnFrameEnabled, IsEnabled, IsInterfloorEnabled, Level, Name, Number, NumberID, SBS::ObjectBase::SetName(), SBS::Object::SetValues(), and SBS::ToString().
SBS::Floor::~Floor | ( | ) |
Definition at line 101 of file floor.cpp.
References CallStationArray, CameraTextureArray, ColumnFrame, ControlArray, CustomObjectArray, SBS::MeshObject::DeleteWalls(), DirIndicatorArray, DoorArray, DoorWrapper, EscalatorArray, SBS::SBS::External, SBS::SBS::FastDelete, FloorIndicatorArray, Interfloor, Level, lights, ModelArray, MovingWalkwayArray, SBS::Object::parent_deleting, PrimArray, RDoorArray, SBS::SBS::RemoveFloor(), reverbs, SBS::ObjectBase::sbs, sounds, and TriggerArray.
CallStation * SBS::Floor::AddCallButtons | ( | int | controller, |
const std::string & | sound_file_up, | ||
const std::string & | sound_file_down, | ||
const std::string & | BackTexture, | ||
const std::string & | UpButtonTexture, | ||
const std::string & | UpButtonTexture_Lit, | ||
const std::string & | DownButtonTexture, | ||
const std::string & | DownButtonTexture_Lit, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | voffset, | ||
const std::string & | direction, | ||
Real | BackWidth, | ||
Real | BackHeight, | ||
bool | ShowBack, | ||
Real | tw, | ||
Real | th ) |
Definition at line 578 of file floor.cpp.
References AddCallStation(), SBS::SBS::callstation_index, SBS::CallStation::CreateCallButtons(), GetBase(), SBS::SBS::GetController(), SBS::Object::Move(), Number, SBS::ObjectBase::sbs, SBS::DispatchController::ServesFloor(), and SBS::CallStation::SetController().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
CallStation * SBS::Floor::AddCallStation | ( | int | number | ) |
Definition at line 598 of file floor.cpp.
References CallStationArray, and Number.
Referenced by AddCallButtons(), and Skyscraper::ScriptProcessor::CallStationSection::Run().
CameraTexture * SBS::Floor::AddCameraTexture | ( | const std::string & | name, |
int | quality, | ||
Real | fov, | ||
const Vector3 & | position, | ||
bool | use_rotation, | ||
const Vector3 & | rotation ) |
Definition at line 1624 of file floor.cpp.
References CameraTextureArray, and GetBase().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Control * SBS::Floor::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 1605 of file floor.cpp.
References ControlArray, GetBase(), and SBS::Object::Move().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
CustomObject * SBS::Floor::AddCustomObject | ( | const std::string & | name, |
const Vector3 & | position, | ||
const Vector3 & | rotation, | ||
Real | max_render_distance = 0, | ||
Real | scale_multiplier = 1 ) |
Definition at line 1573 of file floor.cpp.
References CustomObjectArray.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::Floor::AddCustomObject | ( | CustomObject * | object | ) |
Definition at line 1581 of file floor.cpp.
References CustomObjectArray.
DirectionalIndicator * SBS::Floor::AddDirectionalIndicator | ( | int | elevator, |
int | car, | ||
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 1161 of file floor.cpp.
References DirIndicatorArray, GetBase(), SBS::SBS::GetElevator(), SBS::Object::GetPosition(), SBS::Elevator::IsServicedFloor(), Number, Report(), SBS::ObjectBase::sbs, and SBS::SBS::Verbose.
Referenced by SBS::ElevatorCar::AddDirectionalIndicators(), and Skyscraper::ScriptProcessor::FloorSection::Run().
Door * SBS::Floor::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, | ||
bool | external = false ) |
Definition at line 779 of file floor.cpp.
References SBS::DoorManager::AddDoor(), Altitude, SBS::Door::CreateDoor(), CutAll(), DoorArray, GetBase(), SBS::SBS::GetDoorManager(), SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run(), and Skyscraper::ScriptProcessor::FloorSection::Run().
Escalator * SBS::Floor::AddEscalator | ( | const std::string & | name, |
int | run, | ||
Real | speed, | ||
const std::string & | sound_file, | ||
const std::string & | riser_texture, | ||
const std::string & | tread_texture, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | risersize, | ||
Real | treadsize, | ||
int | num_steps, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1632 of file floor.cpp.
References EscalatorArray, and GetBase().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::AddFillerWalls | ( | const std::string & | texture, |
Real | thickness, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset, | ||
bool | direction, | ||
Real | tw, | ||
Real | th, | ||
bool | isexternal ) |
Definition at line 1013 of file floor.cpp.
References AddFloor(), AddWall(), CutAll(), SBS::SBS::DrawWalls(), GetBase(), SBS::SBS::GetWallOrientation(), ReportError(), SBS::SBS::ResetWalls(), and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::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 | isexternal, | ||
bool | legacy_behavior = false ) |
Definition at line 316 of file floor.cpp.
References SBS::SBS::AddFloorMain(), Altitude, SBS::MeshObject::CreateWallObject(), SBS::SBS::External, GetBase(), Level, and SBS::ObjectBase::sbs.
Referenced by AddFillerWalls(), and Skyscraper::ScriptProcessor::FloorSection::Run().
FloorIndicator * SBS::Floor::AddFloorIndicator | ( | int | elevator, |
int | car, | ||
bool | relative, | ||
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 904 of file floor.cpp.
References FloorIndicatorArray, GetBase(), SBS::SBS::GetElevator(), SBS::Object::GetPosition(), and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::AddGroupFloor | ( | int | number | ) |
Definition at line 679 of file floor.cpp.
References Group, and IsInGroup().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::AddInterfloorFloor | ( | 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 338 of file floor.cpp.
References SBS::SBS::AddFloorMain(), SBS::MeshObject::CreateWallObject(), Interfloor, and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::AddInterfloorWall | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | height_in1, | ||
Real | height_in2, | ||
Real | voffset1, | ||
Real | voffset2, | ||
Real | tw, | ||
Real | th ) |
Definition at line 368 of file floor.cpp.
References SBS::SBS::AddWallMain(), SBS::MeshObject::CreateWallObject(), Interfloor, and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Light * SBS::Floor::AddLight | ( | const std::string & | name, |
int | type ) |
Definition at line 1499 of file floor.cpp.
References GetBase(), lights, and SBS::Object::Move().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Model * SBS::Floor::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 1519 of file floor.cpp.
References GetBase(), SBS::Model::load_error, and ModelArray.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::AddModel | ( | Model * | model | ) |
Definition at line 1532 of file floor.cpp.
References ModelArray.
MovingWalkway * SBS::Floor::AddMovingWalkway | ( | const std::string & | name, |
int | run, | ||
Real | speed, | ||
const std::string & | sound_file, | ||
const std::string & | texture, | ||
const std::string & | direction, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | treadsize, | ||
int | num_steps, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1640 of file floor.cpp.
References GetBase(), and MovingWalkwayArray.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Primitive * SBS::Floor::AddPrimitive | ( | const std::string & | name | ) |
Definition at line 1548 of file floor.cpp.
References GetBase(), SBS::Object::Move(), and PrimArray.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::Floor::AddPrimitive | ( | Primitive * | primitive | ) |
Reverb * SBS::Floor::AddReverb | ( | const std::string & | name, |
const std::string & | type, | ||
const Vector3 & | position, | ||
Real | min_distance, | ||
Real | max_distance ) |
Definition at line 1965 of file floor.cpp.
References reverbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
RevolvingDoor * SBS::Floor::AddRevolvingDoor | ( | std::string | name, |
bool | run, | ||
const std::string & | soundfile, | ||
const std::string & | texture, | ||
Real | thickness, | ||
bool | clockwise, | ||
int | segments, | ||
Real | speed, | ||
Real | rotation, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | width, | ||
Real | height, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th, | ||
bool | external ) |
Definition at line 1911 of file floor.cpp.
References SBS::RevolvingDoorManager::AddDoor(), Altitude, GetBase(), SBS::SBS::GetRevolvingDoorManager(), RDoorArray, SBS::ObjectBase::sbs, and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Sound * SBS::Floor::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 1084 of file floor.cpp.
References SBS::SBS::camera, SBS::Camera::CurrentFloor, GetBase(), SBS::SBS::IsRunning, SBS::Sound::Load(), SBS::Object::Move(), Number, 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::FloorSection::Run().
Trigger * SBS::Floor::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 1615 of file floor.cpp.
References GetBase(), SBS::Object::Move(), and TriggerArray.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::AddWall | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | height_in1, | ||
Real | height_in2, | ||
Real | voffset1, | ||
Real | voffset2, | ||
Real | tw, | ||
Real | th, | ||
bool | isexternal ) |
Definition at line 347 of file floor.cpp.
References SBS::SBS::AddWallMain(), Altitude, SBS::MeshObject::CreateWallObject(), SBS::SBS::External, GetBase(), Level, and SBS::ObjectBase::sbs.
Referenced by SBS::ElevatorCar::AddElevatorIDSigns(), AddFillerWalls(), SBS::ElevatorCar::AddFloorSigns(), and Skyscraper::ScriptProcessor::FloorSection::Run().
bool SBS::Floor::CalculateAltitude | ( | ) |
Definition at line 839 of file floor.cpp.
References Altitude, FullHeight(), SBS::SBS::GetFloor(), Number, ReportError(), SBS::ObjectBase::sbs, and SetAltitude().
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::ColumnWallBox | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | x1, | ||
Real | x2, | ||
Real | z1, | ||
Real | z2, | ||
Real | height_in, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th, | ||
bool | inside, | ||
bool | outside, | ||
bool | top, | ||
bool | bottom ) |
Definition at line 890 of file floor.cpp.
References ColumnFrame, SBS::SBS::CreateWallBox(), and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Wall * SBS::Floor::ColumnWallBox2 | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | CenterX, | ||
Real | CenterZ, | ||
Real | WidthX, | ||
Real | LengthZ, | ||
Real | height_in, | ||
Real | voffset, | ||
Real | tw, | ||
Real | th, | ||
bool | inside, | ||
bool | outside, | ||
bool | top, | ||
bool | bottom ) |
Definition at line 897 of file floor.cpp.
References ColumnFrame, SBS::SBS::CreateWallBox2(), and SBS::ObjectBase::sbs.
Referenced by Skyscraper::ScriptProcessor::FloorSection::Run().
Door * SBS::Floor::CreateDoor | ( | std::string | name, |
const std::string & | open_sound, | ||
const std::string & | close_sound, | ||
bool | rotate ) |
Definition at line 824 of file floor.cpp.
References DoorArray, GetBase(), SBS::Object::Move(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::Floor::Cut | ( | const Vector3 & | start, |
const Vector3 & | end, | ||
bool | cutwalls, | ||
bool | cutfloors, | ||
bool | fast, | ||
int | checkwallnumber = 0, | ||
bool | prepare = false ) |
Definition at line 607 of file floor.cpp.
References SBS::Utility::Cut(), SBS::SBS::GetUtility(), Interfloor, Level, SBS::ObjectBase::sbs, and SBS::MeshObject::Walls.
Referenced by SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), CutAll(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::ElevatorDoor::FinishDoors(), and Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::CutAll | ( | const Vector3 & | start, |
const Vector3 & | end, | ||
bool | cutwalls, | ||
bool | cutfloors, | ||
bool | prepare = false ) |
Definition at line 636 of file floor.cpp.
References Altitude, Cut(), SBS::Shaft::Level::Cut(), SBS::Stairwell::Level::Cut(), SBS::Utility::Cut(), SBS::SBS::External, GetBase(), SBS::Shaft::GetLevel(), SBS::Stairwell::GetLevel(), SBS::SBS::GetShaft(), SBS::SBS::GetShaftCount(), SBS::SBS::GetStairwell(), SBS::SBS::GetStairwellCount(), SBS::SBS::GetUtility(), Number, SBS::ObjectBase::sbs, and SBS::MeshObject::Walls.
Referenced by AddDoor(), AddFillerWalls(), and Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::EnableColumnFrame | ( | bool | value | ) |
Definition at line 876 of file floor.cpp.
References ColumnFrame, SBS::MeshObject::Enabled(), and IsColumnFrameEnabled.
Referenced by Enabled(), Skyscraper::MeshControl::On_chkAllColumnFrames_Click(), and Skyscraper::MeshControl::On_chkColumnFrame_Click().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 377 of file floor.cpp.
References CallStationArray, ControlArray, CustomObjectArray, DirIndicatorArray, DoorArray, EnableColumnFrame(), SBS::DoorWrapper::Enabled(), SBS::MeshObject::Enabled(), EnableInterfloor(), SBS::Object::EnableLoop(), EscalatorArray, FloorIndicatorArray, SBS::SBS::GetFloor(), SBS::SBS::InterfloorOnTop, IsEnabled, Level, lights, ModelArray, MovingWalkwayArray, Number, PrimArray, Report(), reverbs, SBS::ObjectBase::sbs, SBS_PROFILE, sounds, TriggerArray, UpdateDirectionalIndicators(), UpdateFloorIndicators(), and SBS::SBS::Verbose.
Referenced by SBS::Shaft::Check(), SBS::Stairwell::Check(), SBS::FloorManager::EnableAll(), SBS::SBS::EnableFloorRange(), EnableGroup(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::Camera::GotoFloor(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::MeshControl::On_chkAllFloors_Click(), Skyscraper::MeshControl::On_chkFloor_Click(), and SBS::Camera::ResetState().
void SBS::Floor::EnableGroup | ( | bool | value | ) |
Definition at line 706 of file floor.cpp.
References Enabled(), SBS::Shaft::Level::Enabled(), SBS::Stairwell::Level::Enabled(), EnabledGroup, EnabledGroup_Floor, SBS::SBS::GetFloor(), SBS::Shaft::GetLevel(), SBS::Stairwell::GetLevel(), SBS::SBS::GetShaft(), SBS::SBS::GetShaftCount(), SBS::SBS::GetStairwell(), SBS::SBS::GetStairwellCount(), Group, SBS::Shaft::IsEnabled, SBS::Stairwell::IsEnabled, Number, SBS::ObjectBase::sbs, and SBS_PROFILE.
Referenced by SBS::Stairwell::Check(), SBS::SBS::EnableFloorRange(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::Camera::GotoFloor(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), and SBS::Camera::ResetState().
void SBS::Floor::EnableInterfloor | ( | bool | value | ) |
Definition at line 883 of file floor.cpp.
References SBS::MeshObject::Enabled(), Interfloor, and IsInterfloorEnabled.
Referenced by SBS::Shaft::Check(), Enabled(), Skyscraper::MeshControl::On_chkAllInterfloors_Click(), and Skyscraper::MeshControl::On_chkInterfloor_Click().
Real SBS::Floor::FullHeight | ( | ) |
Definition at line 572 of file floor.cpp.
References Height, and InterfloorHeight.
Referenced by CalculateAltitude(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::Stairwell::IsInside(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::Shaft::Shaft(), and ShowInfo().
Real SBS::Floor::GetBase | ( | bool | relative = false | ) |
Definition at line 1140 of file floor.cpp.
References Altitude, InterfloorHeight, SBS::SBS::InterfloorOnTop, and SBS::ObjectBase::sbs.
Referenced by AddCallButtons(), AddCameraTexture(), AddControl(), AddDirectionalIndicator(), AddDoor(), SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), AddEscalator(), AddFillerWalls(), AddFloor(), AddFloorIndicator(), AddLight(), AddModel(), AddMovingWalkway(), AddPrimitive(), AddRevolvingDoor(), AddSound(), AddTrigger(), AddWall(), SBS::ElevatorDoor::Chime(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateCounterweight(), CreateDoor(), SBS::Elevator::CreateElevator(), CutAll(), SBS::DoorWrapper::DoorWrapper(), SBS::ElevatorDoor::EarlyChime(), SBS::ElevatorDoor::FinishDoors(), SBS::ElevatorCar::GetDestinationAltitude(), SBS::ElevatorCar::GetDestinationOffset(), SBS::Camera::GotoFloor(), SBS::Stairwell::IsInside(), SBS::Stairwell::Level::Level(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::CallStation::SetPosition(), ShowInfo(), and SBS::Stairwell::Stairwell().
CallStation * SBS::Floor::GetCallStation | ( | int | number | ) |
Definition at line 1000 of file floor.cpp.
References CallStationArray, and Number.
Referenced by Skyscraper::ScriptProcessor::CallStationSection::Run().
int SBS::Floor::GetCallStationCount | ( | ) |
Definition at line 1960 of file floor.cpp.
References CallStationArray.
CallStation * SBS::Floor::GetCallStationForElevator | ( | int | elevator | ) |
Definition at line 985 of file floor.cpp.
References CallStationArray.
Referenced by GetDirectRoute(), SBS::Elevator::GetPrimaryCallStation(), and SBS::Person::ProcessRoute().
std::vector< int > SBS::Floor::GetCallStations | ( | int | elevator | ) |
Definition at line 967 of file floor.cpp.
References CallStationArray.
CameraTexture * SBS::Floor::GetCameraTexture | ( | int | number | ) |
Definition at line 1952 of file floor.cpp.
References CameraTextureArray.
CustomObject * SBS::Floor::GetCustomObject | ( | std::string | name | ) |
Definition at line 1896 of file floor.cpp.
References CustomObjectArray, SBS::ObjectBase::GetName(), SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
std::vector< int > SBS::Floor::GetDirectFloors | ( | bool | include_service | ) |
Definition at line 1818 of file floor.cpp.
References SBS::Elevator::GetCarForFloor(), SBS::SBS::GetElevator(), GetElevatorList(), SBS::ElevatorCar::GetServicedFloor(), SBS::ElevatorCar::GetServicedFloorCount(), Number, SBS::ObjectBase::sbs, SBS::SetCaseCopy(), and SBS::Elevator::Type.
Referenced by SBS::SBS::GetRouteToFloor().
ElevatorRoute * SBS::Floor::GetDirectRoute | ( | int | DestinationFloor, |
std::string | ElevatorType ) |
Definition at line 1785 of file floor.cpp.
References GetCallStationForElevator(), SBS::Elevator::GetCarForFloor(), SBS::SBS::GetElevator(), GetElevatorList(), SBS::ElevatorCar::IsServicedFloor(), SBS::Elevator::Number, Number, SBS::ObjectBase::sbs, SBS::SetCase(), SBS::SetCaseCopy(), and SBS::Elevator::Type.
Referenced by SBS::SBS::GetDirectRoute().
Door * SBS::Floor::GetDoor | ( | const std::string & | name | ) |
Definition at line 1303 of file floor.cpp.
References DoorArray, and SBS::ObjectBase::GetName().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Door * SBS::Floor::GetDoor | ( | int | number | ) |
void SBS::Floor::GetElevatorList | ( | std::vector< int > & | listing, |
bool | get_locals = true, | ||
bool | get_express = true, | ||
bool | get_service = true ) |
Definition at line 1729 of file floor.cpp.
References SBS::SBS::GetElevator(), SBS::SBS::GetElevatorCount(), SBS::Elevator::IsServicedFloor(), SBS::Elevator::Number, Number, SBS::ObjectBase::sbs, SBS::SetCaseCopy(), and SBS::Elevator::Type.
Referenced by GetDirectFloors(), GetDirectRoute(), SBS::SBS::GetIndirectRoute(), and ShowInfo().
Light * SBS::Floor::GetLight | ( | const std::string & | name | ) |
Definition at line 1509 of file floor.cpp.
References SBS::ObjectBase::GetName(), and lights.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Model * SBS::Floor::GetModel | ( | std::string | name | ) |
Definition at line 1866 of file floor.cpp.
References SBS::ObjectBase::GetName(), ModelArray, SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject().
Primitive * SBS::Floor::GetPrimitive | ( | std::string | name | ) |
Definition at line 1881 of file floor.cpp.
References SBS::ObjectBase::GetName(), PrimArray, SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Reverb * SBS::Floor::GetReverb | ( | const std::string & | name | ) |
Definition at line 1973 of file floor.cpp.
References reverbs, and SBS::SetCase().
Referenced by SBS::Sound::GetNearestReverbPosition().
Reverb * SBS::Floor::GetReverb | ( | int | index | ) |
int SBS::Floor::GetReverbCount | ( | ) |
Definition at line 2007 of file floor.cpp.
References reverbs.
Referenced by SBS::Sound::GetNearestReverbPosition().
RevolvingDoor * SBS::Floor::GetRevolvingDoor | ( | int | number | ) |
Definition at line 1940 of file floor.cpp.
References RDoorArray.
void SBS::Floor::GetShaftList | ( | std::vector< int > & | listing | ) |
Definition at line 1770 of file floor.cpp.
References SBS::SBS::GetShaft(), SBS::SBS::GetShaftCount(), SBS::Shaft::IsValidFloor(), Number, SBS::ObjectBase::sbs, and SBS::Shaft::ShaftNumber.
Referenced by ShowInfo().
std::vector< Sound * > SBS::Floor::GetSound | ( | const std::string & | name | ) |
Definition at line 1108 of file floor.cpp.
References SBS::SetCase(), and sounds.
Referenced by SBS::Action::Run().
void SBS::Floor::GetStairwellList | ( | std::vector< int > & | listing | ) |
Definition at line 1755 of file floor.cpp.
References SBS::SBS::GetStairwell(), SBS::SBS::GetStairwellCount(), SBS::Stairwell::IsValidFloor(), Number, SBS::ObjectBase::sbs, and SBS::Stairwell::StairsNum.
Referenced by ShowInfo().
bool SBS::Floor::IsInGroup | ( | int | floor | ) |
Definition at line 764 of file floor.cpp.
References Group.
Referenced by AddGroupFloor(), SBS::Shaft::Check(), SBS::Stairwell::Check(), SBS::Shaft::EnableRange(), and SBS::Stairwell::EnableRange().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 955 of file floor.cpp.
References IsEnabled, SBS::Object::LoopChildren(), and SBS_PROFILE.
void SBS::Floor::RemoveCallStation | ( | CallStation * | station | ) |
Definition at line 1313 of file floor.cpp.
References CallStationArray.
Referenced by SBS::CallStation::~CallStation().
void SBS::Floor::RemoveCameraTexture | ( | CameraTexture * | cameratexture | ) |
Definition at line 1460 of file floor.cpp.
References CameraTextureArray.
void SBS::Floor::RemoveControl | ( | Control * | control | ) |
Definition at line 1434 of file floor.cpp.
References ControlArray.
void SBS::Floor::RemoveCustomObject | ( | CustomObject * | object | ) |
Definition at line 1421 of file floor.cpp.
References CustomObjectArray.
void SBS::Floor::RemoveDirectionalIndicator | ( | DirectionalIndicator * | indicator | ) |
Definition at line 1340 of file floor.cpp.
References DirIndicatorArray.
void SBS::Floor::RemoveDoor | ( | Door * | door | ) |
void SBS::Floor::RemoveEscalator | ( | Escalator * | escalator | ) |
Definition at line 1473 of file floor.cpp.
References EscalatorArray.
void SBS::Floor::RemoveFloorIndicator | ( | FloorIndicator * | indicator | ) |
Definition at line 1326 of file floor.cpp.
References FloorIndicatorArray.
void SBS::Floor::RemoveGroupFloor | ( | int | number | ) |
void SBS::Floor::RemoveLight | ( | Light * | light | ) |
void SBS::Floor::RemoveModel | ( | Model * | model | ) |
Definition at line 1395 of file floor.cpp.
References ModelArray.
void SBS::Floor::RemoveMovingWalkway | ( | MovingWalkway * | walkway | ) |
Definition at line 1486 of file floor.cpp.
References MovingWalkwayArray.
void SBS::Floor::RemovePrimitive | ( | Primitive * | prim | ) |
void SBS::Floor::RemoveReverb | ( | Reverb * | reverb | ) |
void SBS::Floor::RemoveRevolvingDoor | ( | RevolvingDoor * | door | ) |
Definition at line 1926 of file floor.cpp.
References RDoorArray.
void SBS::Floor::RemoveSound | ( | Sound * | sound | ) |
void SBS::Floor::RemoveTrigger | ( | Trigger * | trigger | ) |
Definition at line 1447 of file floor.cpp.
References TriggerArray.
void SBS::Floor::ReplaceTexture | ( | const std::string & | oldtexture, |
const std::string & | newtexture ) |
Definition at line 1597 of file floor.cpp.
References ColumnFrame, Interfloor, Level, and SBS::MeshObject::ReplaceTexture().
Referenced by SBS::Action::Run().
|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 1128 of file floor.cpp.
References Number, SBS::ObjectBase::Report(), and SBS::ToString().
Referenced by AddDirectionalIndicator(), and Enabled().
|
virtual |
Reimplemented from SBS::ObjectBase.
Definition at line 1134 of file floor.cpp.
References Number, SBS::ObjectBase::ReportError(), and SBS::ToString().
Referenced by AddFillerWalls(), and CalculateAltitude().
void SBS::Floor::SetAltitude | ( | Real | altitude | ) |
Definition at line 1648 of file floor.cpp.
References Altitude, AltitudeSet, and SBS::Object::SetPositionY().
Referenced by CalculateAltitude(), and Skyscraper::ScriptProcessor::FloorSection::Run().
void SBS::Floor::SetDirectionalIndicators | ( | int | elevator, |
int | car, | ||
bool | UpLight, | ||
bool | DownLight ) |
Definition at line 1196 of file floor.cpp.
References SBS::DirectionalIndicator::ActiveDirection, SBS::DirectionalIndicator::car, DirIndicatorArray, SBS::DirectionalIndicator::DownLight(), SBS::DirectionalIndicator::elevator, and SBS::DirectionalIndicator::UpLight().
Referenced by SBS::ElevatorCar::SetDirectionalIndicators().
void SBS::Floor::ShowInfo | ( | bool | detailed = true, |
bool | display_header = true ) |
Definition at line 1656 of file floor.cpp.
References Altitude, Description, FloorType, FullHeight(), GetBase(), GetElevatorList(), GetShaftList(), GetStairwellList(), Height, ID, InterfloorHeight, Name, Number, SBS::ObjectBase::Report(), and SBS::ToString().
Referenced by Skyscraper::DebugPanel::On_bFloorInfo_Click(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and SBS::SBS::ShowFloorList().
void SBS::Floor::UpdateDirectionalIndicators | ( | ) |
Definition at line 1253 of file floor.cpp.
References SBS::DirectionalIndicator::ActiveDirection, SBS::Elevator::ActiveDirection, DirIndicatorArray, SBS::DirectionalIndicator::DownLight(), SBS::DirectionalIndicator::elevator, SBS::SBS::GetElevator(), SBS::ObjectBase::sbs, SBS_PROFILE, and SBS::DirectionalIndicator::UpLight().
Referenced by Enabled().
void SBS::Floor::UpdateDirectionalIndicators | ( | int | elevator | ) |
Definition at line 1215 of file floor.cpp.
References SBS::DirectionalIndicator::ActiveDirection, SBS::Elevator::ActiveDirection, DirIndicatorArray, SBS::DirectionalIndicator::DownLight(), SBS::DirectionalIndicator::elevator, SBS::SBS::GetElevator(), SBS::ObjectBase::sbs, SBS_PROFILE, and SBS::DirectionalIndicator::UpLight().
Referenced by SBS::Elevator::FinishMove(), and SBS::Elevator::MoveElevatorToFloor().
void SBS::Floor::UpdateFloorIndicators | ( | ) |
Definition at line 942 of file floor.cpp.
References FloorIndicatorArray, and SBS_PROFILE.
Referenced by Enabled().
void SBS::Floor::UpdateFloorIndicators | ( | int | elevator | ) |
Definition at line 928 of file floor.cpp.
References FloorIndicatorArray, and SBS::FloorIndicator::Update().
Referenced by SBS::Elevator::FinishMove(), SBS::Elevator::MoveElevatorToFloor(), and SBS::Camera::UpdateCameraFloor().
Real SBS::Floor::Altitude |
Definition at line 43 of file floor.h.
Referenced by AddDoor(), AddFloor(), SBS::Shaft::Level::AddFloor(), SBS::Elevator::AddRails(), AddRevolvingDoor(), AddWall(), CalculateAltitude(), CutAll(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), Floor(), GetBase(), SBS::Stairwell::IsInside(), SBS::Shaft::Level::Level(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), SetAltitude(), SBS::Shaft::Shaft(), and ShowInfo().
bool SBS::Floor::AltitudeSet |
Definition at line 54 of file floor.h.
Referenced by Floor(), Skyscraper::ScriptProcessor::FloorSection::Run(), and SetAltitude().
std::vector<CallStation*> SBS::Floor::CallStationArray |
Definition at line 49 of file floor.h.
Referenced by AddCallStation(), Enabled(), GetCallStation(), GetCallStationCount(), GetCallStationForElevator(), GetCallStations(), RemoveCallStation(), and ~Floor().
|
private |
Definition at line 182 of file floor.h.
Referenced by AddCameraTexture(), GetCameraTexture(), RemoveCameraTexture(), and ~Floor().
MeshObject* SBS::Floor::ColumnFrame |
Definition at line 34 of file floor.h.
Referenced by ColumnWallBox(), ColumnWallBox2(), EnableColumnFrame(), Floor(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), ReplaceTexture(), and ~Floor().
|
private |
Definition at line 176 of file floor.h.
Referenced by AddControl(), Enabled(), RemoveControl(), and ~Floor().
|
private |
Definition at line 173 of file floor.h.
Referenced by AddCustomObject(), AddCustomObject(), Enabled(), GetCustomObject(), RemoveCustomObject(), and ~Floor().
std::string SBS::Floor::Description |
Definition at line 41 of file floor.h.
Referenced by Floor(), Skyscraper::ScriptProcessor::FloorSection::Run(), and ShowInfo().
|
private |
Definition at line 164 of file floor.h.
Referenced by AddDirectionalIndicator(), Enabled(), RemoveDirectionalIndicator(), SetDirectionalIndicators(), UpdateDirectionalIndicators(), UpdateDirectionalIndicators(), and ~Floor().
|
private |
Definition at line 156 of file floor.h.
Referenced by AddDoor(), CreateDoor(), Enabled(), GetDoor(), GetDoor(), RemoveDoor(), and ~Floor().
|
private |
bool SBS::Floor::EnabledGroup |
Definition at line 52 of file floor.h.
Referenced by SBS::Shaft::Check(), SBS::SBS::EnableFloorRange(), EnableGroup(), and Floor().
int SBS::Floor::EnabledGroup_Floor |
Definition at line 53 of file floor.h.
Referenced by SBS::Shaft::Check(), SBS::SBS::EnableFloorRange(), EnableGroup(), and Floor().
|
private |
Definition at line 185 of file floor.h.
Referenced by AddEscalator(), Enabled(), RemoveEscalator(), and ~Floor().
std::vector<FloorIndicator*> SBS::Floor::FloorIndicatorArray |
Definition at line 50 of file floor.h.
Referenced by AddFloorIndicator(), Enabled(), RemoveFloorIndicator(), UpdateFloorIndicators(), UpdateFloorIndicators(), and ~Floor().
std::string SBS::Floor::FloorType |
Definition at line 40 of file floor.h.
Referenced by Floor(), SBS::Elevator::GetLobbies(), Skyscraper::ScriptProcessor::FloorSection::Run(), and ShowInfo().
std::vector<int> SBS::Floor::Group |
Definition at line 51 of file floor.h.
Referenced by AddGroupFloor(), EnableGroup(), IsInGroup(), and RemoveGroupFloor().
Real SBS::Floor::Height |
Definition at line 44 of file floor.h.
Referenced by Floor(), FullHeight(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::FloorSection::Run(), and ShowInfo().
std::string SBS::Floor::ID |
Definition at line 38 of file floor.h.
Referenced by SBS::ElevatorCar::AddFloorSigns(), SBS::Elevator::AddRoute(), SBS::ElevatorDoor::CloseDoors(), SBS::Elevator::DeleteRoute(), SBS::DispatchController::DispatchElevator(), SBS::DispatchController::ElevatorArrived(), SBS::Elevator::FinishMove(), Floor(), SBS::FloorIndicator::FloorIndicator(), SBS::ElevatorCar::GetFloorDisplay(), SBS::Person::GetStatus(), SBS::Elevator::Go(), SBS::Person::GotoFloor(), Skyscraper::editelevator::Loop(), SBS::Elevator::MoveElevatorToFloor(), SBS::ElevatorDoor::OpenDoors(), SBS::Elevator::ProcessCallQueue(), SBS::Person::ProcessRoute(), Skyscraper::ScriptProcessor::FloorSection::Run(), Skyscraper::editelevator::SetMainValues(), ShowInfo(), SBS::ElevatorDoor::StopDoors(), and SBS::Camera::UpdateCameraFloor().
std::string SBS::Floor::IndicatorTexture |
Definition at line 42 of file floor.h.
Referenced by Floor(), and Skyscraper::ScriptProcessor::FloorSection::Run().
MeshObject* SBS::Floor::Interfloor |
Definition at line 33 of file floor.h.
Referenced by AddInterfloorFloor(), AddInterfloorWall(), Cut(), EnableInterfloor(), Floor(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), ReplaceTexture(), and ~Floor().
Real SBS::Floor::InterfloorHeight |
Definition at line 45 of file floor.h.
Referenced by Floor(), FullHeight(), GetBase(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), Skyscraper::ScriptProcessor::FloorSection::Run(), and ShowInfo().
bool SBS::Floor::IsColumnFrameEnabled |
Definition at line 47 of file floor.h.
Referenced by EnableColumnFrame(), Floor(), and Skyscraper::MeshControl::Loop().
bool SBS::Floor::IsEnabled |
Definition at line 46 of file floor.h.
Referenced by SBS::Shaft::Check(), SBS::Stairwell::Check(), Enabled(), SBS::SBS::EnableFloorRange(), Floor(), Loop(), and Skyscraper::MeshControl::Loop().
bool SBS::Floor::IsInterfloorEnabled |
Definition at line 48 of file floor.h.
Referenced by SBS::Shaft::Check(), EnableInterfloor(), Floor(), and Skyscraper::MeshControl::Loop().
MeshObject* SBS::Floor::Level |
Definition at line 32 of file floor.h.
Referenced by AddFloor(), AddWall(), Cut(), Enabled(), SBS::ElevatorDoor::FinishDoors(), Floor(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), ReplaceTexture(), and ~Floor().
|
private |
Definition at line 161 of file floor.h.
Referenced by AddLight(), Enabled(), GetLight(), RemoveLight(), and ~Floor().
|
private |
Definition at line 167 of file floor.h.
Referenced by AddModel(), AddModel(), Enabled(), GetModel(), RemoveModel(), and ~Floor().
|
private |
Definition at line 188 of file floor.h.
Referenced by AddMovingWalkway(), Enabled(), RemoveMovingWalkway(), and ~Floor().
std::string SBS::Floor::Name |
Definition at line 37 of file floor.h.
Referenced by Floor(), Skyscraper::DebugPanel::Loop(), Skyscraper::ScriptProcessor::FloorSection::Run(), and ShowInfo().
int SBS::Floor::Number |
Definition at line 36 of file floor.h.
Referenced by AddCallButtons(), AddCallStation(), AddDirectionalIndicator(), AddSound(), CalculateAltitude(), SBS::Shaft::Check(), SBS::CallStation::CreateCallButtons(), CutAll(), SBS::SBS::DeleteObject(), Enabled(), EnableGroup(), SBS::Escalator::Escalator(), Floor(), GetCallStation(), GetDirectFloors(), GetDirectRoute(), GetElevatorList(), SBS::CallStation::GetFloor(), SBS::CallStation::GetFloorFromID(), SBS::ElevatorCar::GetFloorFromID(), GetShaftList(), GetStairwellList(), SBS::MovingWalkway::MovingWalkway(), Report(), ReportError(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::CallStation::SetLightsGroup(), Skyscraper::editelevator::SetMainValues(), and ShowInfo().
std::string SBS::Floor::NumberID |
Definition at line 39 of file floor.h.
Referenced by Floor(), and Skyscraper::ScriptProcessor::FloorSection::Run().
|
private |
Definition at line 170 of file floor.h.
Referenced by AddPrimitive(), AddPrimitive(), Enabled(), GetPrimitive(), RemovePrimitive(), and ~Floor().
|
private |
Definition at line 157 of file floor.h.
Referenced by AddRevolvingDoor(), GetRevolvingDoor(), RemoveRevolvingDoor(), and ~Floor().
|
private |
Definition at line 153 of file floor.h.
Referenced by AddReverb(), Enabled(), GetReverb(), GetReverb(), GetReverbCount(), RemoveReverb(), and ~Floor().
|
private |
Definition at line 150 of file floor.h.
Referenced by AddSound(), Enabled(), GetSound(), RemoveSound(), and ~Floor().
|
private |
Definition at line 179 of file floor.h.
Referenced by AddTrigger(), Enabled(), RemoveTrigger(), and ~Floor().