Elaztek Developer Hub
Blamite Game Engine - blam!  00367.02.08.23.1815.blamite
The core library for the Blamite Game Engine.
ogre.cpp File Reference
#include "ogre.h"
#include "components/rendering/rendering.h"
#include <thread>
#include <Strings/components/utils/math/math.h>
#include <OGRE/OgreConfigFile.h>
#include <OGRE/OgreTimer.h>
#include <OGRE/OgreRoot.h>
#include <OGRE/OgreWindow.h>
#include <OGRE/Compositor/OgreCompositorWorkspace.h>
#include <OGRE/Compositor/OgreCompositorManager2.h>
#include <OGRE/OgreRectangle2D2.h>
#include <OGRE/OgreRenderable.h>
#include <OGRE/OgreMovableObject.h>
#include <OGRE/OgreMeshManager.h>
#include <OGRE/OgreMeshManager2.h>
#include <OGRE/OgreItem.h>
#include <OGRE/OgreCamera.h>
#include <OGRE/OgreSphere.h>
#include <OGRE/OgrePlatformInformation.h>
#include <OGRE/OgreHlms.h>
#include <OGRE/OgreMesh2.h>
#include <OGRE/Hlms/Pbs/OgreHlmsPbs.h>
#include <OGRE/Hlms/Pbs/OgreHlmsPbsDatablock.h>
#include "components/content/tags/classes/bitmap.h"
#include "components/content/tags/classes/material.h"
#include "components/content/tags/tag_io.h"
#include "components/ui/imgui/imgui.h"
#include "components/ui/imgui/debug_ui.h"
#include "components/3rdparty/imgui/formats/ogre2/imgui_impl_ogre2.h"
#include "components/3rdparty/imgui/formats/dx11/imgui_impl_dx11.h"
#include "components/3rdparty/imgui/formats/imgui_impl_sdl.h"
#include "components/3rdparty/ogre2/GraphicsSystem.h"
#include "components/3rdparty/ogre2/SdlInputHandler.h"
#include "components/settings/config/config.h"
#include "components/rendering/ogre/compositor/compositor.h"
#include "components/core/director/director.h"
#include "components/ui/blam/ui.h"
#include "components/diagnostics/logger/logger.h"
#include "api/blam_api.h"
#include "core.h"

Variables

Demo::GraphicsSystemogre_graphics_system = nullptr
 
Ogre::Window * renderWindow = nullptr
 
Ogre::Timer timer
 
double timeSinceLast = 1.0 / 60.0
 
Ogre::uint64 startTime
 
bool ogre_initialized = false
 
bool ogre_render_thread_stopped = false
 
bool ogre_stop_render_thread = false
 
bool ogre_use_render_thread = false
 

Variable Documentation

◆ ogre_graphics_system

Demo::GraphicsSystem* ogre_graphics_system = nullptr

◆ ogre_initialized

bool ogre_initialized = false

◆ ogre_render_thread_stopped

bool ogre_render_thread_stopped = false

◆ ogre_stop_render_thread

bool ogre_stop_render_thread = false

◆ ogre_use_render_thread

bool ogre_use_render_thread = false

◆ renderWindow

Ogre::Window* renderWindow = nullptr

◆ startTime

Ogre::uint64 startTime

◆ timer

Ogre::Timer timer

◆ timeSinceLast

double timeSinceLast = 1.0 / 60.0