Skyscraper 2.0
|
#include <sbs.h>
Classes | |
struct | AutoArea |
struct | Key |
struct | VerifyResult |
Public Member Functions | |
SBS (Ogre::SceneManager *mSceneManager, FMOD::System *fmodsystem, int instance_number, const Vector3 &position=Vector3::ZERO, Real rotation=0.0f, const Vector3 &area_min=Vector3::ZERO, const Vector3 &area_max=Vector3::ZERO) | |
~SBS () | |
void | Initialize () |
bool | Start (std::vector< Ogre::Camera * > &cameras) |
void | CreateSky () |
bool | AddWallMain (Wall *wallobject, 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 altitude1, Real altitude2, Real tw, Real th, bool autosize) |
bool | AddFloorMain (Wall *wallobject, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real altitude1, Real altitude2, bool reverse_axis, bool texture_direction, Real tw, Real th, bool autosize, bool legacy_behavior=false) |
void | CalculateFrameRate () |
void | Loop (bool loading, bool isready) |
Wall * | CreateWallBox (MeshObject *mesh, 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=true, bool outside=true, bool top=true, bool bottom=true, bool autosize=true) |
Wall * | CreateWallBox2 (MeshObject *mesh, 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=true, bool outside=true, bool top=true, bool bottom=true, bool autosize=true) |
Wall * | AddTriangleWall (MeshObject *mesh, const std::string &name, const std::string &texture, Real x1, Real y1, Real z1, Real x2, Real y2, Real z2, Real x3, Real y3, Real z3, Real tw, Real th) |
Wall * | AddCustomWall (MeshObject *mesh, const std::string &name, const std::string &texture, PolyArray &varray, Real tw, Real th) |
Wall * | AddCustomFloor (MeshObject *mesh, const std::string &name, const std::string &texture, std::vector< Vector2 > &varray, Real altitude, Real tw, Real th) |
void | AddPolygon (Wall *wallobject, const std::string &texture, PolyArray &varray, Real tw, Real th) |
void | EnableBuildings (bool value) |
void | EnableLandscape (bool value) |
void | EnableExternal (bool value) |
void | EnableSkybox (bool value) |
int | GetFloorNumber (Real altitude, int lastfloor=0, bool checklastfloor=false) |
Real | GetDistance (Real x1, Real x2, Real z1, Real z2) |
Shaft * | CreateShaft (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor) |
Stairwell * | CreateStairwell (int number, Real CenterX, Real CenterZ, int startfloor, int endfloor) |
Elevator * | NewElevator (int number) |
Floor * | NewFloor (int number) |
Vehicle * | NewVehicle (int number) |
DispatchController * | NewController (int number) |
int | GetElevatorCount () |
int | GetTotalFloors () |
int | GetShaftCount () |
int | GetStairwellCount () |
int | GetVehicleCount () |
int | GetControllerCount () |
Floor * | GetFloor (int number) |
Elevator * | GetElevator (int number) |
Shaft * | GetShaft (int number) |
Stairwell * | GetStairwell (int number) |
Vehicle * | GetVehicle (int number) |
DispatchController * | GetController (int number) |
bool | SetWallOrientation (std::string direction) |
int | GetWallOrientation () |
bool | SetFloorOrientation (std::string direction) |
int | GetFloorOrientation () |
void | DrawWalls (bool MainN, bool MainP, bool SideN, bool SideP, bool Top, bool Bottom) |
void | ResetWalls (bool ToDefaults=false) |
int | GetDrawWallsCount () |
Real | MetersToFeet (Real meters) |
Real | FeetToMeters (Real feet) |
Wall * | AddWall (MeshObject *mesh, 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 altitude1, Real altitude2, Real tw, Real th) |
Wall * | AddFloor (MeshObject *mesh, const std::string &name, const std::string &texture, Real thickness, Real x1, Real z1, Real x2, Real z2, Real altitude1, Real altitude2, bool reverse_axis, bool texture_direction, Real tw, Real th, bool legacy_behavior=false) |
Wall * | AddGround (const std::string &name, const std::string &texture, Real x1, Real z1, Real x2, Real z2, Real altitude, int tile_x, int tile_z) |
void | EnableFloorRange (int floor, int range, bool value, bool enablegroups, int shaftnumber=0, int stairsnumber=0) |
bool | RegisterTimerCallback (TimerObject *timer) |
bool | UnregisterTimerCallback (TimerObject *timer) |
void | ProcessTimers () |
int | GetTimerCallbackCount () |
bool | Mount (const std::string &filename, const std::string &path) |
void | AddFloorAutoArea (Vector3 start, Vector3 end) |
int | GetMeshCount () |
Sound * | AddSound (const std::string &name, const std::string &filename, const 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, const Vector3 &direction=Vector3(0, 0, 0)) |
int | GetSoundCount () |
void | IncrementSoundCount () |
void | DecrementSoundCount () |
Reverb * | AddReverb (const std::string &name, const std::string &type, const Vector3 &position, Real min_distance, Real max_distance) |
int | GetTotalReverbCount () |
void | IncrementReverbCount () |
void | DecrementReverbCount () |
Real | ToLocal (Real remote_value) |
Vector2 | ToLocal (const Vector2 &remote_value) |
Vector3 | ToLocal (const Vector3 &remote_value, bool rescale=true, bool flip_z=true) |
Real | ToRemote (Real local_value) |
Vector2 | ToRemote (const Vector2 &local_value) |
Vector3 | ToRemote (const Vector3 &local_value, bool rescale=true, bool flip_z=true) |
int | GetObjectCount () |
Object * | GetObject (int number) |
Object * | GetObject (std::string name, bool case_sensitive=true) |
Object * | GetObjectOfParent (std::string parent_name, std::string name, const std::string &type, bool case_sensitive=true) |
std::vector< Object * > | GetObjectRange (const std::string &expression) |
int | RegisterObject (Object *object) |
bool | UnregisterObject (int number) |
bool | IsValidFloor (int floor) |
std::string | DumpState () |
bool | DeleteObject (Object *object) |
bool | DeleteObject (int object) |
void | RemoveFloor (Floor *floor) |
void | RemoveElevator (Elevator *elevator) |
void | RemoveShaft (Shaft *shaft) |
void | RemoveStairwell (Stairwell *stairs) |
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 | RemoveController (DispatchController *controller) |
std::string | VerifyFile (const std::string &filename) |
std::string | VerifyFile (std::string filename, bool &result, bool skip_cache) |
bool | FileExists (const std::string &filename) |
int | GetWallCount () |
int | GetPolygonCount () |
void | AddMeshHandle (MeshObject *handle) |
void | DeleteMeshHandle (MeshObject *handle) |
void | Prepare (bool report=true, bool renderonly=false) |
Light * | AddLight (const std::string &name, int type) |
MeshObject * | FindMeshObject (const std::string &name) |
Model * | AddModel (const std::string &name, const std::string &filename, bool center, const Vector3 &position, const 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) |
int | GetConfigInt (const std::string &key, int default_value) |
std::string | GetConfigString (const std::string &key, const std::string &default_value) |
bool | GetConfigBool (const std::string &key, bool default_value) |
Real | GetConfigFloat (const std::string &key, Real default_value) |
bool | InBox (const Vector3 &start, const Vector3 &end, const Vector3 &test) |
void | AdvanceClock () |
unsigned long | GetCurrentTime () |
unsigned long | GetRunTime () |
unsigned long | GetElapsedTime () |
unsigned long | GetAverageTime () |
std::string | GetMountPath (std::string filename, std::string &newfilename) |
void | ShowColliders (bool value) |
void | CacheFilename (const std::string &filename, const std::string &result) |
void | SetLighting (Real red=1.0, Real green=1.0, Real blue=1.0) |
void | ResetLighting () |
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, const Vector3 &area_min, const Vector3 &area_max, std::vector< std::string > &action_names) |
Action * | AddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command, const std::vector< std::string > ¶meters) |
Action * | AddAction (const std::string &name, std::vector< Object * > &action_parents, const std::string &command) |
std::vector< Action * > | GetAction (std::string name) |
Action * | GetAction (int index) |
int | GetActionCount () |
bool | AddActionParent (const std::string &name, std::vector< Object * > &parents) |
bool | RemoveActionParent (const std::string &name, std::vector< Object * > &parents) |
bool | RemoveActionParent (std::vector< Object * > &parents) |
bool | RemoveAction (std::string name) |
bool | RemoveAction (Action *action) |
bool | RunAction (const std::string &name) |
bool | RunAction (int index) |
std::vector< Sound * > | GetSound (const std::string &name) |
Reverb * | GetReverb (const std::string &name) |
void | AddKey (int keyid, const std::string &name) |
bool | CheckKey (int keyid) |
void | ListKeys () |
bool | MoveObject (Object *object, Vector3 position, bool relative, bool X, bool Y, bool Z) |
bool | RotateObject (Object *object, Vector3 rotation, Real speed, bool relative, bool X, bool Y, bool Z) |
void | RegisterControl (Control *control) |
void | UnregisterControl (Control *control) |
void | ShowFloorList () |
void | ShowSceneNodes (bool value) |
void | ShowBoundingBoxes (bool value) |
void | ListVisibleMeshes () |
int | GetEscalatorCount () |
int | GetMovingWalkwayCount () |
bool | HitBeam (const Ray &ray, Real max_distance, MeshObject *&mesh, Wall *&wall, Vector3 &hit_position) |
void | EnableRandomActivity (bool value) |
void | EnableMalfunctions (bool value) |
SoundSystem * | GetSoundSystem () |
bool | IsObjectValid (Object *object, std::string type="") |
bool | IsActionValid (Action *action) |
std::vector< ElevatorRoute * > | GetRouteToFloor (int StartingFloor, int DestinationFloor, bool service_access=false) |
Person * | CreatePerson (std::string name="", int floor=0, bool service_access=false) |
void | RemovePerson (Person *person) |
bool | AttachCamera (std::vector< Ogre::Camera * > &cameras, bool init_state=true) |
bool | DetachCamera () |
std::string | ProcessFullName (std::string name, int &instance, int &object_number, bool strip_number=false) |
int | GetPersonCount () |
Person * | GetPerson (int number) |
bool | IsInside () |
bool | GetBounds (Vector3 &min, Vector3 &max) |
bool | IsInside (const Vector3 &position) |
void | CutOutsideBoundaries (bool landscape=true, bool buildings=true, bool external=false, bool floors=false) |
void | CutInsideBoundaries (const Vector3 &min, const Vector3 &max, bool landscape=true, bool buildings=true, bool external=false, bool floors=false) |
void | SetBounds (const Vector3 &area_min, const Vector3 &area_max) |
bool | HasBounds () |
void | ResetState () |
Vector3 | ToGlobal (const Vector3 &position) |
Vector3 | FromGlobal (const Vector3 &position) |
Quaternion | ToGlobal (const Quaternion &orientation) |
Quaternion | FromGlobal (const Quaternion &orientation) |
Light * | GetLight (std::string name) |
Model * | GetModel (std::string name) |
Primitive * | GetPrimitive (std::string name) |
CustomObject * | GetCustomObject (std::string name) |
FloorManager * | GetFloorManager () |
ElevatorManager * | GetElevatorManager () |
ShaftManager * | GetShaftManager () |
StairwellManager * | GetStairwellManager () |
DoorManager * | GetDoorManager () |
ControllerManager * | GetControllerManager () |
void | RegisterDynamicMesh (DynamicMesh *dynmesh) |
void | UnregisterDynamicMesh (DynamicMesh *dynmesh) |
TextureManager * | GetTextureManager () |
RevolvingDoorManager * | GetRevolvingDoorManager () |
VehicleManager * | GetVehicleManager () |
void | RegisterCameraTexture (CameraTexture *camtex) |
void | UnregisterCameraTexture (CameraTexture *camtex) |
int | GetCameraTextureCount () |
CameraTexture * | GetCameraTexture (int number) |
std::string | GetFilesystemPath (std::string filename) |
Utility * | GetUtility () |
GeometryController * | GetGeometry () |
void | MemoryReport () |
void | RegisterEscalator (Escalator *escalator) |
void | UnregisterEscalator (Escalator *escalator) |
Escalator * | GetEscalator (int index) |
void | RegisterMovingWalkway (MovingWalkway *walkway) |
void | UnregisterMovingWalkway (MovingWalkway *walkway) |
MovingWalkway * | GetMovingWalkway (int index) |
void | SetPower (bool value) |
bool | GetPower () |
Reverb * | GetReverb (int index) |
int | GetReverbCount () |
void | EnableMap (bool value) |
![]() | |
Object (Object *parent) | |
virtual | ~Object () |
void | SetValues (const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true) |
bool | IsPermanent () |
bool | IsMovable () |
const std::string & | GetType () |
int | GetNumber () |
void | AddChild (Object *object) |
Object * | GetChild (int index) |
int | GetChildrenCount () |
void | RemoveChild (Object *object) |
SceneNode * | GetSceneNode () |
void | ShowBoundingBox (bool value) |
virtual void | Move (const Vector3 &vector, Real speed=1.0) |
virtual void | Move (Real X, Real Y, Real Z, Real speed=1.0) |
virtual void | SetPosition (const Vector3 &position) |
void | SetPositionRelative (const Vector3 &position) |
virtual void | SetPosition (Real X, Real Y, Real Z) |
void | SetPositionRelative (Real X, Real Y, Real Z) |
virtual void | SetPositionY (Real value) |
virtual Vector3 | GetPosition (bool relative=false) |
virtual void | Rotate (const Vector3 &vector, Real speed=1.0) |
virtual void | Rotate (Real X, Real Y, Real Z, Real speed=1.0) |
virtual void | SetRotation (const Vector3 &rotation) |
virtual void | SetRotation (Real X, Real Y, Real Z) |
virtual Vector3 | GetRotation () |
Quaternion | GetOrientation (bool relative=false) |
void | SetOrientation (const Quaternion &q, bool relative=false) |
virtual void | OnMove (bool parent) |
virtual void | OnRotate (bool parent) |
virtual void | OnClick (Vector3 &position, bool shift, bool ctrl, bool alt, bool right) |
virtual void | OnUnclick (bool right) |
virtual void | OnHit () |
void | NotifyMove (bool parent=false) |
void | NotifyRotate (bool parent=false) |
void | ChangeParent (Object *new_parent) |
bool | IsGlobal () |
void | Init (bool children=true) |
virtual void | OnInit () |
virtual void | Loop () |
void | RegisterLoop (Object *object) |
void | UnregisterLoop (Object *object) |
virtual void | Enabled (bool value) |
std::string | GetNameBase () |
template<typename T > | |
bool | IsType () |
template<typename T > | |
T * | ConvertTo () |
![]() | |
ObjectBase (Object *parent) | |
virtual | ~ObjectBase () |
Object * | GetParent () |
SBS * | GetRoot () |
void | SetName (const std::string &name) |
const std::string & | GetName () |
std::string | GetNameBase () |
virtual void | Report (const std::string &message) |
virtual bool | ReportError (const std::string &message) |
Private Member Functions | |
void | PrintBanner () |
void | CheckAutoAreas () |
void | CalculateAverageTime () |
std::vector< ElevatorRoute * > | GetIndirectRoute (std::vector< int > &checked_floors, int StartingFloor, int DestinationFloor, bool service_access=false, bool top_level=true) |
ElevatorRoute * | GetDirectRoute (Floor *floor, int DestinationFloor, bool service_access=false) |
Additional Inherited Members | |
![]() | |
void | EnableLoop (bool value) |
void | LoopChildren () |
bool | SelfDestruct () |
![]() | |
SBS * | sbs |
SBS::SBS::SBS | ( | Ogre::SceneManager * | mSceneManager, |
FMOD::System * | fmodsystem, | ||
int | instance_number, | ||
const Vector3 & | position = Vector3::ZERO, | ||
Real | rotation = 0.0f, | ||
const Vector3 & | area_min = Vector3::ZERO, | ||
const Vector3 & | area_max = Vector3::ZERO ) |
Definition at line 73 of file sbs.cpp.
References SBS::enable_advanced_profiling, SBS::enable_profiling, GIT_REV, and SBS::ToString().
Action * SBS::SBS::AddAction | ( | const std::string & | name, |
std::vector< Object * > & | action_parents, | ||
const std::string & | command, | ||
const std::vector< std::string > & | parameters ) |
Definition at line 3413 of file sbs.cpp.
Referenced by SBS::ButtonPanel::AddControl(), SBS::ElevatorDoor::CreateSensor(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::AddActionParent | ( | const std::string & | name, |
std::vector< Object * > & | parents ) |
Definition at line 3460 of file sbs.cpp.
References SBS::Action::AddParent().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Control * SBS::SBS::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 3395 of file sbs.cpp.
References SBS::Object::SetPosition().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::AddCustomFloor | ( | MeshObject * | mesh, |
const std::string & | name, | ||
const std::string & | texture, | ||
std::vector< Vector2 > & | varray, | ||
Real | altitude, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1444 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
CustomObject * SBS::SBS::AddCustomObject | ( | const std::string & | name, |
const Vector3 & | position, | ||
const Vector3 & | rotation, | ||
Real | max_render_distance = 0, | ||
Real | scale_multiplier = 1 ) |
Definition at line 3208 of file sbs.cpp.
Referenced by SBS::CustomObject::AddToParent(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::AddCustomObject | ( | CustomObject * | object | ) |
Wall * SBS::SBS::AddCustomWall | ( | MeshObject * | mesh, |
const std::string & | name, | ||
const std::string & | texture, | ||
PolyArray & | varray, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1428 of file sbs.cpp.
References SBS::MeshObject::CreateWallObject().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::AddFloor | ( | MeshObject * | mesh, |
const std::string & | name, | ||
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | altitude1, | ||
Real | altitude2, | ||
bool | reverse_axis, | ||
bool | texture_direction, | ||
Real | tw, | ||
Real | th, | ||
bool | legacy_behavior = false ) |
Definition at line 1912 of file sbs.cpp.
References SBS::MeshObject::CreateWallObject().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Definition at line 2193 of file sbs.cpp.
References SBS::SBS::AutoArea::camerafloor, SBS::SBS::AutoArea::end, SBS::SBS::AutoArea::inside, and SBS::SBS::AutoArea::start.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::AddFloorMain | ( | Wall * | wallobject, |
const std::string & | name, | ||
const std::string & | texture, | ||
Real | thickness, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | altitude1, | ||
Real | altitude2, | ||
bool | reverse_axis, | ||
bool | texture_direction, | ||
Real | tw, | ||
Real | th, | ||
bool | autosize, | ||
bool | legacy_behavior = false ) |
Definition at line 921 of file sbs.cpp.
References SBS::Wall::AddQuad(), SBS::Wall::GetMesh(), and SBS::Object::GetPosition().
Referenced by SBS::Utility::AddDoorwayWalls(), SBS::ElevatorCar::AddFloor(), SBS::Floor::AddFloor(), SBS::Shaft::Level::AddFloor(), SBS::Stairwell::Level::AddFloor(), SBS::Floor::AddInterfloorFloor(), SBS::Escalator::CreateSteps(), and SBS::MovingWalkway::CreateSteps().
Wall * SBS::SBS::AddGround | ( | const std::string & | name, |
const std::string & | texture, | ||
Real | x1, | ||
Real | z1, | ||
Real | x2, | ||
Real | z2, | ||
Real | altitude, | ||
int | tile_x, | ||
int | tile_z ) |
Definition at line 1925 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::AddKey | ( | int | keyid, |
const std::string & | name ) |
Definition at line 3899 of file sbs.cpp.
References SBS::SBS::Key::id, SBS::SBS::Key::name, and SBS::ToString().
Referenced by SBS::Model::OnClick().
Light * SBS::SBS::AddLight | ( | const std::string & | name, |
int | type ) |
Definition at line 3118 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::AddMeshHandle | ( | MeshObject * | handle | ) |
Definition at line 3127 of file sbs.cpp.
Referenced by SBS::MeshObject::MeshObject().
Model * SBS::SBS::AddModel | ( | const std::string & | name, |
const std::string & | filename, | ||
bool | center, | ||
const Vector3 & | position, | ||
const 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 3155 of file sbs.cpp.
References SBS::Model::load_error.
Referenced by SBS::Model::AddToParent(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::AddPolygon | ( | Wall * | wallobject, |
const std::string & | texture, | ||
PolyArray & | varray, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1381 of file sbs.cpp.
References SBS::Wall::AddPolygon(), and SBS::ObjectBase::GetName().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Primitive * SBS::SBS::AddPrimitive | ( | const std::string & | name | ) |
Definition at line 3184 of file sbs.cpp.
Referenced by SBS::Primitive::AddToParent(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
Reverb * SBS::SBS::AddReverb | ( | const std::string & | name, |
const std::string & | type, | ||
const Vector3 & | position, | ||
Real | min_distance, | ||
Real | max_distance ) |
Definition at line 2324 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Sound * SBS::SBS::AddSound | ( | const std::string & | name, |
const std::string & | filename, | ||
const 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, | ||
const Vector3 & | direction = Vector3(0, 0, 0) ) |
Definition at line 2265 of file sbs.cpp.
References SBS::Sound::Load(), SBS::Sound::Play(), SBS::Sound::SetConeSettings(), SBS::Sound::SetDirection(), SBS::Sound::SetDistances(), SBS::Sound::SetDopplerLevel(), SBS::Sound::SetLoopState(), SBS::Object::SetPosition(), SBS::Sound::SetSpeed(), and SBS::Sound::SetVolume().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::AddTriangleWall | ( | MeshObject * | mesh, |
const std::string & | name, | ||
const std::string & | texture, | ||
Real | x1, | ||
Real | y1, | ||
Real | z1, | ||
Real | x2, | ||
Real | y2, | ||
Real | z2, | ||
Real | x3, | ||
Real | y3, | ||
Real | z3, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1460 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Trigger * SBS::SBS::AddTrigger | ( | const std::string & | name, |
const std::string & | sound_file, | ||
const Vector3 & | area_min, | ||
const Vector3 & | area_max, | ||
std::vector< std::string > & | action_names ) |
Definition at line 3405 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::AddWall | ( | MeshObject * | mesh, |
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 | altitude1, | ||
Real | altitude2, | ||
Real | tw, | ||
Real | th ) |
Definition at line 1899 of file sbs.cpp.
References SBS::MeshObject::CreateWallObject().
Referenced by SBS::Elevator::CreateCounterweight(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::AddWallMain | ( | Wall * | wallobject, |
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 | altitude1, | ||
Real | altitude2, | ||
Real | tw, | ||
Real | th, | ||
bool | autosize ) |
Definition at line 690 of file sbs.cpp.
References SBS::Wall::AddQuad(), SBS::Wall::GetMesh(), and SBS::Object::GetPosition().
Referenced by SBS::Door::AddDoorComponent(), SBS::ElevatorDoor::AddDoorComponent(), SBS::Utility::AddDoorwayWalls(), SBS::Floor::AddInterfloorWall(), SBS::ButtonPanel::AddWall(), SBS::ElevatorCar::AddWall(), SBS::Floor::AddWall(), SBS::Shaft::Level::AddWall(), SBS::Stairwell::Level::AddWall(), SBS::Control::Control(), SBS::Escalator::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::FloorIndicator::FloorIndicator(), SBS::Indicator::Indicator(), and SBS::RevolvingDoor::RevolvingDoor().
void SBS::SBS::AdvanceClock | ( | ) |
Definition at line 3264 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::Run().
bool SBS::SBS::AttachCamera | ( | std::vector< Ogre::Camera * > & | cameras, |
bool | init_state = true ) |
Definition at line 4245 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::AttachCamera().
void SBS::SBS::CacheFilename | ( | const std::string & | filename, |
const std::string & | result ) |
Definition at line 3369 of file sbs.cpp.
References SBS::SBS::VerifyResult::filename, and SBS::SBS::VerifyResult::result.
Referenced by SBS::TextureManager::AddTextToTexture().
void SBS::SBS::CalculateFrameRate | ( | ) |
Definition at line 677 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::Run().
|
private |
Definition at line 2205 of file sbs.cpp.
References SBS_PROFILE.
bool SBS::SBS::CheckKey | ( | int | keyid | ) |
Definition at line 3910 of file sbs.cpp.
Referenced by SBS::DoorLock::ToggleLock(), and SBS::Lock::ToggleLock().
Person * SBS::SBS::CreatePerson | ( | std::string | name = "", |
int | floor = 0, | ||
bool | service_access = false ) |
Definition at line 4217 of file sbs.cpp.
References SBS::ToString().
Referenced by Skyscraper::PeopleManager::On_bNew_Click().
Shaft * SBS::SBS::CreateShaft | ( | int | number, |
Real | CenterX, | ||
Real | CenterZ, | ||
int | startfloor, | ||
int | endfloor ) |
Definition at line 1661 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::CreateSky | ( | ) |
Definition at line 1510 of file sbs.cpp.
References SBS::Wall::AddQuad().
Referenced by Skyscraper::SkySystem::CreateSky().
Stairwell * SBS::SBS::CreateStairwell | ( | int | number, |
Real | CenterX, | ||
Real | CenterZ, | ||
int | startfloor, | ||
int | endfloor ) |
Definition at line 1668 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::CreateWallBox | ( | MeshObject * | mesh, |
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 = true, | ||
bool | outside = true, | ||
bool | top = true, | ||
bool | bottom = true, | ||
bool | autosize = true ) |
Definition at line 1162 of file sbs.cpp.
References SBS::Wall::AddQuad(), and SBS::MeshObject::CreateWallObject().
Referenced by SBS::Floor::ColumnWallBox(), SBS::Elevator::CreateCounterweight(), SBS::ElevatorDoor::FinishDoors(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
Wall * SBS::SBS::CreateWallBox2 | ( | MeshObject * | mesh, |
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 = true, | ||
bool | outside = true, | ||
bool | top = true, | ||
bool | bottom = true, | ||
bool | autosize = true ) |
Definition at line 1369 of file sbs.cpp.
Referenced by SBS::Elevator::AddRails(), SBS::Floor::ColumnWallBox2(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::CutInsideBoundaries | ( | const Vector3 & | min, |
const Vector3 & | max, | ||
bool | landscape = true, | ||
bool | buildings = true, | ||
bool | external = false, | ||
bool | floors = false ) |
Definition at line 4349 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::CutForEngine().
void SBS::SBS::CutOutsideBoundaries | ( | bool | landscape = true, |
bool | buildings = true, | ||
bool | external = false, | ||
bool | floors = false ) |
Definition at line 4323 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::Start().
void SBS::SBS::DecrementReverbCount | ( | ) |
Definition at line 2362 of file sbs.cpp.
Referenced by SBS::Reverb::~Reverb().
void SBS::SBS::DecrementSoundCount | ( | ) |
Definition at line 2319 of file sbs.cpp.
Referenced by SBS::Sound::~Sound().
void SBS::SBS::DeleteMeshHandle | ( | MeshObject * | handle | ) |
Definition at line 3132 of file sbs.cpp.
Referenced by SBS::MeshObject::~MeshObject().
bool SBS::SBS::DeleteObject | ( | Object * | object | ) |
Definition at line 2567 of file sbs.cpp.
References SBS::Elevator::AssignedShaft, SBS::Elevator::GetCarCount(), SBS::ElevatorCar::GetElevator(), SBS::Object::GetNumber(), SBS::ObjectBase::GetParent(), SBS::Object::GetType(), SBS::Object::IsPermanent(), SBS::DoorWrapper::IsShaftDoor, SBS::Shaft::IsValidFloor(), SBS::Stairwell::IsValidFloor(), SBS::Elevator::Number, SBS::ElevatorCar::Number, SBS::Floor::Number, SBS::Shaft::ShaftNumber, SBS::Stairwell::StairsNum, and SBS::ToString().
Referenced by SBS::Camera::ClickedObject(), Skyscraper::ObjectInfo::On_bDelete_Click(), Skyscraper::PeopleManager::On_bDelete_Click(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and SBS::Object::SelfDestruct().
bool SBS::SBS::DetachCamera | ( | ) |
Definition at line 4252 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::DetachCamera().
void SBS::SBS::DrawWalls | ( | bool | MainN, |
bool | MainP, | ||
bool | SideN, | ||
bool | SideP, | ||
bool | Top, | ||
bool | Bottom ) |
Definition at line 1833 of file sbs.cpp.
Referenced by SBS::Door::AddDoorComponent(), SBS::ElevatorDoor::AddDoorComponent(), SBS::Utility::AddDoorwayWalls(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::Floor::AddFillerWalls(), SBS::ElevatorCar::AddFloorSigns(), SBS::Stairwell::Level::AddStairs(), SBS::ButtonPanel::ButtonPanel(), SBS::Control::Control(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::FloorIndicator::FloorIndicator(), SBS::Indicator::Indicator(), SBS::RevolvingDoor::RevolvingDoor(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
std::string SBS::SBS::DumpState | ( | ) |
Definition at line 2501 of file sbs.cpp.
References SBS::BoolToString(), SBS::ToString(), and SBS::TruncateNumber().
Referenced by Skyscraper::CrashHandlerExceptionFilter().
void SBS::SBS::EnableBuildings | ( | bool | value | ) |
Definition at line 1475 of file sbs.cpp.
Referenced by SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::MeshControl::On_chkBuildings_Click(), and SBS::Camera::ResetState().
void SBS::SBS::EnableExternal | ( | bool | value | ) |
Definition at line 1489 of file sbs.cpp.
Referenced by SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::MeshControl::On_chkExternal_Click(), and SBS::Camera::ResetState().
void SBS::SBS::EnableFloorRange | ( | int | floor, |
int | range, | ||
bool | value, | ||
bool | enablegroups, | ||
int | shaftnumber = 0, | ||
int | stairsnumber = 0 ) |
Definition at line 1986 of file sbs.cpp.
References SBS::Floor::Enabled(), SBS::Floor::EnabledGroup, SBS::Floor::EnabledGroup_Floor, SBS::Floor::EnableGroup(), SBS::Floor::IsEnabled, SBS::IsEven(), SBS::Shaft::IsShowFloor(), SBS::Stairwell::IsShowFloor(), SBS_PROFILE, SBS::Shaft::ShowFloors, and SBS::Stairwell::ShowFloors.
Referenced by SBS::Shaft::Check().
void SBS::SBS::EnableLandscape | ( | bool | value | ) |
Definition at line 1482 of file sbs.cpp.
Referenced by SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::MeshControl::On_chkLandscape_Click(), and SBS::Camera::ResetState().
void SBS::SBS::EnableMalfunctions | ( | bool | value | ) |
Definition at line 4118 of file sbs.cpp.
References SBS::Elevator::EnableMalfunctions(), and SBS::Escalator::EnableMalfunctions().
Referenced by Skyscraper::DebugPanel::On_chkMalfunctions_Click().
void SBS::SBS::EnableMap | ( | bool | value | ) |
Definition at line 4720 of file sbs.cpp.
References SBS::Object::Enabled().
Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().
void SBS::SBS::EnableRandomActivity | ( | bool | value | ) |
Definition at line 4079 of file sbs.cpp.
References SBS::Person::EnableRandomActivity(), and SBS::ToString().
Referenced by Skyscraper::DebugPanel::On_chkRandom_Click().
void SBS::SBS::EnableSkybox | ( | bool | value | ) |
Definition at line 1498 of file sbs.cpp.
Referenced by SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), Skyscraper::SkySystem::EnableSky(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::MeshControl::On_chkSky_Click(), and SBS::Camera::ResetState().
bool SBS::SBS::FileExists | ( | const std::string & | filename | ) |
Definition at line 3055 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CheckFile(), and Skyscraper::ScriptProcessor::LoadDataFile().
MeshObject * SBS::SBS::FindMeshObject | ( | const std::string & | name | ) |
Quaternion SBS::SBS::FromGlobal | ( | const Quaternion & | orientation | ) |
Definition at line 4416 of file sbs.cpp.
Referenced by SBS::Camera::ClickedObject(), Skyscraper::EngineContext::CutForEngine(), SBS::Camera::GetDirection(), SBS::SceneNode::GetOrientation(), SBS::SceneNode::GetPosition(), Skyscraper::EngineContext::IsInside(), and SBS::Camera::SetCameraState().
std::vector< Action * > SBS::SBS::GetAction | ( | std::string | name | ) |
Definition at line 3431 of file sbs.cpp.
References SBS::ReplaceAll().
Referenced by SBS::Control::DoAction(), SBS::Trigger::DoAction(), SBS::Control::GetPositionAction(), SBS::Trigger::GetPositionAction(), Skyscraper::ActionViewer::Loop(), Skyscraper::ActionViewer::On_ActionList_Select(), and Skyscraper::ActionViewer::On_bDelete_Click().
int SBS::SBS::GetActionCount | ( | ) |
Definition at line 3454 of file sbs.cpp.
Referenced by Skyscraper::ActionViewer::Loop(), and Skyscraper::Stats::Loop().
unsigned long SBS::SBS::GetAverageTime | ( | ) |
Definition at line 3302 of file sbs.cpp.
Referenced by SBS::Camera::Loop(), and SBS::SoundSystem::SetListenerPosition().
Definition at line 4309 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::CutForEngine(), and Skyscraper::EngineManager::Loop().
CameraTexture * SBS::SBS::GetCameraTexture | ( | int | number | ) |
Definition at line 4604 of file sbs.cpp.
Referenced by Skyscraper::CameraTextureControl::BuildList(), and Skyscraper::CameraTextureControl::Loop().
int SBS::SBS::GetCameraTextureCount | ( | ) |
Definition at line 4599 of file sbs.cpp.
Referenced by Skyscraper::CameraTextureControl::BuildList().
bool SBS::SBS::GetConfigBool | ( | const std::string & | key, |
bool | default_value ) |
Definition at line 3243 of file sbs.cpp.
References SBS::ToBool(), and SBS::ToString().
Referenced by SBS::Camera::Attach(), SBS::Camera::Camera(), SBS::DynamicMesh::DynamicMesh(), SBS::Elevator::Elevator(), SBS::ElevatorCar::ElevatorCar(), SBS::ElevatorDoor::ElevatorDoor(), SBS::TextureManager::EnableLighting(), SBS::MeshObject::LoadFromFile(), SBS::Elevator::OnInit(), and SBS::Sound::Sound().
Definition at line 3249 of file sbs.cpp.
References SBS::ToFloat(), and SBS::ToString().
Referenced by SBS::Camera::Attach(), SBS::ButtonPanel::ButtonPanel(), SBS::Camera::Camera(), SBS::Control::Control(), SBS::Door::CreateDoor(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::Elevator::Elevator(), SBS::ElevatorDoor::ElevatorDoor(), SBS::Escalator::Escalator(), SBS::FloorIndicator::FloorIndicator(), SBS::Indicator::Indicator(), SBS::Person::Person(), SBS::RevolvingDoor::RevolvingDoor(), and SBS::Sound::Sound().
int SBS::SBS::GetConfigInt | ( | const std::string & | key, |
int | default_value ) |
Definition at line 3232 of file sbs.cpp.
References SBS::ToInt(), and SBS::ToString().
Referenced by SBS::DirectionalIndicator::DirectionalIndicator(), SBS::Elevator::Elevator(), SBS::ElevatorDoor::ElevatorDoor(), SBS::Escalator::Escalator(), SBS::Person::Person(), SBS::Sound::Sound(), and SBS::TextureManager::TextureManager().
std::string SBS::SBS::GetConfigString | ( | const std::string & | key, |
const std::string & | default_value ) |
Definition at line 3238 of file sbs.cpp.
Referenced by SBS::Elevator::Elevator(), SBS::ElevatorCar::ElevatorCar(), and SBS::ElevatorDoor::ElevatorDoor().
DispatchController * SBS::SBS::GetController | ( | int | number | ) |
Definition at line 1774 of file sbs.cpp.
Referenced by SBS::Floor::AddCallButtons(), SBS::Elevator::AddController(), SBS::Elevator::CreateElevator(), SBS::Elevator::FinishMove(), SBS::Elevator::GetCallStatus(), SBS::CallStation::GetController(), SBS::Elevator::GetDestinationDispatch(), SBS::Elevator::MoveElevatorToFloor(), Skyscraper::ScriptProcessor::ControllerSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::Elevator::SameFloorArrival(), and SBS::Elevator::SelectFloor().
int SBS::SBS::GetControllerCount | ( | ) |
Definition at line 1733 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::ProcessSections(), and Skyscraper::ScriptProcessor::FloorSection::Run().
ControllerManager * SBS::SBS::GetControllerManager | ( | ) |
unsigned long SBS::SBS::GetCurrentTime | ( | ) |
Definition at line 3284 of file sbs.cpp.
Referenced by SBS::TimerObject::Loop(), Skyscraper::EngineContext::Run(), and SBS::TimerObject::Start().
CustomObject * SBS::SBS::GetCustomObject | ( | std::string | name | ) |
Definition at line 4482 of file sbs.cpp.
References SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
|
private |
Definition at line 106 of file route.cpp.
References SBS::Floor::GetDirectRoute(), and SBS_PROFILE.
DoorManager * SBS::SBS::GetDoorManager | ( | ) |
Definition at line 4553 of file sbs.cpp.
Referenced by SBS::Floor::AddDoor(), and SBS::Door::~Door().
unsigned long SBS::SBS::GetElapsedTime | ( | ) |
Definition at line 3296 of file sbs.cpp.
Referenced by SBS::Camera::Loop(), SBS::Sound::OnMove(), SBS::SoundSystem::SetListenerPosition(), and Skyscraper::SkySystem::UpdateSky().
Elevator * SBS::SBS::GetElevator | ( | int | number | ) |
Definition at line 1746 of file sbs.cpp.
Referenced by SBS::Floor::AddDirectionalIndicator(), SBS::DispatchController::AddElevator(), SBS::Floor::AddFloorIndicator(), SBS::DispatchController::AtMaxRequests(), SBS::DispatchController::CallElevator(), SBS::Shaft::Check(), SBS::DispatchController::CheckArrivals(), SBS::Camera::CheckElevator(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DispatchController::DispatchElevator(), SBS::DirectionalIndicator::DownLight(), SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::DispatchController::ElevatorUnavailable(), SBS::Shaft::Level::Enabled(), SBS::DispatchController::FindClosestElevator(), SBS::DispatchController::FireService(), SBS::FloorIndicator::FloorIndicator(), SBS::Floor::GetDirectFloors(), SBS::Floor::GetDirectRoute(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::Floor::GetElevatorList(), SBS::DispatchController::GetFloorRange(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::DispatchController::GetRecallFloor(), SBS::DispatchController::IsServicedFloor(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::On_chkElevators_Click(), Skyscraper::editelevator::OnInit(), SBS::Person::ProcessRoute(), SBS::DispatchController::ProcessRoutes(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::DispatchController::RemoveElevator(), SBS::DispatchController::RequestRoute(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::DispatchController::ServesFloor(), SBS::FloorIndicator::Update(), SBS::Floor::UpdateDirectionalIndicators(), SBS::Floor::UpdateDirectionalIndicators(), and SBS::DirectionalIndicator::UpLight().
int SBS::SBS::GetElevatorCount | ( | ) |
Definition at line 1703 of file sbs.cpp.
Referenced by SBS::Camera::CheckElevator(), SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::Floor::GetElevatorList(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::Stats::Loop(), Skyscraper::MeshControl::On_chkElevators_Click(), Skyscraper::editelevator::OnInit(), Skyscraper::ScriptProcessor::ProcessSections(), and Skyscraper::ScriptProcessor::FloorSection::Run().
ElevatorManager * SBS::SBS::GetElevatorManager | ( | ) |
Definition at line 4538 of file sbs.cpp.
Referenced by SBS::Camera::Attach().
Escalator * SBS::SBS::GetEscalator | ( | int | index | ) |
Definition at line 4660 of file sbs.cpp.
Referenced by Skyscraper::EscalatorControl::BuildList(), and Skyscraper::EscalatorControl::Loop().
int SBS::SBS::GetEscalatorCount | ( | ) |
Definition at line 4019 of file sbs.cpp.
Referenced by Skyscraper::EscalatorControl::BuildList().
std::string SBS::SBS::GetFilesystemPath | ( | std::string | filename | ) |
Definition at line 3015 of file sbs.cpp.
References SBS::ReplaceAll(), and SBS::TrimString().
Referenced by SBS::SoundSystem::Load().
Floor * SBS::SBS::GetFloor | ( | int | number | ) |
Definition at line 1739 of file sbs.cpp.
Referenced by SBS::ElevatorCar::AddDirectionalIndicators(), SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::Shaft::Level::AddFloor(), SBS::ElevatorCar::AddFloorSigns(), SBS::Elevator::AddRails(), SBS::Elevator::AddRoute(), SBS::Floor::CalculateAltitude(), SBS::CallStation::CallStation(), SBS::Shaft::Check(), SBS::Stairwell::Check(), SBS::ElevatorDoor::Chime(), SBS::ElevatorDoor::CloseDoors(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateCounterweight(), SBS::Elevator::CreateElevator(), SBS::Shaft::Level::Cut(), SBS::Stairwell::Level::Cut(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::Elevator::DeleteRoute(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::DispatchController::DispatchElevator(), SBS::DoorWrapper::DoorWrapper(), SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::ElevatorDoor::EarlyChime(), SBS::DispatchController::ElevatorArrived(), SBS::Floor::Enabled(), SBS::Elevator::EnableDownPeak(), SBS::Floor::EnableGroup(), SBS::Elevator::EnableInspectionService(), SBS::Shaft::EnableRange(), SBS::Stairwell::EnableRange(), SBS::Elevator::EnableUpPeak(), SBS::ElevatorDoor::FinishDoors(), SBS::Elevator::FinishMove(), SBS::ElevatorDoor::FinishShaftDoor(), SBS::FloorIndicator::FloorIndicator(), SBS::ElevatorCar::GetDestinationAltitude(), SBS::ElevatorCar::GetDestinationOffset(), Skyscraper::ScriptProcessor::Section::GetElevatorCar(), SBS::ElevatorCar::GetFloorDisplay(), SBS::Elevator::GetLobbies(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::ElevatorCar::GetNearestServicedFloor(), SBS::Elevator::GetPrimaryCallStation(), SBS::Person::GetStatus(), SBS::Elevator::Go(), SBS::Camera::GotoFloor(), SBS::Person::GotoFloor(), SBS::Stairwell::IsInside(), SBS::Shaft::Level::Level(), SBS::Stairwell::Level::Level(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::Loop(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveObjects(), Skyscraper::DebugPanel::On_bFloorInfo_Click(), Skyscraper::MeshControl::On_chkAllColumnFrames_Click(), Skyscraper::MeshControl::On_chkAllFloors_Click(), Skyscraper::MeshControl::On_chkAllInterfloors_Click(), Skyscraper::MeshControl::On_chkColumnFrame_Click(), Skyscraper::MeshControl::On_chkFloor_Click(), Skyscraper::MeshControl::On_chkInterfloor_Click(), SBS::ElevatorDoor::OpenDoors(), SBS::Elevator::ProcessCallQueue(), Skyscraper::ScriptProcessor::ProcessFloorObjects(), SBS::Person::ProcessRoute(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::DispatchController::RequestRoute(), SBS::Camera::ResetState(), SBS::Action::Run(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), SBS::ElevatorCar::SetDirectionalIndicators(), SBS::ElevatorCar::SetFloor(), SBS::Person::SetFloor(), SBS::CallStation::SetPosition(), SBS::Camera::SetToStartPosition(), SBS::Shaft::Shaft(), SBS::Stairwell::Stairwell(), SBS::ElevatorDoor::StopDoors(), and SBS::Camera::UpdateCameraFloor().
FloorManager * SBS::SBS::GetFloorManager | ( | ) |
Definition at line 4533 of file sbs.cpp.
Referenced by SBS::CallStation::GetFloorFromID(), SBS::ElevatorCar::GetFloorFromID(), and Skyscraper::editelevator::SetMainValues().
int SBS::SBS::GetFloorNumber | ( | Real | altitude, |
int | lastfloor = 0, | ||
bool | checklastfloor = false ) |
Definition at line 1584 of file sbs.cpp.
Referenced by SBS::CustomObject::Drop(), SBS::Model::Drop(), SBS::Primitive::Drop(), SBS::ElevatorCar::GetFloor(), SBS::Elevator::GetMotorRoom(), SBS::Stairwell::IsInside(), SBS::CustomObject::Loop(), SBS::Model::Loop(), SBS::Primitive::Loop(), SBS::Camera::SetCameraState(), SBS::Camera::Teleport(), and SBS::Camera::UpdateCameraFloor().
GeometryController * SBS::SBS::GetGeometry | ( | ) |
Definition at line 4616 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
|
private |
Definition at line 133 of file route.cpp.
References SBS::Elevator::GetCarForFloor(), SBS::Floor::GetElevatorList(), SBS::ElevatorCar::GetServicedFloor(), SBS::ElevatorCar::GetServicedFloorCount(), SBS::ElevatorCar::GetTopFloor(), and SBS_PROFILE.
Light * SBS::SBS::GetLight | ( | std::string | name | ) |
Definition at line 4437 of file sbs.cpp.
References SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
int SBS::SBS::GetMeshCount | ( | ) |
Definition at line 2259 of file sbs.cpp.
Referenced by Skyscraper::Stats::Loop().
Model * SBS::SBS::GetModel | ( | std::string | name | ) |
Definition at line 4452 of file sbs.cpp.
References SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject().
std::string SBS::SBS::GetMountPath | ( | std::string | filename, |
std::string & | newfilename ) |
Definition at line 3335 of file sbs.cpp.
References SBS::ReplaceAll(), and SBS::StartsWith().
Referenced by SBS::MeshObject::LoadColliderModel(), Skyscraper::ScriptProcessor::LoadDataFile(), SBS::MeshObject::LoadFromFile(), and SBS::TextureManager::LoadTexture().
MovingWalkway * SBS::SBS::GetMovingWalkway | ( | int | index | ) |
Definition at line 4687 of file sbs.cpp.
Referenced by Skyscraper::WalkwayControl::BuildList(), and Skyscraper::WalkwayControl::Loop().
int SBS::SBS::GetMovingWalkwayCount | ( | ) |
Definition at line 4025 of file sbs.cpp.
Referenced by Skyscraper::WalkwayControl::BuildList().
Object * SBS::SBS::GetObject | ( | int | number | ) |
Definition at line 2452 of file sbs.cpp.
Referenced by SBS::Camera::Loop(), Skyscraper::MoveObject::Loop(), Skyscraper::ObjectInfo::Loop(), Skyscraper::ObjectInfo::On_bReset_Click(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and SBS::Camera::UnclickedObject().
Object * SBS::SBS::GetObject | ( | std::string | name, |
bool | case_sensitive = true ) |
Definition at line 3566 of file sbs.cpp.
References SBS::IsNumeric(), SBS::ReplaceAll(), SBS::SetCase(), and SBS::ToInt().
int SBS::SBS::GetObjectCount | ( | ) |
Definition at line 2446 of file sbs.cpp.
Referenced by Skyscraper::ObjectInfo::Loop(), and Skyscraper::Stats::Loop().
Object * SBS::SBS::GetObjectOfParent | ( | std::string | parent_name, |
std::string | name, | ||
const std::string & | type, | ||
bool | case_sensitive = true ) |
Definition at line 3728 of file sbs.cpp.
References SBS::ObjectBase::GetName(), SBS::ObjectBase::GetParent(), SBS::Object::GetType(), SBS::ReplaceAll(), and SBS::SetCase().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
std::vector< Object * > SBS::SBS::GetObjectRange | ( | const std::string & | expression | ) |
Definition at line 3776 of file sbs.cpp.
References SBS::IsNumeric(), SBS::ToString(), and SBS::TrimString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Person * SBS::SBS::GetPerson | ( | int | number | ) |
Definition at line 4279 of file sbs.cpp.
Referenced by Skyscraper::PeopleManager::BuildList(), and Skyscraper::PeopleManager::Loop().
int SBS::SBS::GetPersonCount | ( | ) |
Definition at line 4523 of file sbs.cpp.
Referenced by Skyscraper::PeopleManager::BuildList().
int SBS::SBS::GetPolygonCount | ( | ) |
Definition at line 3071 of file sbs.cpp.
Referenced by Skyscraper::Stats::Loop().
bool SBS::SBS::GetPower | ( | ) |
Definition at line 4701 of file sbs.cpp.
Referenced by SBS::DispatchController::AddElevator(), SBS::Elevator::AddRoute(), SBS::ElevatorCar::AddServicedFloor(), SBS::ElevatorCar::Alarm(), SBS::DispatchController::AssignElevator(), SBS::DispatchController::AtMaxRequests(), SBS::Elevator::AvailableForCall(), SBS::Elevator::CallCancel(), SBS::Elevator::CallCancelAll(), SBS::DispatchController::CallElevator(), SBS::Elevator::CancelHallCall(), SBS::ElevatorDoor::CheckSensor(), SBS::ElevatorCar::Chime(), SBS::ElevatorDoor::Chime(), SBS::Elevator::CloseDoors(), SBS::ElevatorCar::CloseDoors(), SBS::ElevatorDoor::CloseDoors(), SBS::Elevator::DeleteActiveRoute(), SBS::Elevator::DeleteRoute(), SBS::DispatchController::DispatchElevator(), SBS::Elevator::Down(), SBS::Elevator::Down(), SBS::ElevatorCar::DumpServicedFloors(), SBS::ElevatorDoor::EarlyChime(), SBS::DispatchController::ElevatorArrived(), SBS::DispatchController::ElevatorUnavailable(), SBS::Elevator::EnableACP(), SBS::Elevator::EnableDownPeak(), SBS::Elevator::EnableFireService1(), SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::EnableMalfunctions(), SBS::Escalator::EnableMalfunctions(), SBS::Elevator::EnableNudgeMode(), SBS::ElevatorCar::EnableNudgeMode(), SBS::ElevatorDoor::EnableNudgeMode(), SBS::ElevatorCar::EnableSensor(), SBS::ElevatorDoor::EnableSensor(), SBS::Elevator::EnableUpPeak(), SBS::DispatchController::FindClosestElevator(), SBS::DispatchController::FireService(), SBS::ElevatorCar::FlashIndicators(), SBS::DispatchController::GetCallStatus(), SBS::DispatchController::GetElevatorArrived(), SBS::DispatchController::GetElevatorArrivedStandard(), SBS::ElevatorCar::GetFloorDisplay(), SBS::ElevatorCar::GetNearestServicedFloor(), SBS::Elevator::Go(), SBS::Elevator::GoToRecallFloor(), SBS::ElevatorDoor::Hold(), SBS::Elevator::HoldDoors(), SBS::ElevatorCar::Input(), SBS::DispatchController::IsElevatorAssigned(), SBS::DispatchController::IsElevatorAssignedToOther(), SBS::Elevator::IsIdle(), SBS::DirectionalIndicator::Loop(), SBS::DispatchController::Loop(), SBS::Elevator::Loop(), SBS::ElevatorCar::Loop(), SBS::ElevatorDoor::Loop(), SBS::Escalator::Loop(), SBS::FloorIndicator::Loop(), SBS::Indicator::Loop(), SBS::MovingWalkway::Loop(), SBS::RevolvingDoor::Loop(), SBS::Escalator::Malfunction(), SBS::ElevatorDoor::MoveDoors(), SBS::Elevator::MoveDown(), SBS::Elevator::MoveUp(), SBS::Elevator::Timer::Notify(), SBS::ElevatorDoor::Timer::Notify(), SBS::Escalator::Timer::Notify(), SBS::Elevator::NotifyArrival(), SBS::ElevatorCar::NotifyArrival(), SBS::Escalator::OnClick(), SBS::MovingWalkway::OnClick(), SBS::RevolvingDoor::OnHit(), Skyscraper::DebugPanel::OnInit(), SBS::Elevator::OpenDoors(), SBS::ElevatorCar::OpenDoors(), SBS::ElevatorDoor::OpenDoors(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Elevator::ProcessCallQueue(), SBS::DispatchController::RegisterCallStation(), SBS::DispatchController::RemoveElevator(), SBS::DispatchController::RemoveRoute(), SBS::ElevatorCar::RemoveServicedFloor(), SBS::DispatchController::RequestRoute(), SBS::DispatchController::ResetArrival(), SBS::ElevatorCar::ResetDoors(), SBS::ElevatorCar::ResetDoorState(), SBS::ElevatorDoor::ResetNudgeTimer(), SBS::Elevator::ReturnToBottomFloor(), SBS::Elevator::ReturnToNearestFloor(), SBS::Elevator::RouteExists(), SBS::RevolvingDoor::Run(), SBS::DispatchController::SameElevators(), SBS::Elevator::SelectFloor(), SBS::DispatchController::ServesFloor(), SBS::DispatchController::ServicesElevator(), SBS::Elevator::SetACPFloor(), SBS::Elevator::SetAlternateRecallFloor(), SBS::Elevator::SetDownButton(), SBS::Elevator::SetGoButton(), SBS::Elevator::SetRecallFloor(), SBS::Elevator::SetUpButton(), SBS::DispatchController::UnregisterCallStation(), SBS::Elevator::Up(), and SBS::Elevator::Up().
Primitive * SBS::SBS::GetPrimitive | ( | std::string | name | ) |
Definition at line 4467 of file sbs.cpp.
References SBS::SetCase(), and SBS::SetCaseCopy().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Reverb * SBS::SBS::GetReverb | ( | const std::string & | name | ) |
Definition at line 2332 of file sbs.cpp.
References SBS::SetCase().
Referenced by SBS::Sound::GetNearestReverbPosition().
int SBS::SBS::GetReverbCount | ( | ) |
Definition at line 4708 of file sbs.cpp.
Referenced by SBS::Sound::GetNearestReverbPosition().
RevolvingDoorManager * SBS::SBS::GetRevolvingDoorManager | ( | ) |
Definition at line 4563 of file sbs.cpp.
Referenced by SBS::Floor::AddRevolvingDoor(), and SBS::RevolvingDoor::~RevolvingDoor().
std::vector< ElevatorRoute * > SBS::SBS::GetRouteToFloor | ( | int | StartingFloor, |
int | DestinationFloor, | ||
bool | service_access = false ) |
Definition at line 40 of file route.cpp.
References SBS::Floor::GetDirectFloors(), and SBS_PROFILE.
Referenced by SBS::Person::GotoFloor().
unsigned long SBS::SBS::GetRunTime | ( | ) |
Definition at line 3290 of file sbs.cpp.
Referenced by SBS::Camera::Loop(), Skyscraper::EngineManager::Loop(), Skyscraper::VMConsole::Process(), and Skyscraper::ScriptProcessor::Run().
Shaft * SBS::SBS::GetShaft | ( | int | number | ) |
Definition at line 1753 of file sbs.cpp.
Referenced by SBS::Camera::CheckShaft(), SBS::Floor::CutAll(), SBS::Floor::EnableGroup(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::Elevator::GetShaft(), SBS::Floor::GetShaftList(), Skyscraper::MeshControl::On_chkAllShafts_Click(), Skyscraper::MeshControl::On_chkShafts_Click(), SBS::Elevator::ResetShaftDoors(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and Skyscraper::ScriptProcessor::FloorSection::Run().
int SBS::SBS::GetShaftCount | ( | ) |
Definition at line 1721 of file sbs.cpp.
Referenced by SBS::Camera::CheckShaft(), SBS::Floor::CutAll(), SBS::Floor::EnableGroup(), SBS::Floor::GetShaftList(), Skyscraper::Stats::Loop(), Skyscraper::MeshControl::On_chkAllShafts_Click(), Skyscraper::MeshControl::On_chkShafts_Click(), SBS::Elevator::ResetShaftDoors(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
ShaftManager * SBS::SBS::GetShaftManager | ( | ) |
std::vector< Sound * > SBS::SBS::GetSound | ( | const std::string & | name | ) |
Definition at line 2288 of file sbs.cpp.
References SBS::SetCase().
Referenced by SBS::Action::Run().
int SBS::SBS::GetSoundCount | ( | ) |
Definition at line 2308 of file sbs.cpp.
Referenced by Skyscraper::Stats::Loop().
SoundSystem * SBS::SBS::GetSoundSystem | ( | ) |
Definition at line 4518 of file sbs.cpp.
Referenced by Skyscraper::SoundManager::BuildSoundList(), Skyscraper::VM::ListPlayingSounds(), Skyscraper::SoundManager::Loop(), Skyscraper::SoundManager::On_bCleanup_Click(), Skyscraper::SoundManager::On_bListPlaying_Click(), Skyscraper::SoundManager::On_bUnload_Click(), SBS::Reverb::Reverb(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and SBS::Sound::Sound().
Stairwell * SBS::SBS::GetStairwell | ( | int | number | ) |
Definition at line 1760 of file sbs.cpp.
Referenced by SBS::Camera::CheckStairwell(), SBS::Floor::CutAll(), SBS::Floor::EnableGroup(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::Floor::GetStairwellList(), Skyscraper::MeshControl::On_chkAllStairs_Click(), Skyscraper::MeshControl::On_chkStairs_Click(), Skyscraper::ScriptProcessor::CommandsSection::Run(), and Skyscraper::ScriptProcessor::FloorSection::Run().
int SBS::SBS::GetStairwellCount | ( | ) |
Definition at line 1727 of file sbs.cpp.
Referenced by SBS::Camera::CheckStairwell(), SBS::Floor::CutAll(), SBS::Floor::EnableGroup(), SBS::Floor::GetStairwellList(), Skyscraper::Stats::Loop(), Skyscraper::MeshControl::On_chkAllStairs_Click(), Skyscraper::MeshControl::On_chkStairs_Click(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
StairwellManager * SBS::SBS::GetStairwellManager | ( | ) |
TextureManager * SBS::SBS::GetTextureManager | ( | ) |
Definition at line 4558 of file sbs.cpp.
Referenced by SBS::ButtonPanel::AddButton(), SBS::Door::AddDoorComponent(), SBS::ElevatorDoor::AddDoorComponent(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::ElevatorCar::AddFloorSigns(), SBS::Wall::AddPolygon(), SBS::Stairwell::Level::AddStairs(), SBS::ButtonPanel::ButtonPanel(), SBS::CameraTexture::CameraTexture(), SBS::DynamicMesh::Mesh::ChangeTexture(), SBS::Polygon::ChangeTexture(), SBS::CallStation::CreateCallButtons(), SBS::Elevator::CreateCounterweight(), SBS::PolyMesh::CreateMesh(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::ElevatorDoor::FinishDoors(), SBS::FloorIndicator::FloorIndicator(), Skyscraper::TextureManager::GetTextureName(), Skyscraper::Stats::Loop(), Skyscraper::TextureManager::Loop(), Skyscraper::TextureManager::On_bExport_Click(), Skyscraper::TextureManager::On_bSave_Click(), Skyscraper::ParameterViewer::On_bTextures_Click(), Skyscraper::TextureManager::On_bUnload_Click(), Skyscraper::TextureManager::On_TextureList_Select(), SBS::Polygon::Polygon(), SBS::Polygon::ReplaceTexture(), SBS::RevolvingDoor::RevolvingDoor(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), SBS::DynamicMesh::Mesh::SetMaterial(), SBS::FloorIndicator::Update(), SBS::Indicator::Update(), SBS::CameraTexture::~CameraTexture(), and SBS::Polygon::~Polygon().
int SBS::SBS::GetTotalFloors | ( | ) |
Definition at line 1715 of file sbs.cpp.
Referenced by SBS::Person::GetRandomFloor().
Utility * SBS::SBS::GetUtility | ( | ) |
Definition at line 4611 of file sbs.cpp.
Referenced by SBS::Shaft::Level::AddDoor(), SBS::Stairwell::Level::AddDoor(), SBS::Wall::AddPolygon(), SBS::Wall::AddPolygonSet(), SBS::PolyMesh::CreateMesh(), SBS::Floor::Cut(), SBS::MeshObject::Cut(), SBS::Shaft::Level::Cut(), SBS::Stairwell::Level::Cut(), SBS::Floor::CutAll(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), SBS::ElevatorDoor::FinishDoors(), SBS::Polygon::GetExtents(), SBS::TextureManager::GetTextureMapping(), SBS::Wall::GetWallExtents(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
Vehicle * SBS::SBS::GetVehicle | ( | int | number | ) |
Definition at line 1767 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::VehicleSection::Run().
int SBS::SBS::GetVehicleCount | ( | ) |
Definition at line 1709 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::ProcessSections().
VehicleManager * SBS::SBS::GetVehicleManager | ( | ) |
Definition at line 4568 of file sbs.cpp.
Referenced by SBS::Vehicle::~Vehicle().
int SBS::SBS::GetWallCount | ( | ) |
Definition at line 3065 of file sbs.cpp.
Referenced by Skyscraper::Stats::Loop().
int SBS::SBS::GetWallOrientation | ( | ) |
Definition at line 1802 of file sbs.cpp.
Referenced by SBS::Floor::AddFillerWalls().
bool SBS::SBS::HasBounds | ( | ) |
Definition at line 4528 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().
bool SBS::SBS::HitBeam | ( | const Ray & | ray, |
Real | max_distance, | ||
MeshObject *& | mesh, | ||
Wall *& | wall, | ||
Vector3 & | hit_position ) |
Definition at line 4031 of file sbs.cpp.
References SBS::PolyMesh::FindWallIntersect(), and SBS::MeshObject::GetPolyMesh().
Referenced by SBS::Camera::AttachToVehicle(), SBS::Camera::ClickedObject(), and SBS::Camera::PickUpModel().
void SBS::SBS::IncrementReverbCount | ( | ) |
Definition at line 2357 of file sbs.cpp.
Referenced by SBS::Reverb::Reverb().
void SBS::SBS::IncrementSoundCount | ( | ) |
Definition at line 2314 of file sbs.cpp.
Referenced by SBS::Sound::Sound().
void SBS::SBS::Initialize | ( | ) |
Definition at line 222 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::InitSim().
bool SBS::SBS::IsInside | ( | ) |
Definition at line 4287 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::IsInside(), and Skyscraper::EngineContext::IsInside().
bool SBS::SBS::IsObjectValid | ( | Object * | object, |
std::string | type = "" ) |
bool SBS::SBS::IsValidFloor | ( | int | floor | ) |
Definition at line 2492 of file sbs.cpp.
Referenced by SBS::ElevatorCar::AddServicedFloor(), SBS::ShaftManager::Create(), SBS::StairwellManager::Create(), SBS::Camera::GotoFloor(), and Skyscraper::ScriptProcessor::ProcessFloorObjects().
void SBS::SBS::ListKeys | ( | ) |
Definition at line 3922 of file sbs.cpp.
References SBS::ToString().
Referenced by Skyscraper::DebugPanel::On_bKeys_Click().
void SBS::SBS::ListVisibleMeshes | ( | ) |
Definition at line 3992 of file sbs.cpp.
References SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::Loop | ( | bool | loading, |
bool | isready ) |
Definition at line 591 of file sbs.cpp.
References SBS::enable_advanced_profiling, SBS_PROFILE_MAIN, SBS::ProfileManager::Start_Profile(), and SBS::ProfileManager::Stop_Profile().
Referenced by Skyscraper::EngineContext::Run().
void SBS::SBS::MemoryReport | ( | ) |
Definition at line 4621 of file sbs.cpp.
References SBS::ToString().
bool SBS::SBS::Mount | ( | const std::string & | filename, |
const std::string & | path ) |
Definition at line 2174 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::MoveObject | ( | Object * | object, |
Vector3 | position, | ||
bool | relative, | ||
bool | X, | ||
bool | Y, | ||
bool | Z ) |
Definition at line 2724 of file sbs.cpp.
Referenced by Skyscraper::MoveObject::Loop(), Skyscraper::MoveObject::On_bPositionX_Click(), Skyscraper::MoveObject::On_bPositionY_Click(), Skyscraper::MoveObject::On_bPositionZ_Click(), Skyscraper::MoveObject::On_bXNeg_Click(), Skyscraper::MoveObject::On_bXPlus_Click(), Skyscraper::MoveObject::On_bYNeg_Click(), Skyscraper::MoveObject::On_bYPlus_Click(), Skyscraper::MoveObject::On_bZNeg_Click(), and Skyscraper::MoveObject::On_bZPlus_Click().
DispatchController * SBS::SBS::NewController | ( | int | number | ) |
Definition at line 1696 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::ControllerSection::Run(), and Skyscraper::ScriptProcessor::FloorSection::Run().
Elevator * SBS::SBS::NewElevator | ( | int | number | ) |
Definition at line 1675 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::ElevatorSection::Run().
Floor * SBS::SBS::NewFloor | ( | int | number | ) |
Definition at line 1682 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::Run().
Vehicle * SBS::SBS::NewVehicle | ( | int | number | ) |
Definition at line 1689 of file sbs.cpp.
References SBS::Vehicle::Create().
Referenced by Skyscraper::ScriptProcessor::VehicleSection::Run().
void SBS::SBS::Prepare | ( | bool | report = true, |
bool | renderonly = false ) |
Definition at line 3077 of file sbs.cpp.
References SBS_PROFILE_MAIN, and SBS::ToString().
Referenced by Skyscraper::EngineContext::CutForEngine(), and Skyscraper::EngineContext::Run().
std::string SBS::SBS::ProcessFullName | ( | std::string | name, |
int & | instance, | ||
int & | object_number, | ||
bool | strip_number = false ) |
Definition at line 4257 of file sbs.cpp.
References SBS::ToInt().
Referenced by SBS::Camera::Loop().
void SBS::SBS::ProcessTimers | ( | ) |
Definition at line 2156 of file sbs.cpp.
References SBS_PROFILE.
void SBS::SBS::RegisterCameraTexture | ( | CameraTexture * | camtex | ) |
Definition at line 4578 of file sbs.cpp.
Referenced by SBS::CameraTexture::CameraTexture().
void SBS::SBS::RegisterControl | ( | Control * | control | ) |
Definition at line 3936 of file sbs.cpp.
Referenced by SBS::Control::Control().
void SBS::SBS::RegisterDynamicMesh | ( | DynamicMesh * | dynmesh | ) |
Definition at line 4497 of file sbs.cpp.
Referenced by SBS::DynamicMesh::DynamicMesh().
void SBS::SBS::RegisterEscalator | ( | Escalator * | escalator | ) |
Definition at line 4640 of file sbs.cpp.
Referenced by SBS::Escalator::Escalator().
void SBS::SBS::RegisterMovingWalkway | ( | MovingWalkway * | walkway | ) |
Definition at line 4667 of file sbs.cpp.
Referenced by SBS::MovingWalkway::MovingWalkway().
int SBS::SBS::RegisterObject | ( | Object * | object | ) |
Definition at line 2461 of file sbs.cpp.
Referenced by SBS::Object::Object().
bool SBS::SBS::RegisterTimerCallback | ( | TimerObject * | timer | ) |
Definition at line 2119 of file sbs.cpp.
Referenced by SBS::TimerObject::Start().
bool SBS::SBS::RemoveAction | ( | std::string | name | ) |
Definition at line 3515 of file sbs.cpp.
References SBS::ReplaceAll().
Referenced by Skyscraper::ActionViewer::On_bDelete_Click(), SBS::ButtonPanel::~ButtonPanel(), and SBS::ElevatorDoor::~ElevatorDoor().
bool SBS::SBS::RemoveActionParent | ( | const std::string & | name, |
std::vector< Object * > & | parents ) |
Definition at line 3479 of file sbs.cpp.
References SBS::Action::RemoveParent().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::RemoveActionParent | ( | std::vector< Object * > & | parents | ) |
Definition at line 3498 of file sbs.cpp.
References SBS::Action::RemoveParent().
void SBS::SBS::RemoveControl | ( | Control * | control | ) |
Definition at line 2883 of file sbs.cpp.
Referenced by SBS::Control::~Control().
void SBS::SBS::RemoveController | ( | DispatchController * | controller | ) |
Definition at line 2909 of file sbs.cpp.
Referenced by SBS::DispatchController::~DispatchController().
void SBS::SBS::RemoveCustomObject | ( | CustomObject * | object | ) |
Definition at line 2870 of file sbs.cpp.
Referenced by SBS::CustomObject::RemoveFromParent().
void SBS::SBS::RemoveElevator | ( | Elevator * | elevator | ) |
Definition at line 2780 of file sbs.cpp.
Referenced by SBS::Elevator::~Elevator().
void SBS::SBS::RemoveFloor | ( | Floor * | floor | ) |
Definition at line 2773 of file sbs.cpp.
Referenced by SBS::Floor::~Floor().
void SBS::SBS::RemoveLight | ( | Light * | light | ) |
Definition at line 2831 of file sbs.cpp.
Referenced by SBS::Light::~Light().
void SBS::SBS::RemoveModel | ( | Model * | model | ) |
Definition at line 2844 of file sbs.cpp.
Referenced by SBS::Model::RemoveFromParent().
void SBS::SBS::RemovePerson | ( | Person * | person | ) |
Definition at line 4231 of file sbs.cpp.
Referenced by SBS::Person::~Person().
void SBS::SBS::RemovePrimitive | ( | Primitive * | prim | ) |
Definition at line 2857 of file sbs.cpp.
Referenced by SBS::Primitive::RemoveFromParent().
void SBS::SBS::RemoveReverb | ( | Reverb * | reverb | ) |
Definition at line 2816 of file sbs.cpp.
Referenced by SBS::Reverb::~Reverb().
void SBS::SBS::RemoveShaft | ( | Shaft * | shaft | ) |
Definition at line 2787 of file sbs.cpp.
Referenced by SBS::Shaft::~Shaft().
void SBS::SBS::RemoveSound | ( | Sound * | sound | ) |
Definition at line 2801 of file sbs.cpp.
Referenced by SBS::Sound::~Sound().
void SBS::SBS::RemoveStairwell | ( | Stairwell * | stairs | ) |
Definition at line 2794 of file sbs.cpp.
Referenced by SBS::Stairwell::~Stairwell().
void SBS::SBS::RemoveTrigger | ( | Trigger * | trigger | ) |
Definition at line 2896 of file sbs.cpp.
Referenced by SBS::Trigger::~Trigger().
void SBS::SBS::ResetLighting | ( | ) |
Definition at line 3388 of file sbs.cpp.
Referenced by SBS::TextureManager::TextureManager().
|
virtual |
Reimplemented from SBS::Object.
Definition at line 4382 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::DetachCamera().
void SBS::SBS::ResetWalls | ( | bool | ToDefaults = false | ) |
Definition at line 1854 of file sbs.cpp.
Referenced by SBS::Door::AddDoorComponent(), SBS::ElevatorDoor::AddDoorComponent(), SBS::Utility::AddDoorwayWalls(), SBS::ElevatorCar::AddElevatorIDSigns(), SBS::Floor::AddFillerWalls(), SBS::ElevatorCar::AddFloorSigns(), SBS::Stairwell::Level::AddStairs(), SBS::ButtonPanel::ButtonPanel(), SBS::Control::Control(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), SBS::DirectionalIndicator::DirectionalIndicator(), SBS::FloorIndicator::FloorIndicator(), SBS::Indicator::Indicator(), and SBS::RevolvingDoor::RevolvingDoor().
bool SBS::SBS::RotateObject | ( | Object * | object, |
Vector3 | rotation, | ||
Real | speed, | ||
bool | relative, | ||
bool | X, | ||
bool | Y, | ||
bool | Z ) |
Definition at line 2749 of file sbs.cpp.
Referenced by Skyscraper::MoveObject::Loop(), Skyscraper::MoveObject::On_bRotationX_Click(), Skyscraper::MoveObject::On_bRotationY_Click(), Skyscraper::MoveObject::On_bRotationZ_Click(), Skyscraper::MoveObject::On_bXNeg_Click(), Skyscraper::MoveObject::On_bXPlus_Click(), Skyscraper::MoveObject::On_bYNeg_Click(), Skyscraper::MoveObject::On_bYPlus_Click(), Skyscraper::MoveObject::On_bZNeg_Click(), and Skyscraper::MoveObject::On_bZPlus_Click().
bool SBS::SBS::RunAction | ( | const std::string & | name | ) |
Definition at line 3867 of file sbs.cpp.
Referenced by Skyscraper::ActionViewer::On_bRun_Click(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::RunAction | ( | int | index | ) |
Definition at line 3888 of file sbs.cpp.
References SBS::Action::DoAction().
Definition at line 4368 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().
bool SBS::SBS::SetFloorOrientation | ( | std::string | direction | ) |
Definition at line 1807 of file sbs.cpp.
References SBS::SetCase().
Referenced by Skyscraper::ScriptProcessor::CommandsSection::Run().
Definition at line 3378 of file sbs.cpp.
Referenced by Skyscraper::ScriptProcessor::TexturesSection::Run(), and SBS::TextureManager::TextureManager().
void SBS::SBS::SetPower | ( | bool | value | ) |
Definition at line 4694 of file sbs.cpp.
Referenced by Skyscraper::DebugPanel::On_chkPower_Click().
bool SBS::SBS::SetWallOrientation | ( | std::string | direction | ) |
Definition at line 1781 of file sbs.cpp.
References SBS::SetCase().
Referenced by SBS::Stairwell::Level::AddStairs(), SBS::Escalator::CreateSteps(), SBS::MovingWalkway::CreateSteps(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
void SBS::SBS::ShowBoundingBoxes | ( | bool | value | ) |
Definition at line 3985 of file sbs.cpp.
Referenced by Skyscraper::Skyscraper::keyPressed().
void SBS::SBS::ShowColliders | ( | bool | value | ) |
Definition at line 3355 of file sbs.cpp.
Referenced by Skyscraper::Skyscraper::keyPressed().
void SBS::SBS::ShowFloorList | ( | ) |
Definition at line 3956 of file sbs.cpp.
References SBS::Floor::ShowInfo().
Referenced by Skyscraper::DebugPanel::On_bFloorList_Click(), and Skyscraper::ScriptProcessor::CommandsSection::Run().
bool SBS::SBS::Start | ( | std::vector< Ogre::Camera * > & | cameras | ) |
Definition at line 529 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::Start().
Quaternion SBS::SBS::ToGlobal | ( | const Quaternion & | orientation | ) |
Definition at line 4409 of file sbs.cpp.
Referenced by Skyscraper::EngineContext::CutForEngine(), Skyscraper::EngineContext::GetCameraPosition(), SBS::Camera::GetCameraState(), Skyscraper::DebugPanel::Loop(), SBS::Reverb::OnMove(), SBS::Sound::OnMove(), SBS::Reverb::Reverb(), SBS::Camera::RotateLocal(), SBS::SoundSystem::SetListenerPosition(), SBS::SceneNode::SetOrientation(), SBS::SceneNode::SetPosition(), and SBS::Camera::SetRotation().
Definition at line 2367 of file sbs.cpp.
Referenced by SBS::Camera::ClickedObject(), SBS::MeshObject::CreateBoxCollider(), SBS::PolyMesh::CreateMesh(), SBS::Utility::Cut(), SBS::Door::FinishDoor(), SBS::ElevatorDoor::FinishDoors(), SBS::SceneNode::GetDerivedPosition(), SBS::MeshObject::GetHeight(), SBS::MeshObject::GetOffset(), SBS::Wall::GetPoint(), SBS::Camera::GetPosition(), SBS::SceneNode::GetPosition(), SBS::Wall::GetWallExtents(), SBS::MeshObject::HitBeam(), SBS::Polygon::IntersectRay(), and SBS::Camera::SetPosition().
Definition at line 2407 of file sbs.cpp.
Referenced by SBS::Vehicle::AddWheel(), SBS::Camera::Attach(), SBS::Camera::AttachToVehicle(), SBS::Camera::Camera(), SBS::Polygon::ChangeHeight(), SBS::Camera::ClickedObject(), SBS::Vehicle::CreateChassis(), SBS::PolyMesh::CreateMesh(), SBS::PolyMesh::CreateMesh(), SBS::PolyMesh::FindWallIntersect(), SBS::Polygon::GetAbsolutePlane(), SBS::MeshObject::GetMeshInformation(), SBS::Wall::GetPoint(), SBS::Utility::GetPolygonDirection(), SBS::MeshObject::HitBeam(), SBS::MeshObject::InBoundingBox(), SBS::Polygon::IntersectRay(), SBS::Wall::IntersectsWall(), SBS::DynamicMesh::Mesh::IsVisible(), SBS::MeshObject::IsVisible(), SBS::SceneNode::LookAt(), SBS::DynamicMesh::Mesh::Mesh(), SBS::MeshObject::MeshObject(), SBS::Camera::Move(), SBS::Polygon::Move(), SBS::SceneNode::Move(), SBS::Camera::PickUpModel(), SBS::DynamicMesh::Mesh::Prepare(), SBS::Light::SetAttenuation(), SBS::SceneNode::SetDirection(), SBS::Camera::SetGravity(), SBS::Camera::SetMaxRenderDistance(), SBS::Camera::SetPosition(), SBS::SceneNode::SetPosition(), SBS::SceneNode::SetPositionRelative(), SBS::Light::SetRenderingDistance(), SBS::Camera::Sync(), Skyscraper::HAL::UpdateOpenXR(), and SBS::DynamicMesh::Mesh::UpdateVertices().
void SBS::SBS::UnregisterCameraTexture | ( | CameraTexture * | camtex | ) |
Definition at line 4585 of file sbs.cpp.
Referenced by SBS::CameraTexture::~CameraTexture().
void SBS::SBS::UnregisterControl | ( | Control * | control | ) |
Definition at line 3942 of file sbs.cpp.
Referenced by SBS::Control::~Control().
void SBS::SBS::UnregisterDynamicMesh | ( | DynamicMesh * | dynmesh | ) |
Definition at line 4504 of file sbs.cpp.
Referenced by SBS::DynamicMesh::~DynamicMesh().
void SBS::SBS::UnregisterEscalator | ( | Escalator * | escalator | ) |
Definition at line 4646 of file sbs.cpp.
Referenced by SBS::Escalator::~Escalator().
void SBS::SBS::UnregisterMovingWalkway | ( | MovingWalkway * | walkway | ) |
Definition at line 4673 of file sbs.cpp.
Referenced by SBS::MovingWalkway::~MovingWalkway().
bool SBS::SBS::UnregisterObject | ( | int | number | ) |
Definition at line 2469 of file sbs.cpp.
Referenced by SBS::Object::~Object().
bool SBS::SBS::UnregisterTimerCallback | ( | TimerObject * | timer | ) |
Definition at line 2138 of file sbs.cpp.
Referenced by SBS::TimerObject::Stop().
std::string SBS::SBS::VerifyFile | ( | const std::string & | filename | ) |
Definition at line 2916 of file sbs.cpp.
Referenced by SBS::TextureManager::AddTextToTexture(), SBS::SoundSystem::Load(), SBS::TextureManager::LoadAlphaBlendTexture(), SBS::TextureManager::LoadAnimatedTexture(), SBS::MeshObject::LoadColliderModel(), Skyscraper::ScriptProcessor::LoadDataFile(), SBS::MeshObject::LoadFromFile(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTextureCropped(), and Skyscraper::ScriptProcessor::ProcessSections().
std::string SBS::SBS::VerifyFile | ( | std::string | filename, |
bool & | result, | ||
bool | skip_cache ) |
Definition at line 2922 of file sbs.cpp.
References SBS::ReplaceAll(), SBS::SetCaseCopy(), and SBS::TrimString().
Real SBS::SBS::AmbientB |
Definition at line 426 of file sbs.h.
Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().
Real SBS::SBS::AmbientG |
Definition at line 426 of file sbs.h.
Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().
Real SBS::SBS::AmbientR |
Definition at line 426 of file sbs.h.
Referenced by SBS::TextureManager::EnableLighting(), and SBS::MeshObject::LoadFromFile().
bool SBS::SBS::AutoShafts |
Definition at line 175 of file sbs.h.
Referenced by SBS::Camera::CheckShaft(), Skyscraper::DebugPanel::On_chkAutoShafts_Click(), and Skyscraper::DebugPanel::OnInit().
bool SBS::SBS::AutoStairs |
Definition at line 176 of file sbs.h.
Referenced by SBS::Camera::CheckStairwell(), Skyscraper::DebugPanel::On_chkAutoStairs_Click(), and Skyscraper::DebugPanel::OnInit().
int SBS::SBS::Basements |
Definition at line 159 of file sbs.h.
Referenced by SBS::FloorManager::Create(), SBS::FloorManager::Get(), SBS::Person::GetRandomFloor(), Skyscraper::Stats::Loop(), Skyscraper::MeshControl::On_chkAllColumnFrames_Click(), Skyscraper::MeshControl::On_chkAllFloors_Click(), Skyscraper::MeshControl::On_chkAllInterfloors_Click(), and SBS::FloorManager::Remove().
std::string SBS::SBS::BuildingDescription |
Definition at line 149 of file sbs.h.
Referenced by Skyscraper::Stats::OnInit(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
std::string SBS::SBS::BuildingDesigner |
Definition at line 147 of file sbs.h.
Referenced by Skyscraper::ScriptProcessor::LoadDefaults(), Skyscraper::Stats::OnInit(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
std::string SBS::SBS::BuildingFilename |
Definition at line 146 of file sbs.h.
Referenced by Skyscraper::EngineContext::DoReload(), Skyscraper::EngineContext::GetFilename(), Skyscraper::EngineContext::Load(), and Skyscraper::EngineContext::LoadDefault().
std::string SBS::SBS::BuildingLocation |
Definition at line 148 of file sbs.h.
Referenced by Skyscraper::Stats::OnInit(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
std::string SBS::SBS::BuildingName |
Definition at line 145 of file sbs.h.
Referenced by Skyscraper::ScriptProcessor::LoadDefaults(), Skyscraper::Stats::OnInit(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
MeshObject* SBS::SBS::Buildings |
Definition at line 421 of file sbs.h.
Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject(), and SBS::Action::Run().
std::string SBS::SBS::BuildingVersion |
Definition at line 150 of file sbs.h.
Referenced by Skyscraper::Stats::OnInit(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
int SBS::SBS::callstation_index |
Definition at line 199 of file sbs.h.
Referenced by SBS::Floor::AddCallButtons().
Camera* SBS::SBS::camera |
Definition at line 160 of file sbs.h.
Referenced by SBS::Floor::AddSound(), SBS::ElevatorCar::Alarm(), SBS::Shaft::Check(), Skyscraper::HAL::ClickedObject(), SBS::ElevatorCar::CloseDoors(), SBS::Elevator::Down(), SBS::MeshObject::EnableCollider(), SBS::MeshObject::Enabled(), Skyscraper::Skyscraper::EnableFreelook(), SBS::PolyMesh::FindWallIntersect(), SBS::ElevatorDoor::FinishDoors(), SBS::Elevator::FinishMove(), Skyscraper::EngineContext::GetCameraPosition(), Skyscraper::EngineContext::GetCameraState(), Skyscraper::Skyscraper::GetKeyStates(), SBS::Elevator::Go(), Skyscraper::Skyscraper::HandleMouseMovement(), Skyscraper::EngineContext::IsCameraActive(), SBS::CustomObject::IsPickedUp(), SBS::Model::IsPickedUp(), SBS::Primitive::IsPickedUp(), Skyscraper::Skyscraper::keyPressed(), SBS::SoundSystem::Loop(), SBS::Trigger::Loop(), SBS::Vehicle::Loop(), Skyscraper::CameraControl::Loop(), Skyscraper::DebugPanel::Loop(), Skyscraper::editelevator::Loop(), Skyscraper::MeshControl::Loop(), Skyscraper::ObjectInfo::Loop(), Skyscraper::Skyscraper::mouseMoved(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveObjects(), SBS::Escalator::MoveSteps(), SBS::MovingWalkway::MoveSteps(), Skyscraper::CameraControl::On_bBinocularsFOV_Click(), Skyscraper::editelevator::On_bCall_Click(), Skyscraper::CameraControl::On_bCollisions_Click(), Skyscraper::DebugPanel::On_bFloorInfo_Click(), Skyscraper::CameraControl::On_bFreelook_Click(), Skyscraper::CameraControl::On_bFreelookSpeed_Click(), Skyscraper::CameraControl::On_bGotoFloor_Click(), Skyscraper::CameraControl::On_bGravity_Click(), Skyscraper::CameraControl::On_bGravityEnabled_Click(), Skyscraper::CameraControl::On_bPositionX_Click(), Skyscraper::CameraControl::On_bPositionY_Click(), Skyscraper::CameraControl::On_bPositionZ_Click(), Skyscraper::CameraControl::On_bReportCollisions_Click(), Skyscraper::CameraControl::On_bResetFOV_Click(), Skyscraper::CameraControl::On_bRotationX_Click(), Skyscraper::CameraControl::On_bRotationY_Click(), Skyscraper::CameraControl::On_bRotationZ_Click(), Skyscraper::editelevator::On_bSelectCurrent_Click(), Skyscraper::CameraControl::On_bSetFOV_Click(), Skyscraper::CameraControl::On_bStartDirection_Click(), Skyscraper::CameraControl::On_bStartPosition_Click(), Skyscraper::CameraControl::On_bStartRotation_Click(), Skyscraper::CameraControl::On_bXNeg_Click(), Skyscraper::CameraControl::On_bXPlus_Click(), Skyscraper::CameraControl::On_bYNeg_Click(), Skyscraper::CameraControl::On_bYPlus_Click(), Skyscraper::CameraControl::On_bZNeg_Click(), Skyscraper::CameraControl::On_bZPlus_Click(), Skyscraper::DebugPanel::On_chkCollisionDetection_Click(), Skyscraper::MeshControl::On_chkColumnFrame_Click(), Skyscraper::MeshControl::On_chkFloor_Click(), Skyscraper::DebugPanel::On_chkGravity_Click(), Skyscraper::MeshControl::On_chkInterfloor_Click(), Skyscraper::MeshControl::On_chkShafts_Click(), Skyscraper::MeshControl::On_chkStairs_Click(), SBS::Step::OnHit(), Skyscraper::CameraControl::OnInit(), Skyscraper::DebugPanel::OnInit(), SBS::ElevatorCar::OpenDoors(), SBS::CustomObject::PickUp(), SBS::Model::PickUp(), SBS::Primitive::PickUp(), Skyscraper::Skyscraper::ProcessMovement(), Skyscraper::EngineContext::RefreshCamera(), Skyscraper::EngineContext::ResetCamera(), Skyscraper::EngineContext::RevertMovement(), SBS::Action::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), Skyscraper::EngineContext::SetCameraState(), SBS::Elevator::SetHoistwayAccess(), Skyscraper::Skyscraper::touchMoved(), Skyscraper::HAL::UnclickedObject(), SBS::Elevator::Up(), and Skyscraper::HAL::UpdateOpenXR().
|
private |
int SBS::SBS::CarNumber |
Definition at line 166 of file sbs.h.
Referenced by SBS::ElevatorCar::Check(), SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), SBS::ElevatorCar::InCar(), SBS::Elevator::MoveElevatorToFloor(), and Skyscraper::editelevator::On_bSelectCurrent_Click().
|
private |
|
private |
bool SBS::SBS::DeleteColliders |
Definition at line 184 of file sbs.h.
Referenced by SBS::MeshObject::CreateCollider(), SBS::PolyMesh::CreateMesh(), Skyscraper::EngineContext::CutForEngine(), Skyscraper::ParameterViewer::On_bOK_Click(), Skyscraper::VMConsole::Process(), and Skyscraper::EngineContext::Run().
Real SBS::SBS::delta |
Definition at line 134 of file sbs.h.
Referenced by SBS::Elevator::BeyondDecelMarker(), SBS::DoorComponent::Move(), SBS::RevolvingDoor::MoveDoor(), SBS::Elevator::MoveElevatorToFloor(), SBS::Escalator::MoveSteps(), SBS::MovingWalkway::MoveSteps(), and SBS::DoorComponent::RotateDoors().
|
private |
|
private |
|
private |
int SBS::SBS::ElevatorNumber |
Definition at line 165 of file sbs.h.
Referenced by SBS::ElevatorCar::Check(), SBS::Shaft::Check(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::ElevatorCar::InCar(), SBS::Elevator::InElevator(), Skyscraper::DebugPanel::Loop(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveObjects(), and Skyscraper::editelevator::On_bSelectCurrent_Click().
bool SBS::SBS::ElevatorSync |
Definition at line 167 of file sbs.h.
Referenced by SBS::ElevatorCar::Check(), SBS::Camera::CheckElevator(), SBS::Elevator::EnableInspectionService(), SBS::Elevator::FinishMove(), SBS::Elevator::MoveElevatorToFloor(), and SBS::Elevator::MoveObjects().
MeshObject* SBS::SBS::External |
Definition at line 422 of file sbs.h.
Referenced by SBS::Floor::AddFloor(), SBS::Floor::AddWall(), SBS::Floor::CutAll(), SBS::Shaft::CutFloors(), SBS::Stairwell::CutFloors(), Skyscraper::ScriptProcessor::Section::GetMeshObject(), SBS::Action::Run(), and SBS::Floor::~Floor().
bool SBS::SBS::FastDelete |
Definition at line 188 of file sbs.h.
Referenced by SBS::MeshObject::DeleteWalls(), SBS::Action::~Action(), SBS::ButtonPanel::~ButtonPanel(), SBS::CallStation::~CallStation(), SBS::CameraTexture::~CameraTexture(), SBS::Control::~Control(), SBS::CustomObject::~CustomObject(), SBS::DirectionalIndicator::~DirectionalIndicator(), SBS::DispatchController::~DispatchController(), SBS::Door::~Door(), SBS::DynamicMesh::~DynamicMesh(), SBS::Elevator::~Elevator(), SBS::ElevatorCar::~ElevatorCar(), SBS::ElevatorDoor::~ElevatorDoor(), SBS::Escalator::~Escalator(), SBS::Floor::~Floor(), SBS::FloorIndicator::~FloorIndicator(), SBS::Light::~Light(), SBS::MeshObject::~MeshObject(), SBS::Model::~Model(), SBS::MovingWalkway::~MovingWalkway(), SBS::Object::~Object(), SBS::Person::~Person(), SBS::Polygon::~Polygon(), SBS::Primitive::~Primitive(), SBS::Reverb::~Reverb(), SBS::RevolvingDoor::~RevolvingDoor(), SBS::Shaft::~Shaft(), SBS::Sound::~Sound(), SBS::Stairwell::~Stairwell(), SBS::Trigger::~Trigger(), SBS::Vehicle::~Vehicle(), and SBS::Wall::~Wall().
|
private |
|
private |
int SBS::SBS::FloorDisplayRange |
Definition at line 182 of file sbs.h.
Referenced by SBS::Shaft::Check().
int SBS::SBS::Floors |
Definition at line 158 of file sbs.h.
Referenced by SBS::FloorManager::Create(), Skyscraper::Stats::Loop(), Skyscraper::MeshControl::On_chkAllColumnFrames_Click(), Skyscraper::MeshControl::On_chkAllFloors_Click(), Skyscraper::MeshControl::On_chkAllInterfloors_Click(), SBS::FloorManager::Remove(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ParameterViewer::Setup(), and SBS::Shaft::Shaft().
Real SBS::SBS::FPS |
Definition at line 174 of file sbs.h.
Referenced by Skyscraper::Skyscraper::keyPressed(), Skyscraper::DebugPanel::Loop(), and Skyscraper::Skyscraper::mouseMoved().
|
private |
bool SBS::SBS::InElevator |
Definition at line 163 of file sbs.h.
Referenced by SBS::ElevatorCar::Check(), SBS::Shaft::Check(), SBS::Camera::CheckElevator(), SBS::ElevatorCar::InCar(), SBS::Elevator::InElevator(), Skyscraper::Stats::Loop(), SBS::ElevatorDoor::MoveDoors(), and Skyscraper::editelevator::On_bSelectCurrent_Click().
bool SBS::SBS::InShaft |
Definition at line 164 of file sbs.h.
Referenced by SBS::Shaft::Check(), Skyscraper::Stats::Loop(), and SBS::ElevatorDoor::MoveDoors().
bool SBS::SBS::InStairwell |
Definition at line 162 of file sbs.h.
Referenced by SBS::Stairwell::Check(), and Skyscraper::Stats::Loop().
int SBS::SBS::InstanceNumber |
Definition at line 197 of file sbs.h.
Referenced by SBS::TextureManager::AddTextToTexture(), SBS::TextureManager::AddTextureOverlay(), SBS::CameraTexture::CameraTexture(), SBS::DynamicMesh::Mesh::ChangeTexture(), SBS::TextureManager::CreateMaterial(), SBS::DynamicMesh::Mesh::CreateSubMesh(), SBS::DynamicMesh::Mesh::FindMatchingSubMesh(), SBS::TextureManager::GetMaterialByName(), SBS::Object::GetNameBase(), SBS::ObjectBase::GetNameBase(), SBS::TextureManager::LoadTextureCropped(), SBS::Camera::Loop(), and SBS::TextureManager::UnloadMaterials().
std::string SBS::SBS::InstancePrompt |
Definition at line 430 of file sbs.h.
Referenced by SBS::ObjectBase::Report(), and SBS::ObjectBase::ReportError().
bool SBS::SBS::InterfloorOnTop |
Definition at line 187 of file sbs.h.
Referenced by SBS::Floor::Enabled(), SBS::Floor::GetBase(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
bool SBS::SBS::IsBuildingsEnabled |
Definition at line 170 of file sbs.h.
Referenced by Skyscraper::MeshControl::Loop().
bool SBS::SBS::IsExternalEnabled |
Definition at line 171 of file sbs.h.
Referenced by Skyscraper::MeshControl::Loop().
bool SBS::SBS::IsLandscapeEnabled |
Definition at line 172 of file sbs.h.
Referenced by Skyscraper::MeshControl::Loop().
bool SBS::SBS::IsRunning |
Definition at line 157 of file sbs.h.
Referenced by SBS::ElevatorCar::AddSound(), SBS::Floor::AddSound(), and SBS::ElevatorDoor::EnableSensor().
bool SBS::SBS::IsSkyboxEnabled |
Definition at line 173 of file sbs.h.
Referenced by Skyscraper::MeshControl::Loop().
MeshObject* SBS::SBS::Landscape |
Definition at line 423 of file sbs.h.
Referenced by Skyscraper::ScriptProcessor::Section::GetMeshObject(), and SBS::Action::Run().
std::string SBS::SBS::LastError |
Definition at line 189 of file sbs.h.
Referenced by SBS::ObjectBase::ReportError(), and Skyscraper::ScriptProcessor::ScriptError().
std::string SBS::SBS::LastNotification |
Definition at line 190 of file sbs.h.
Referenced by SBS::ObjectBase::Report().
int SBS::SBS::Lobby |
Definition at line 198 of file sbs.h.
Referenced by Skyscraper::PeopleManager::Loop(), Skyscraper::PeopleManager::On_bLobby_Click(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
bool SBS::SBS::Malfunctions |
Definition at line 196 of file sbs.h.
Referenced by Skyscraper::DebugPanel::OnInit().
|
private |
|
private |
Ogre::Root* SBS::SBS::mRoot |
Definition at line 137 of file sbs.h.
Referenced by SBS::TextureManager::CopyTexture().
Ogre::SceneManager* SBS::SBS::mSceneManager |
Definition at line 138 of file sbs.h.
Referenced by SBS::CameraTexture::CameraTexture(), SBS::DynamicMesh::Mesh::Detach(), SBS::Light::Light(), SBS::DynamicMesh::Mesh::Mesh(), SBS::SceneNode::SceneNode(), SBS::Camera::~Camera(), SBS::CameraTexture::~CameraTexture(), SBS::Light::~Light(), and SBS::SceneNode::~SceneNode().
OgreBulletDynamics::DynamicsWorld* SBS::SBS::mWorld |
Definition at line 153 of file sbs.h.
Referenced by SBS::Camera::Camera(), SBS::MeshObject::CreateBoxCollider(), SBS::Vehicle::CreateChassis(), SBS::MeshObject::CreateCollider(), SBS::MeshObject::CreateColliderFromModel(), and SBS::Camera::SetGravity().
int SBS::SBS::PolygonCount |
Definition at line 192 of file sbs.h.
Referenced by SBS::Polygon::Polygon(), and SBS::Polygon::~Polygon().
bool SBS::SBS::ProcessElevators |
Definition at line 177 of file sbs.h.
Referenced by SBS::Camera::CheckObjects(), SBS::ElevatorManager::Loop(), Skyscraper::DebugPanel::On_chkProcessElevators_Click(), and Skyscraper::DebugPanel::OnInit().
bool SBS::SBS::RandomActivity |
Definition at line 195 of file sbs.h.
Referenced by Skyscraper::DebugPanel::OnInit().
bool SBS::SBS::RenderOnStartup |
Definition at line 194 of file sbs.h.
Referenced by Skyscraper::EngineContext::Load(), Skyscraper::EngineContext::LoadDefault(), and Skyscraper::EngineContext::Run().
|
private |
Real SBS::SBS::running_time |
Definition at line 168 of file sbs.h.
Referenced by Skyscraper::Stats::Loop(), and Skyscraper::VMConsole::Process().
|
private |
int SBS::SBS::ShaftDisplayRange |
Definition at line 178 of file sbs.h.
Referenced by SBS::Shaft::Check(), and SBS::Elevator::ResetShaftDoors().
int SBS::SBS::ShaftOutsideDisplayRange |
Definition at line 180 of file sbs.h.
Referenced by SBS::Shaft::Check().
MeshObject* SBS::SBS::SkyBox |
std::string SBS::SBS::SkyName |
Definition at line 183 of file sbs.h.
Referenced by Skyscraper::ScriptProcessor::LoadDefaults(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
unsigned int SBS::SBS::SmoothFrames |
Definition at line 193 of file sbs.h.
Referenced by SBS::Camera::Loop(), and SBS::SoundSystem::SetListenerPosition().
|
private |
int SBS::SBS::StairsDisplayRange |
Definition at line 179 of file sbs.h.
Referenced by SBS::Stairwell::Check().
int SBS::SBS::StairsOutsideDisplayRange |
Definition at line 181 of file sbs.h.
Referenced by SBS::Stairwell::Check().
|
private |
bool SBS::SBS::TexelOverride |
Definition at line 427 of file sbs.h.
Referenced by SBS::Control::Control(), and SBS::PolyMesh::GetTexels().
|
private |
|
private |
Real SBS::SBS::UnitScale |
Definition at line 185 of file sbs.h.
Referenced by SBS::GeometryController::CreateBox(), SBS::GeometryController::CreateCapsule(), SBS::GeometryController::CreateCone(), SBS::GeometryController::CreateCylinder(), SBS::GeometryController::CreateIcoSphere(), SBS::GeometryController::CreatePlane(), SBS::GeometryController::CreatePrism(), SBS::GeometryController::CreateRoundedBox(), SBS::GeometryController::CreateSphere(), SBS::GeometryController::CreateSpring(), SBS::GeometryController::CreateTorus(), SBS::GeometryController::CreateTorusKnot(), SBS::GeometryController::CreateTube(), and Skyscraper::SkySystem::InitSky().
|
private |
bool SBS::SBS::Verbose |
Definition at line 186 of file sbs.h.
Referenced by SBS::ElevatorCar::AddDirectionalIndicator(), SBS::Floor::AddDirectionalIndicator(), SBS::ElevatorCar::AddDirectionalIndicators(), SBS::ElevatorCar::AddServicedFloor(), SBS::TextureManager::AddTextToTexture(), SBS::TextureManager::AddTextureOverlay(), SBS::Elevator::AvailableForCall(), SBS::Elevator::CallCancel(), SBS::Elevator::CallCancelAll(), SBS::CallStation::CallStation(), SBS::ElevatorCar::ChangeLight(), SBS::SoundSystem::Cleanup(), SBS::Camera::ClickedObject(), SBS::CallStation::CreateButtonPanel(), SBS::ElevatorCar::CreateButtonPanel(), SBS::CallStation::CreateCallButtons(), SBS::ElevatorCar::CreateCar(), SBS::Elevator::CreateElevator(), SBS::Elevator::DeleteActiveRoute(), SBS::Elevator::DeleteRoute(), SBS::SceneNode::DetachObject(), SBS::Elevator::Down(), SBS::Elevator::Elevator(), SBS::ElevatorCar::ElevatorCar(), SBS::Elevator::EnableACP(), SBS::CallStation::Enabled(), SBS::Elevator::Enabled(), SBS::ElevatorCar::Enabled(), SBS::Floor::Enabled(), SBS::ElevatorCar::EnableDirectionalIndicators(), SBS::ElevatorCar::EnableDoors(), SBS::Elevator::EnableDownPeak(), SBS::Elevator::EnableFireService1(), SBS::Elevator::EnableFireService2(), SBS::Elevator::EnableIndependentService(), SBS::Elevator::EnableInspectionService(), SBS::ElevatorCar::EnableObjects(), SBS::ElevatorDoor::EnableSensor(), SBS::Elevator::EnableUpPeak(), SBS::DispatchController::FindClosestElevator(), SBS::Elevator::FinishMove(), SBS::Elevator::Go(), SBS::Person::GotoFloor(), SBS::Elevator::IsServicedFloor(), SBS::ElevatorCar::IsServicedFloor(), SBS::Light::Light(), SBS::Sound::Load(), SBS::TextureManager::LoadAlphaBlendTexture(), SBS::TextureManager::LoadAnimatedTexture(), Skyscraper::ScriptProcessor::LoadDataFile(), SBS::TextureManager::LoadMaterial(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTexture(), SBS::TextureManager::LoadTextureCropped(), SBS::Elevator::Loop(), SBS::ElevatorCar::Loop(), SBS::TimerObject::Loop(), SBS::Trigger::Loop(), SBS::Elevator::MoveDown(), SBS::Elevator::MoveElevatorToFloor(), SBS::Elevator::MoveUp(), Skyscraper::DebugPanel::On_chkVerbose_Click(), SBS::RevolvingDoor::OnHit(), Skyscraper::DebugPanel::OnInit(), SBS::Sound::Pause(), SBS::Sound::Play(), SBS::ElevatorCar::PlayFloorBeep(), SBS::ElevatorCar::PlayFloorSound(), SBS::ElevatorCar::PlayMessageSound(), SBS::Elevator::PlayMovingSounds(), SBS::ElevatorCar::PlayMovingSounds(), SBS::Sound::PlayQueued(), SBS::Indicator::PlaySound(), SBS::Elevator::PlayStartingSounds(), SBS::ElevatorCar::PlayStartingSounds(), SBS::Elevator::PlayStoppingSounds(), SBS::ElevatorCar::PlayStoppingSounds(), SBS::Elevator::ProcessCallQueue(), SBS::Sound::ProcessQueue(), Skyscraper::ScriptProcessor::ProcessSections(), SBS::ElevatorCar::RemoveServicedFloor(), SBS::ElevatorDoor::Reset(), SBS::Sound::Reset(), SBS::ElevatorCar::ResetLights(), SBS::Elevator::ResetQueue(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), SBS::Elevator::SameFloorArrival(), SBS::DispatchController::ServicesElevator(), SBS::Elevator::SetACPFloor(), SBS::Elevator::SetAlternateRecallFloor(), SBS::ElevatorCar::SetBeepSound(), SBS::Elevator::SetDownButton(), SBS::Elevator::SetFloorSkipText(), SBS::ElevatorCar::SetFloorSound(), SBS::Elevator::SetGoButton(), SBS::Elevator::SetHoistwayAccess(), SBS::CallStation::SetLights(), SBS::CallStation::SetLightsGroup(), SBS::ElevatorCar::SetMessageSound(), SBS::Sound::SetPlayPosition(), SBS::Elevator::SetRecallFloor(), SBS::Sound::SetSpeed(), SBS::Elevator::SetUpButton(), SBS::Sound::SetVolume(), SBS::Sound::Sound(), SBS::TimerObject::Start(), Skyscraper::EngineContext::StartSim(), SBS::Elevator::Stop(), SBS::Sound::Stop(), SBS::TimerObject::Stop(), SBS::Sound::Unload(), SBS::Elevator::Up(), SBS::Elevator::~Elevator(), and SBS::ElevatorCar::~ElevatorCar().
|
private |
std::string SBS::SBS::version |
Definition at line 141 of file sbs.h.
Referenced by Skyscraper::Stats::OnInit(), and Skyscraper::VMConsole::Process().
int SBS::SBS::WallCount |
Definition at line 191 of file sbs.h.
Referenced by SBS::Wall::Wall(), and SBS::Wall::~Wall().