#include <skyscraper.h>
Definition at line 69 of file skyscraper.h.
◆ Skyscraper()
Skyscraper::Skyscraper::Skyscraper |
( |
| ) |
|
◆ ~Skyscraper()
virtual Skyscraper::Skyscraper::~Skyscraper |
( |
| ) |
|
|
inlinevirtual |
◆ AllowResize()
void Skyscraper::Skyscraper::AllowResize |
( |
bool | value | ) |
|
◆ CreateRenderWindow()
Ogre::RenderWindow * Skyscraper::Skyscraper::CreateRenderWindow |
( |
const Ogre::NameValuePairList * | miscParams = 0, |
|
|
const std::string & | windowName = "" ) |
◆ destroyRenderWindow()
void Skyscraper::Skyscraper::destroyRenderWindow |
( |
| ) |
|
◆ EnableFreelook()
void Skyscraper::Skyscraper::EnableFreelook |
( |
bool | value | ) |
|
|
private |
◆ GetDataPath()
std::string Skyscraper::Skyscraper::GetDataPath |
( |
| ) |
|
◆ GetExeDirectory()
std::filesystem::path Skyscraper::Skyscraper::GetExeDirectory |
( |
| ) |
|
◆ GetJoystickConfigInt()
int Skyscraper::Skyscraper::GetJoystickConfigInt |
( |
const std::string & | key, |
|
|
int | default_value ) |
◆ GetKeyConfigString()
std::string Skyscraper::Skyscraper::GetKeyConfigString |
( |
const std::string & | key, |
|
|
const std::string & | default_value ) |
◆ GetKeyStates()
void Skyscraper::Skyscraper::GetKeyStates |
( |
EngineContext * | engine, |
|
|
OgreBites::Keycode & | key, |
|
|
bool | down ) |
|
private |
◆ getOgreHandle()
const std::string Skyscraper::Skyscraper::getOgreHandle |
( |
| ) |
const |
◆ GetVM()
VM * Skyscraper::Skyscraper::GetVM |
( |
| ) |
|
◆ GetWindow()
MainScreen * Skyscraper::Skyscraper::GetWindow |
( |
| ) |
|
◆ HandleMouseMovement()
void Skyscraper::Skyscraper::HandleMouseMovement |
( |
| ) |
|
|
private |
◆ keyPressed()
bool Skyscraper::Skyscraper::keyPressed |
( |
const OgreBites::KeyboardEvent & | evt | ) |
|
Definition at line 104 of file native.cpp.
References SBS::Camera::AttachToVehicle(), SBS::SBS::camera, SBS::Camera::cfg_zoomspeed, SBS::Camera::DropModel(), SBS::Camera::EnableCollisions(), SBS::Camera::EnableGravity(), SBS::SBS::FPS, SBS::Camera::Freelook, SBS::Camera::GetFOVAngle(), SBS::Camera::GetGravityStatus(), Skyscraper::EngineContext::GetSystem(), SBS::Camera::inside_vehicle, SBS::Camera::IsModelAttached(), SBS::Camera::IsOnGround(), SBS::Camera::Jump(), Skyscraper::HAL::mRoot, SBS::Camera::PickUpModel(), Skyscraper::HAL::Report(), SBS::Camera::ResetState(), SBS::Camera::ResetView(), SBS::Camera::SetFOVAngle(), SBS::Camera::SetViewMode(), SBS::SBS::ShowBoundingBoxes(), SBS::SBS::ShowColliders(), and SBS::ToString().
◆ keyReleased()
bool Skyscraper::Skyscraper::keyReleased |
( |
const OgreBites::KeyboardEvent & | evt | ) |
|
◆ Load()
bool Skyscraper::Skyscraper::Load |
( |
const std::string & | filename, |
|
|
EngineContext * | parent = 0, |
|
|
const Vector3 & | position = Vector3::ZERO, |
|
|
Real | rotation = 0.0, |
|
|
const Vector3 & | area_min = Vector3::ZERO, |
|
|
const Vector3 & | area_max = Vector3::ZERO ) |
◆ Loop()
bool Skyscraper::Skyscraper::Loop |
( |
| ) |
|
◆ mouseMoved()
bool Skyscraper::Skyscraper::mouseMoved |
( |
const OgreBites::MouseMotionEvent & | evt | ) |
|
◆ mousePressed()
bool Skyscraper::Skyscraper::mousePressed |
( |
const OgreBites::MouseButtonEvent & | evt | ) |
|
◆ mouseReleased()
bool Skyscraper::Skyscraper::mouseReleased |
( |
const OgreBites::MouseButtonEvent & | evt | ) |
|
◆ mouseWheelRolled()
bool Skyscraper::Skyscraper::mouseWheelRolled |
( |
const OgreBites::MouseWheelEvent & | evt | ) |
|
◆ OnExit()
int Skyscraper::Skyscraper::OnExit |
( |
| ) |
|
|
virtual |
◆ OnInit()
bool Skyscraper::Skyscraper::OnInit |
( |
| ) |
|
|
virtual |
Definition at line 131 of file skyscraper.cpp.
References Skyscraper::HAL::configfile, Skyscraper::HAL::GetConfigBool(), Skyscraper::HAL::GetConfigInt(), Skyscraper::HAL::GetConfigString(), GIT_REV, Skyscraper::HAL::Initialize(), Skyscraper::InitUnhandledExceptionFilter(), Skyscraper::HAL::LoadConfiguration(), Skyscraper::HAL::LoadSystem(), SBS::ToString(), and Skyscraper::UnhandledExceptionSetRoot().
◆ ProcessMovement()
void Skyscraper::Skyscraper::ProcessMovement |
( |
EngineContext * | engine, |
|
|
bool | control = false, |
|
|
bool | shift = false, |
|
|
bool | angle_only = false ) |
|
private |
Definition at line 632 of file native.cpp.
References SBS::SBS::camera, SBS::Camera::cfg_speed, SBS::Camera::cfg_speedfast, SBS::Camera::cfg_speedslow, SBS::Camera::Float(), Skyscraper::EngineContext::GetSystem(), SBS::Camera::Look(), SBS::Camera::speed, SBS::Camera::Spin(), SBS::Camera::Step(), SBS::Camera::Strafe(), and SBS::Camera::Turn().
◆ Quit()
void Skyscraper::Skyscraper::Quit |
( |
| ) |
|
◆ RaiseWindow()
void Skyscraper::Skyscraper::RaiseWindow |
( |
| ) |
|
◆ RefreshConsole()
void Skyscraper::Skyscraper::RefreshConsole |
( |
| ) |
|
◆ Report()
void Skyscraper::Skyscraper::Report |
( |
const std::string & | message | ) |
|
|
private |
◆ ReportError()
bool Skyscraper::Skyscraper::ReportError |
( |
const std::string & | message | ) |
|
|
private |
◆ SelectBuilding()
std::string Skyscraper::Skyscraper::SelectBuilding |
( |
| ) |
|
◆ SetCWD()
bool Skyscraper::Skyscraper::SetCWD |
( |
| ) |
|
◆ SetFullScreen()
void Skyscraper::Skyscraper::SetFullScreen |
( |
bool | enabled | ) |
|
◆ setup()
void Skyscraper::Skyscraper::setup |
( |
| ) |
|
◆ ShowError()
void Skyscraper::Skyscraper::ShowError |
( |
const std::string & | message | ) |
|
◆ ShowMessage()
void Skyscraper::Skyscraper::ShowMessage |
( |
const std::string & | message | ) |
|
◆ Start()
◆ StartSound()
void Skyscraper::Skyscraper::StartSound |
( |
| ) |
|
◆ StopMenu()
void Skyscraper::Skyscraper::StopMenu |
( |
| ) |
|
◆ touchMoved()
bool Skyscraper::Skyscraper::touchMoved |
( |
const OgreBites::TouchFingerEvent & | evt | ) |
|
◆ touchPressed()
bool Skyscraper::Skyscraper::touchPressed |
( |
const OgreBites::TouchFingerEvent & | evt | ) |
|
◆ touchReleased()
bool Skyscraper::Skyscraper::touchReleased |
( |
const OgreBites::TouchFingerEvent & | evt | ) |
|
◆ UnloadSim()
void Skyscraper::Skyscraper::UnloadSim |
( |
| ) |
|
|
private |
◆ UnloadToMenu()
void Skyscraper::Skyscraper::UnloadToMenu |
( |
| ) |
|
◆ HAL
◆ MainScreen
◆ VM
◆ alt_down
bool Skyscraper::Skyscraper::alt_down |
◆ boxes
bool Skyscraper::Skyscraper::boxes |
|
protected |
◆ colliders
bool Skyscraper::Skyscraper::colliders |
|
protected |
◆ ctrl_down
bool Skyscraper::Skyscraper::ctrl_down |
◆ float_down
bool Skyscraper::Skyscraper::float_down |
|
protected |
◆ float_up
bool Skyscraper::Skyscraper::float_up |
|
protected |
◆ freelook
bool Skyscraper::Skyscraper::freelook |
|
protected |
◆ FullScreen
bool Skyscraper::Skyscraper::FullScreen |
◆ IntroMusic
bool Skyscraper::Skyscraper::IntroMusic |
◆ look_down
bool Skyscraper::Skyscraper::look_down |
|
protected |
◆ look_up
bool Skyscraper::Skyscraper::look_up |
|
protected |
◆ Maximized
bool Skyscraper::Skyscraper::Maximized |
◆ mRenderWindow
Ogre::RenderWindow* Skyscraper::Skyscraper::mRenderWindow |
|
private |
◆ shift_down
bool Skyscraper::Skyscraper::shift_down |
◆ ShowMenu
bool Skyscraper::Skyscraper::ShowMenu |
◆ spin_down
bool Skyscraper::Skyscraper::spin_down |
|
protected |
◆ spin_up
bool Skyscraper::Skyscraper::spin_up |
|
protected |
◆ startscreen
◆ startscreen_loaded
bool Skyscraper::Skyscraper::startscreen_loaded |
|
private |
◆ StartupRunning
bool Skyscraper::Skyscraper::StartupRunning |
◆ step_backward
bool Skyscraper::Skyscraper::step_backward |
|
protected |
◆ step_forward
bool Skyscraper::Skyscraper::step_forward |
|
protected |
◆ strafe_left
bool Skyscraper::Skyscraper::strafe_left |
|
protected |
◆ strafe_right
bool Skyscraper::Skyscraper::strafe_right |
|
protected |
◆ turn_left
bool Skyscraper::Skyscraper::turn_left |
|
protected |
◆ turn_right
bool Skyscraper::Skyscraper::turn_right |
|
protected |
◆ Verbose
bool Skyscraper::Skyscraper::Verbose |
◆ vm
VM* Skyscraper::Skyscraper::vm |
|
private |
◆ window
◆ wireframe
int Skyscraper::Skyscraper::wireframe |
The documentation for this class was generated from the following files: