diff options
Diffstat (limited to 'src/graphics/common/engine.cpp')
-rw-r--r-- | src/graphics/common/engine.cpp | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/graphics/common/engine.cpp b/src/graphics/common/engine.cpp index dd1d23f..e6dcfc7 100644 --- a/src/graphics/common/engine.cpp +++ b/src/graphics/common/engine.cpp @@ -52,7 +52,7 @@ Gfx::CEngine::CEngine(CInstanceManager *iMan, CApplication *app) m_iMan->AddInstance(CLASS_ENGINE, this); m_app = app; - m_light = NULL; + m_lightMan = NULL; m_text = NULL; m_particle = NULL; m_water = NULL; @@ -203,7 +203,7 @@ bool Gfx::CEngine::Create() { m_wasInit = true; - /*m_light = new Gfx::CLight(m_iMan, this); + /*m_lightMan = new Gfx::CLight(m_iMan, this); m_text = new Gfx::CText(m_iMan, this); m_particle = new Gfx::CParticle(m_iMan, this); m_water = new Gfx::CWater(m_iMan, this); @@ -222,8 +222,8 @@ void Gfx::CEngine::Destroy() { // TODO - /*delete m_light; - m_light = NULL; + /*delete m_lightMan; + m_lightMan = NULL; delete m_text; m_text = NULL; @@ -678,6 +678,21 @@ void Gfx::CEngine::DrawMouseSprite(Math::Point pos, Math::Point size, int icon) AddStatisticTriangle(2); } +bool Gfx::CEngine::GetPause() +{ + return m_pause; +} + +Math::Vector Gfx::CEngine::GetLookatPt() +{ + return m_lookatPt; +} + +Math::Vector Gfx::CEngine::GetEyePt() +{ + return m_eyePt; +} + void Gfx::CEngine::SetMouseVisible(bool visible) { m_mouseVisible = visible; |