This is an automated email from the git hooks/post-receive script. odyx pushed a commit to branch upstream/latest in repository colobot.
commit fa4c70d1fe7da3b511cc1492a1cc35fb66204a3b Author: krzys-h <krzy...@interia.pl> Date: Tue Nov 11 15:38:11 2014 +0100 Resetting fields in scene to defaults Fixes #218 --- src/object/robotmain.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index ee01767..698329c 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -3766,6 +3766,17 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) m_colorRefWater.b = 240.0f/256.0f; // cyan m_colorRefWater.a = 0.0f; m_colorNewWater = m_colorRefWater; + + m_engine->SetAmbientColor(Gfx::Color(0.5f, 0.5f, 0.5f, 0.5f), 0); + m_engine->SetAmbientColor(Gfx::Color(0.5f, 0.5f, 0.5f, 0.5f), 1); + m_engine->SetFogColor(Gfx::Color(1.0f, 1.0f, 1.0f, 1.0f), 0); + m_engine->SetFogColor(Gfx::Color(1.0f, 1.0f, 1.0f, 1.0f), 1); + m_engine->SetDeepView(1000.0f, 0); + m_engine->SetDeepView(1000.0f, 1); + m_engine->SetFogStart(0.75f, 0); + m_engine->SetFogStart(0.75f, 1); + m_engine->SetSecondTexture(""); + m_engine->SetForegroundName(""); m_dialog->BuildResumeName(m_title, base, rank); m_dialog->BuildResumeName(m_resume, base, rank); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits