Mercurial > fife-parpg
diff engine/core/controller/engine.cpp @ 27:788cb9525b2f
add image and text renderer to generic renderer
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 11:57:48 +0000 |
parents | e5e2fec68834 |
children | 75b6394ced14 |
line wrap: on
line diff
--- a/engine/core/controller/engine.cpp Fri Jul 11 11:29:13 2008 +0000 +++ b/engine/core/controller/engine.cpp Fri Jul 11 11:57:48 2008 +0000 @@ -246,7 +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_view->addRenderer(new GenericRenderer(m_renderbackend, 100, m_imagepool, m_animpool)); m_cursor = new Cursor(m_imagepool, m_animpool, m_renderbackend); FL_LOG(_log, "Engine intialized"); }