Mercurial > fife-parpg
diff engine/core/controller/engine.cpp @ 23:e5e2fec68834
add generic renderer
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 10:42:31 +0000 |
parents | ae46cee19e76 |
children | 788cb9525b2f |
line wrap: on
line diff
--- a/engine/core/controller/engine.cpp Fri Jul 11 09:45:58 2008 +0000 +++ b/engine/core/controller/engine.cpp Fri Jul 11 10:42:31 2008 +0000 @@ -75,6 +75,7 @@ #include "view/renderers/cellselectionrenderer.h" #include "view/renderers/blockinginforenderer.h" #include "view/renderers/geometricrenderer.h" +#include "view/renderers/genericrenderer.h" #include "engine.h" #ifdef USE_COCOA @@ -245,6 +246,7 @@ m_view->addRenderer(new QuadTreeRenderer(m_renderbackend, 60)); m_view->addRenderer(new CoordinateRenderer(m_renderbackend, 70, dynamic_cast<AbstractFont*>(m_defaultfont))); m_view->addRenderer(new GeometricRenderer(m_renderbackend, 80)); + m_view->addRenderer(new GenericRenderer(m_renderbackend, 100)); m_cursor = new Cursor(m_imagepool, m_animpool, m_renderbackend); FL_LOG(_log, "Engine intialized"); }