From 191fdc614ed8022c145d3530f9d412e715ae37db Mon Sep 17 00:00:00 2001 From: Zaba999 Date: Thu, 20 Sep 2012 22:58:00 +0200 Subject: changed paths for models and levels. Now it's possible to load level. --- src/graphics/engine/engine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/graphics/engine') diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp index bd5f60f..86554e5 100644 --- a/src/graphics/engine/engine.cpp +++ b/src/graphics/engine/engine.cpp @@ -2790,9 +2790,9 @@ void Gfx::CEngine::Draw3DScene() m_device->SetRenderState(Gfx::RENDER_STATE_DEPTH_TEST, true); m_device->SetRenderState(Gfx::RENDER_STATE_LIGHTING, true); m_device->SetRenderState(Gfx::RENDER_STATE_FOG, true); - - float fogStart = m_deepView[m_rankView]*m_fogStart[m_rankView]; - float fogEnd = m_deepView[m_rankView]; +// +// float fogStart = m_deepView[m_rankView]*m_fogStart[m_rankView]; +// float fogEnd = m_deepView[m_rankView]; m_device->SetFogParams(Gfx::FOG_LINEAR, m_fogColor[m_rankView], fogStart, fogEnd, 1.0f); m_device->SetTransform(Gfx::TRANSFORM_PROJECTION, m_matProj); -- cgit v1.2.3-1-g7c22