Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
cqsp::scene::LoadingScene Class Reference

#include <loadingscene.h>

Inheritance diagram for cqsp::scene::LoadingScene:
cqsp::client::Scene cqsp::engine::Scene

Classes

struct  LoadingDataModel
 

Public Member Functions

 LoadingScene (cqsp::engine::Application &app)
 
 ~LoadingScene ()
 
void Init ()
 
void Update (float deltaTime)
 
void Ui (float deltaTime)
 
void Render (float deltaTime)
 
void LoadResources ()
 
- Public Member Functions inherited from cqsp::client::Scene
 Scene (cqsp::engine::Application &app)
 
cqsp::common::UniverseGetUniverse ()
 
scripting::ScriptInterfaceGetScriptInterface ()
 
- Public Member Functions inherited from cqsp::engine::Scene
 Scene (Application &app)
 
 Scene ()
 
virtual ~Scene ()
 
ApplicationGetApp ()
 
cqsp::asset::AssetManagerGetAssetManager ()
 

Private Member Functions

void LoadFont ()
 

Private Attributes

float windowWidth
 
float windowHeight
 
std::atomic< bool > m_done_loading
 
std::unique_ptr< std::thread > thread
 
std::atomic< float > percentage
 
cqsp::asset::AssetLoader assetLoader
 
Rml::ElementDocument * document
 
bool need_halt = false
 
struct cqsp::scene::LoadingScene::LoadingDataModel loading_data
 
Rml::DataModelHandle model_handle
 

Constructor & Destructor Documentation

◆ LoadingScene()

cqsp::scene::LoadingScene::LoadingScene ( cqsp::engine::Application app)
explicit

◆ ~LoadingScene()

cqsp::scene::LoadingScene::~LoadingScene ( )

Member Function Documentation

◆ Init()

void cqsp::scene::LoadingScene::Init ( )
virtual

Implements cqsp::engine::Scene.

◆ LoadFont()

void cqsp::scene::LoadingScene::LoadFont ( )
private

◆ LoadResources()

void cqsp::scene::LoadingScene::LoadResources ( )

◆ Render()

void cqsp::scene::LoadingScene::Render ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

◆ Ui()

void cqsp::scene::LoadingScene::Ui ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

◆ Update()

void cqsp::scene::LoadingScene::Update ( float  deltaTime)
virtual

Implements cqsp::engine::Scene.

Member Data Documentation

◆ assetLoader

cqsp::asset::AssetLoader cqsp::scene::LoadingScene::assetLoader
private

◆ document

Rml::ElementDocument* cqsp::scene::LoadingScene::document
private

◆ loading_data

struct cqsp::scene::LoadingScene::LoadingDataModel cqsp::scene::LoadingScene::loading_data
private

◆ m_done_loading

std::atomic<bool> cqsp::scene::LoadingScene::m_done_loading
private

◆ model_handle

Rml::DataModelHandle cqsp::scene::LoadingScene::model_handle
private

◆ need_halt

bool cqsp::scene::LoadingScene::need_halt = false
private

◆ percentage

std::atomic<float> cqsp::scene::LoadingScene::percentage
private

◆ thread

std::unique_ptr<std::thread> cqsp::scene::LoadingScene::thread
private

◆ windowHeight

float cqsp::scene::LoadingScene::windowHeight
private

◆ windowWidth

float cqsp::scene::LoadingScene::windowWidth
private

The documentation for this class was generated from the following files: