comparison engine/core/controller/engine.cpp @ 621:356634098bd9

* Removed the image chunking size variable from engine settings. * Replaced the existing define of PI and added some math related static const variables
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 01 Oct 2010 14:09:47 +0000
parents ad7969d9460b
children 3094988564d5
comparison
equal deleted inserted replaced
620:853d25234671 621:356634098bd9
187 rbackend = "SDL"; 187 rbackend = "SDL";
188 FL_WARN(_log, "Tried to select OpenGL, even though it is not compiled into the engine. Falling back to SDL Render backend"); 188 FL_WARN(_log, "Tried to select OpenGL, even though it is not compiled into the engine. Falling back to SDL Render backend");
189 #endif 189 #endif
190 } 190 }
191 FL_LOG(_log, "Initializing render backend"); 191 FL_LOG(_log, "Initializing render backend");
192 m_renderbackend->setChunkingSize(m_settings.getImageChunkingSize());
193 m_renderbackend->setColorKeyEnabled(m_settings.isColorKeyEnabled()); 192 m_renderbackend->setColorKeyEnabled(m_settings.isColorKeyEnabled());
194 m_renderbackend->init(); 193 m_renderbackend->init();
195 194
196 FL_LOG(_log, "Creating main screen"); 195 FL_LOG(_log, "Creating main screen");
197 m_renderbackend->createMainScreen( 196 m_renderbackend->createMainScreen(