Skyscraper 2.0
|
#include <enginecontext.h>
Public Member Functions | |
EngineContext (EngineContext *parent, VM *vm, Ogre::SceneManager *mSceneManager, FMOD::System *fmodsystem, const Vector3 &position=Vector3::ZERO, Real rotation=0.0, const Vector3 &area_min=Vector3::ZERO, const Vector3 &area_max=Vector3::ZERO) | |
EngineContext (EngineContext *parent, VM *vm, Ogre::SceneManager *mSceneManager, const Vector3 &position=Vector3::ZERO, Real rotation=0.0, const Vector3 &area_min=Vector3::ZERO, const Vector3 &area_max=Vector3::ZERO) | |
~EngineContext () | |
void | Init (EngineContext *parent, VM *vm, Ogre::SceneManager *mSceneManager, const Vector3 &position, Real rotation, const Vector3 &area_min, const Vector3 &area_max) |
ScriptProcessor * | GetScriptProcessor () |
::SBS::SBS * | GetSystem () |
bool | IsCameraActive () |
bool | Run () |
void | Shutdown () |
bool | GetShutdownState () |
bool | Load (std::string filename) |
bool | IsLoading () |
bool | IsRunning () |
bool | IsReloading () |
void | DoReload () |
std::string | GetFilename () |
bool | Start (std::vector< Ogre::Camera * > &cameras) |
void | Report (const std::string &message) |
bool | ReportError (const std::string &message) |
bool | ReportFatalError (const std::string &message) |
bool | IsLoadingFinished () |
bool | UpdateProgress (int percent) |
int | GetProgress () |
int | GetNumber () |
::SBS::CameraState | GetCameraState () |
void | SetCameraState (const ::SBS::CameraState &state, bool set_floor=true) |
bool | IsInside () |
bool | IsInside (const Vector3 &position) |
void | DetachCamera (bool reset_building=false) |
void | AttachCamera (std::vector< Ogre::Camera * > &cameras, bool init_state=true) |
void | RefreshCamera () |
void | ResetCamera () |
void | RevertMovement () |
Vector3 | GetCameraPosition () |
void | OnEnter () |
void | OnExit () |
void | CutForEngine (EngineContext *engine) |
void | AddChild (EngineContext *engine) |
void | RemoveChild (EngineContext *engine) |
void | RemoveParent () |
void | Move (Vector3 &position, bool move_children=false) |
EngineContext * | GetParent () |
bool | IsParent (EngineContext *engine, bool recursive=false) |
VM * | GetVM () |
bool | InRunloop () |
bool | IsRoot () |
bool | InitSim () |
bool | LoadDefault () |
void | Boot () |
void | GatherReset () |
void | Gather () |
void | ResetPrepare () |
Public Attributes | |
bool | Reload |
bool | Moved |
bool | started |
bool | NewEngine |
unsigned long | current_time |
unsigned long | time_stat |
bool | Paused |
Private Member Functions | |
void | StartSim () |
void | UnloadSim () |
void | Init () |
Private Attributes | |
ScriptProcessor * | processor |
::SBS::SBS * | Simcore |
int | instance |
EngineContext * | parent |
unsigned long | finish_time |
bool | shutdown |
bool | loading |
bool | running |
bool | reloading |
bool | raised |
int | progress |
bool | inside |
std::string | InstancePrompt |
bool | prepared |
::SBS::CameraState * | reload_state |
Ogre::SceneManager * | mSceneManager |
FMOD::System * | fmodsystem |
Vector3 | position |
Vector3 | area_min |
Vector3 | area_max |
Real | rotation |
std::vector< EngineContext * > | children |
VM * | vm |
Definition at line 32 of file enginecontext.h.
Skyscraper::EngineContext::EngineContext | ( | EngineContext * | parent, |
VM * | vm, | ||
Ogre::SceneManager * | mSceneManager, | ||
FMOD::System * | fmodsystem, | ||
const Vector3 & | position = Vector3::ZERO, | ||
Real | rotation = 0.0, | ||
const Vector3 & | area_min = Vector3::ZERO, | ||
const Vector3 & | area_max = Vector3::ZERO ) |
Definition at line 53 of file enginecontext.cpp.
References area_max, area_min, fmodsystem, Init(), mSceneManager, parent, position, rotation, and vm.
Skyscraper::EngineContext::EngineContext | ( | EngineContext * | parent, |
VM * | vm, | ||
Ogre::SceneManager * | mSceneManager, | ||
const Vector3 & | position = Vector3::ZERO, | ||
Real | rotation = 0.0, | ||
const Vector3 & | area_min = Vector3::ZERO, | ||
const Vector3 & | area_max = Vector3::ZERO ) |
Definition at line 59 of file enginecontext.cpp.
References area_max, area_min, Init(), mSceneManager, parent, position, rotation, and vm.
Skyscraper::EngineContext::~EngineContext | ( | ) |
Definition at line 64 of file enginecontext.cpp.
References children, Skyscraper::VM::IsValidEngine(), parent, reload_state, RemoveChild(), UnloadSim(), and vm.
void Skyscraper::EngineContext::AddChild | ( | EngineContext * | engine | ) |
void Skyscraper::EngineContext::AttachCamera | ( | std::vector< Ogre::Camera * > & | cameras, |
bool | init_state = true ) |
Definition at line 592 of file enginecontext.cpp.
References SBS::SBS::AttachCamera(), IsInside(), ResetCamera(), and Simcore.
Referenced by Skyscraper::VM::SetActiveEngine().
void Skyscraper::EngineContext::Boot | ( | ) |
Definition at line 263 of file enginecontext.cpp.
References processor, and Skyscraper::ScriptProcessor::Start().
Referenced by Skyscraper::VMConsole::Process().
void Skyscraper::EngineContext::CutForEngine | ( | EngineContext * | engine | ) |
Definition at line 653 of file enginecontext.cpp.
References Skyscraper::VM::CutBuildings, Skyscraper::VM::CutExternal, Skyscraper::VM::CutFloors, CutForEngine(), SBS::SBS::CutInsideBoundaries(), Skyscraper::VM::CutLandscape, SBS::SBS::DeleteColliders, SBS::SBS::FromGlobal(), SBS::SBS::GetBounds(), GetSystem(), IsRunning(), Skyscraper::VM::IsValidEngine(), SBS::Max(), SBS::Min(), parent, SBS::SBS::Prepare(), Simcore, SBS::SBS::ToGlobal(), and vm.
Referenced by CutForEngine(), and Start().
void Skyscraper::EngineContext::DetachCamera | ( | bool | reset_building = false | ) |
Definition at line 582 of file enginecontext.cpp.
References SBS::SBS::DetachCamera(), SBS::SBS::ResetState(), and Simcore.
Referenced by Skyscraper::VM::SetActiveEngine().
void Skyscraper::EngineContext::DoReload | ( | ) |
Definition at line 335 of file enginecontext.cpp.
References SBS::SBS::BuildingFilename, GetCameraState(), Load(), Paused, Reload, reload_state, reloading, Simcore, StartSim(), and UnloadSim().
void Skyscraper::EngineContext::Gather | ( | ) |
Definition at line 787 of file enginecontext.cpp.
References current_time, Skyscraper::HAL::GetCurrentTime(), Skyscraper::VM::GetHAL(), time_stat, and vm.
void Skyscraper::EngineContext::GatherReset | ( | ) |
Definition at line 780 of file enginecontext.cpp.
References current_time, Skyscraper::HAL::GetCurrentTime(), Skyscraper::VM::GetHAL(), and vm.
Vector3 Skyscraper::EngineContext::GetCameraPosition | ( | ) |
Definition at line 620 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::GetPosition(), Simcore, and SBS::SBS::ToGlobal().
Referenced by IsInside().
CameraState Skyscraper::EngineContext::GetCameraState | ( | ) |
Definition at line 544 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::GetCameraState(), and Simcore.
Referenced by DoReload(), and Skyscraper::VM::SetActiveEngine().
std::string Skyscraper::EngineContext::GetFilename | ( | ) |
Definition at line 366 of file enginecontext.cpp.
References SBS::SBS::BuildingFilename, and Simcore.
Referenced by Skyscraper::EngineManager::Loop(), Skyscraper::VMConsole::Process(), and Skyscraper::ScriptProcessor::ScriptError().
|
inline |
Definition at line 66 of file enginecontext.h.
Referenced by Skyscraper::VM::DeleteEngine(), Skyscraper::VMConsole::Process(), and Skyscraper::ScriptProcessor::ScriptError().
|
inline |
Definition at line 84 of file enginecontext.h.
Referenced by IsParent(), IsRoot(), and Skyscraper::VM::SwitchEngines().
|
inline |
Definition at line 65 of file enginecontext.h.
Referenced by Skyscraper::VM::UpdateProgress().
ScriptProcessor * Skyscraper::EngineContext::GetScriptProcessor | ( | ) |
Definition at line 132 of file enginecontext.cpp.
References processor.
Referenced by Skyscraper::CrashHandlerExceptionFilter(), Skyscraper::VM::GetActiveScriptProcessor(), Skyscraper::ParameterViewer::On_bOK_Click(), and Skyscraper::ObjectInfo::On_bViewScript_Click().
|
inline |
Definition at line 52 of file enginecontext.h.
References Skyscraper::shutdown.
Referenced by Skyscraper::EngineManager::Loop().
|
inline |
Definition at line 48 of file enginecontext.h.
Referenced by Skyscraper::HAL::ClickedObject(), Skyscraper::CrashHandlerExceptionFilter(), Skyscraper::SkySystem::CreateSky(), CutForEngine(), Skyscraper::Skyscraper::EnableFreelook(), Skyscraper::SkySystem::EnableSky(), Skyscraper::VM::GetActiveSystem(), Skyscraper::Skyscraper::GetKeyStates(), Skyscraper::Skyscraper::HandleMouseMovement(), Skyscraper::SkySystem::InitSky(), Skyscraper::Skyscraper::keyPressed(), Skyscraper::EngineManager::Loop(), Skyscraper::MoveObject::Loop(), Skyscraper::MoveObject::OnInit(), Skyscraper::VMConsole::Process(), Skyscraper::Skyscraper::ProcessMovement(), Skyscraper::ScriptProcessor::ScriptProcessor(), Skyscraper::ScriptProcessor::Section::Section(), Skyscraper::Skyscraper::Start(), StartSim(), Skyscraper::HAL::UnclickedObject(), Skyscraper::HAL::UpdateOpenXR(), and Skyscraper::SkySystem::UpdateSky().
VM * Skyscraper::EngineContext::GetVM | ( | ) |
Definition at line 759 of file enginecontext.cpp.
References vm.
Referenced by Skyscraper::ScriptProcessor::Reset(), Skyscraper::ScriptProcessor::BuildingsSection::Run(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), Skyscraper::ScriptProcessor::Run(), Skyscraper::ScriptProcessor::ScriptError(), and Skyscraper::ScriptProcessor::Section::Section().
|
private |
Referenced by EngineContext(), and EngineContext().
void Skyscraper::EngineContext::Init | ( | EngineContext * | parent, |
VM * | vm, | ||
Ogre::SceneManager * | mSceneManager, | ||
const Vector3 & | position, | ||
Real | rotation, | ||
const Vector3 & | area_min, | ||
const Vector3 & | area_max ) |
Definition at line 85 of file enginecontext.cpp.
References AddChild(), area_max, area_min, SBS::CameraState::collisions, finish_time, SBS::CameraState::floor, SBS::CameraState::freelook, SBS::CameraState::gravity, inside, instance, InstancePrompt, loading, Moved, mSceneManager, NewEngine, parent, Paused, position, prepared, processor, progress, raised, Skyscraper::VM::RegisterEngine(), Reload, reload_state, reloading, Report(), rotation, running, shutdown, Simcore, started, StartSim(), SBS::ToString(), and vm.
bool Skyscraper::EngineContext::InitSim | ( | ) |
Definition at line 248 of file enginecontext.cpp.
References SBS::SBS::Initialize(), processor, Skyscraper::ScriptProcessor::Reset(), and Simcore.
Referenced by Load(), and LoadDefault().
bool Skyscraper::EngineContext::InRunloop | ( | ) |
Definition at line 764 of file enginecontext.cpp.
References Skyscraper::ScriptProcessor::InRunloop(), and processor.
Referenced by Run().
bool Skyscraper::EngineContext::IsCameraActive | ( | ) |
Definition at line 137 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::IsActive(), and Simcore.
Referenced by Skyscraper::VM::CheckCamera(), Skyscraper::EngineManager::Loop(), and Skyscraper::VM::SetActiveEngine().
bool Skyscraper::EngineContext::IsInside | ( | ) |
Definition at line 558 of file enginecontext.cpp.
References Skyscraper::VM::GetActiveEngine(), GetCameraPosition(), SBS::SBS::IsInside(), IsInside(), Simcore, and vm.
Referenced by AttachCamera(), IsInside(), Run(), and Skyscraper::VM::SwitchEngines().
bool Skyscraper::EngineContext::IsInside | ( | const Vector3 & | position | ) |
Definition at line 572 of file enginecontext.cpp.
References SBS::SBS::FromGlobal(), SBS::SBS::IsInside(), position, and Simcore.
|
inline |
Definition at line 54 of file enginecontext.h.
Referenced by Skyscraper::CrashHandlerExceptionFilter(), Skyscraper::EngineManager::Loop(), Skyscraper::VM::RunEngines(), and Skyscraper::VM::SetActiveEngine().
bool Skyscraper::EngineContext::IsLoadingFinished | ( | ) |
Definition at line 525 of file enginecontext.cpp.
References Skyscraper::ScriptProcessor::IsFinished, loading, and processor.
Referenced by Skyscraper::CrashHandlerExceptionFilter(), and Skyscraper::VM::RunEngines().
bool Skyscraper::EngineContext::IsParent | ( | EngineContext * | engine, |
bool | recursive = false ) |
Definition at line 738 of file enginecontext.cpp.
References GetParent(), and IsParent().
Referenced by IsParent(), and OnEnter().
|
inline |
Definition at line 56 of file enginecontext.h.
Referenced by Skyscraper::ScriptProcessor::ProcessSections().
bool Skyscraper::EngineContext::IsRoot | ( | ) |
Definition at line 773 of file enginecontext.cpp.
References GetParent().
Referenced by Skyscraper::ScriptProcessor::BuildingsSection::Run(), and Skyscraper::ScriptProcessor::GlobalsSection::Run().
|
inline |
Definition at line 55 of file enginecontext.h.
Referenced by Skyscraper::GUI::CreateProgressDialog(), CutForEngine(), Skyscraper::Skyscraper::HandleMouseMovement(), Skyscraper::EngineManager::Loop(), and Skyscraper::ScriptProcessor::Run().
bool Skyscraper::EngineContext::Load | ( | std::string | filename | ) |
Definition at line 294 of file enginecontext.cpp.
References SBS::SBS::BuildingFilename, Skyscraper::GUI::CreateProgressDialog(), Skyscraper::VM::GetGUI(), Skyscraper::VM::GetRenderOnStartup(), InitSim(), Skyscraper::ScriptProcessor::LoadDataFile(), loading, processor, SBS::SBS::RenderOnStartup, Report(), Simcore, and vm.
Referenced by DoReload(), and Skyscraper::VM::Load().
bool Skyscraper::EngineContext::LoadDefault | ( | ) |
Definition at line 269 of file enginecontext.cpp.
References SBS::SBS::BuildingFilename, Skyscraper::VM::GetRenderOnStartup(), InitSim(), Skyscraper::ScriptProcessor::LoadDefaults(), loading, processor, SBS::SBS::RenderOnStartup, Report(), Simcore, and vm.
Referenced by Skyscraper::VMConsole::Process().
void Skyscraper::EngineContext::Move | ( | Vector3 & | position, |
bool | move_children = false ) |
Definition at line 721 of file enginecontext.cpp.
References children, SBS::Object::Move(), position, and Simcore.
Referenced by Skyscraper::ScriptProcessor::GlobalsSection::Run().
void Skyscraper::EngineContext::OnEnter | ( | ) |
Definition at line 627 of file enginecontext.cpp.
References Skyscraper::VM::GetActiveEngine(), inside, instance, IsParent(), Skyscraper::VM::SetActiveEngine(), and vm.
Referenced by Run().
void Skyscraper::EngineContext::OnExit | ( | ) |
void Skyscraper::EngineContext::RefreshCamera | ( | ) |
Definition at line 603 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::Refresh(), and Simcore.
Referenced by Skyscraper::VM::DeleteEngine().
void Skyscraper::EngineContext::RemoveChild | ( | EngineContext * | engine | ) |
Definition at line 709 of file enginecontext.cpp.
References children.
Referenced by ~EngineContext().
|
inline |
Definition at line 82 of file enginecontext.h.
void Skyscraper::EngineContext::Report | ( | const std::string & | message | ) |
Definition at line 506 of file enginecontext.cpp.
References Skyscraper::VM::GetHAL(), InstancePrompt, Skyscraper::HAL::Report(), and vm.
Referenced by Skyscraper::ScriptProcessor::Breakpoint(), Init(), Load(), LoadDefault(), Skyscraper::ScriptProcessor::ProcessFunctionParameters(), Skyscraper::ScriptProcessor::ProcessSections(), Skyscraper::ScriptProcessor::BuildingsSection::Run(), Skyscraper::ScriptProcessor::CallStationSection::Run(), Skyscraper::ScriptProcessor::CommandsSection::Run(), Skyscraper::ScriptProcessor::ControllerSection::Run(), Skyscraper::ScriptProcessor::ElevatorCarSection::Run(), Skyscraper::ScriptProcessor::ElevatorSection::Run(), Skyscraper::ScriptProcessor::FloorSection::Run(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), Skyscraper::ScriptProcessor::TexturesSection::Run(), Skyscraper::ScriptProcessor::VehicleSection::Run(), and UnloadSim().
bool Skyscraper::EngineContext::ReportError | ( | const std::string & | message | ) |
Definition at line 511 of file enginecontext.cpp.
References Skyscraper::VM::GetHAL(), InstancePrompt, Skyscraper::HAL::ReportError(), and vm.
Referenced by ReportFatalError(), Run(), Skyscraper::ScriptProcessor::ScriptError(), and Start().
bool Skyscraper::EngineContext::ReportFatalError | ( | const std::string & | message | ) |
Definition at line 516 of file enginecontext.cpp.
References Skyscraper::VM::GetGUI(), ReportError(), Skyscraper::GUI::ShowError(), and vm.
Referenced by Skyscraper::ScriptProcessor::LoadDataFile().
void Skyscraper::EngineContext::ResetCamera | ( | ) |
Definition at line 608 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::SetToStartPosition(), and Simcore.
Referenced by AttachCamera().
void Skyscraper::EngineContext::ResetPrepare | ( | ) |
Definition at line 802 of file enginecontext.cpp.
References prepared.
Referenced by Skyscraper::ScriptProcessor::Run().
void Skyscraper::EngineContext::RevertMovement | ( | ) |
Definition at line 614 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::RevertMovement(), and Simcore.
Referenced by Skyscraper::VM::SwitchEngines().
bool Skyscraper::EngineContext::Run | ( | ) |
Definition at line 154 of file enginecontext.cpp.
References SBS::SBS::AdvanceClock(), SBS::SBS::CalculateFrameRate(), Skyscraper::GUI::CloseProgressDialog(), SBS::SBS::DeleteColliders, finish_time, SBS::SBS::GetCurrentTime(), Skyscraper::VM::GetEngineCount(), Skyscraper::VM::GetGUI(), SBS::Object::Init(), InRunloop(), inside, Skyscraper::ScriptProcessor::IsFinished, IsInside(), loading, SBS::SBS::Loop(), Skyscraper::ScriptProcessor::nonexistent_files, OnEnter(), OnExit(), Paused, SBS::SBS::Prepare(), prepared, processor, Skyscraper::GUI::ProgressCancelled(), raised, Skyscraper::GUI::RaiseWindow(), SBS::SBS::RenderOnStartup, ReportError(), Skyscraper::VM::ReportMissingFiles(), Skyscraper::ScriptProcessor::Run(), running, Shutdown(), Simcore, and vm.
void Skyscraper::EngineContext::SetCameraState | ( | const ::SBS::CameraState & | state, |
bool | set_floor = true ) |
Definition at line 551 of file enginecontext.cpp.
References SBS::SBS::camera, SBS::Camera::SetCameraState(), and Simcore.
Referenced by Skyscraper::VM::SetActiveEngine(), and Start().
void Skyscraper::EngineContext::Shutdown | ( | ) |
Definition at line 147 of file enginecontext.cpp.
References shutdown.
Referenced by Skyscraper::EngineManager::On_bShutdown_Click(), Skyscraper::VMConsole::Process(), and Run().
bool Skyscraper::EngineContext::Start | ( | std::vector< Ogre::Camera * > & | cameras | ) |
Definition at line 466 of file enginecontext.cpp.
References children, Skyscraper::VM::CutBuildings, Skyscraper::VM::CutExternal, Skyscraper::VM::CutFloors, CutForEngine(), Skyscraper::VM::CutLandscape, SBS::SBS::CutOutsideBoundaries(), Skyscraper::VM::IsValidEngine(), loading, parent, reload_state, reloading, ReportError(), running, SetCameraState(), Simcore, SBS::SBS::Start(), and vm.
Referenced by Skyscraper::VM::StartEngine().
|
private |
Definition at line 373 of file enginecontext.cpp.
References area_max, area_min, Skyscraper::HAL::DX11, fmodsystem, Skyscraper::VM::GetGUI(), Skyscraper::VM::GetHAL(), SBS::Object::GetPosition(), GetSystem(), instance, Moved, mSceneManager, Skyscraper::ScriptProcessor::NoModels, parent, Skyscraper::VM::Pause, position, processor, Skyscraper::GUI::RefreshConsole(), rotation, Simcore, started, SBS::SBS::Verbose, Skyscraper::VM::Verbose, and vm.
Referenced by DoReload(), and Init().
|
private |
Definition at line 427 of file enginecontext.cpp.
References fmodsystem, instance, loading, Moved, processor, raised, Report(), running, Simcore, started, and SBS::ToString().
Referenced by DoReload(), and ~EngineContext().
bool Skyscraper::EngineContext::UpdateProgress | ( | int | percent | ) |
Definition at line 535 of file enginecontext.cpp.
References progress, Skyscraper::VM::UpdateProgress(), and vm.
Referenced by Skyscraper::ScriptProcessor::ProcessFunctionParameters().
|
private |
Definition at line 124 of file enginecontext.h.
Referenced by EngineContext(), EngineContext(), Init(), and StartSim().
|
private |
Definition at line 123 of file enginecontext.h.
Referenced by EngineContext(), EngineContext(), Init(), and StartSim().
|
private |
Definition at line 128 of file enginecontext.h.
Referenced by AddChild(), Move(), RemoveChild(), Start(), and ~EngineContext().
unsigned long Skyscraper::EngineContext::current_time |
Definition at line 40 of file enginecontext.h.
Referenced by Gather(), and GatherReset().
|
private |
Definition at line 106 of file enginecontext.h.
|
private |
Definition at line 121 of file enginecontext.h.
Referenced by EngineContext(), StartSim(), and UnloadSim().
|
private |
|
private |
Definition at line 104 of file enginecontext.h.
Referenced by Init(), OnEnter(), StartSim(), and UnloadSim().
|
private |
Definition at line 114 of file enginecontext.h.
Referenced by Init(), Report(), and ReportError().
|
private |
Definition at line 108 of file enginecontext.h.
Referenced by Init(), IsLoadingFinished(), Load(), LoadDefault(), Run(), Start(), and UnloadSim().
bool Skyscraper::EngineContext::Moved |
Definition at line 37 of file enginecontext.h.
Referenced by Init(), Skyscraper::ScriptProcessor::GlobalsSection::Run(), StartSim(), and UnloadSim().
|
private |
Definition at line 120 of file enginecontext.h.
Referenced by EngineContext(), EngineContext(), Init(), and StartSim().
bool Skyscraper::EngineContext::NewEngine |
Definition at line 39 of file enginecontext.h.
Referenced by Init().
|
private |
Definition at line 105 of file enginecontext.h.
Referenced by CutForEngine(), EngineContext(), EngineContext(), Init(), Start(), StartSim(), and ~EngineContext().
bool Skyscraper::EngineContext::Paused |
Definition at line 41 of file enginecontext.h.
Referenced by DoReload(), Init(), Skyscraper::EngineManager::Loop(), Skyscraper::EngineManager::On_chkPaused_Click(), and Run().
|
private |
Definition at line 122 of file enginecontext.h.
Referenced by EngineContext(), EngineContext(), Init(), IsInside(), Move(), and StartSim().
|
private |
Definition at line 115 of file enginecontext.h.
Referenced by Init(), ResetPrepare(), and Run().
|
private |
Definition at line 102 of file enginecontext.h.
Referenced by Boot(), GetScriptProcessor(), Init(), InitSim(), InRunloop(), IsLoadingFinished(), Load(), LoadDefault(), Run(), StartSim(), and UnloadSim().
|
private |
Definition at line 112 of file enginecontext.h.
Referenced by Init(), and UpdateProgress().
|
private |
Definition at line 111 of file enginecontext.h.
Referenced by Init(), Run(), and UnloadSim().
bool Skyscraper::EngineContext::Reload |
Definition at line 36 of file enginecontext.h.
Referenced by DoReload(), Init(), Skyscraper::EngineManager::On_bReload_Click(), and Skyscraper::VMConsole::Process().
|
private |
Definition at line 118 of file enginecontext.h.
Referenced by DoReload(), Init(), Start(), and ~EngineContext().
|
private |
Definition at line 110 of file enginecontext.h.
Referenced by DoReload(), Init(), and Start().
|
private |
Definition at line 125 of file enginecontext.h.
Referenced by EngineContext(), EngineContext(), Init(), and StartSim().
|
private |
Definition at line 109 of file enginecontext.h.
Referenced by Init(), Run(), Start(), and UnloadSim().
|
private |
Definition at line 107 of file enginecontext.h.
Referenced by Init(), and Shutdown().
|
private |
Definition at line 103 of file enginecontext.h.
Referenced by AttachCamera(), CutForEngine(), DetachCamera(), DoReload(), GetCameraPosition(), GetCameraState(), GetFilename(), Init(), InitSim(), IsCameraActive(), IsInside(), IsInside(), Load(), LoadDefault(), Move(), RefreshCamera(), ResetCamera(), RevertMovement(), Run(), SetCameraState(), Start(), StartSim(), and UnloadSim().
bool Skyscraper::EngineContext::started |
Definition at line 38 of file enginecontext.h.
Referenced by Init(), StartSim(), and UnloadSim().
unsigned long Skyscraper::EngineContext::time_stat |
Definition at line 40 of file enginecontext.h.
Referenced by Gather(), and Skyscraper::VM::RegisterEngine().
|
private |
Definition at line 131 of file enginecontext.h.
Referenced by CutForEngine(), EngineContext(), EngineContext(), Gather(), GatherReset(), GetVM(), Init(), IsInside(), Load(), LoadDefault(), OnEnter(), Report(), ReportError(), ReportFatalError(), Run(), Start(), StartSim(), UpdateProgress(), and ~EngineContext().