Mercurial > fife-parpg
comparison engine/core/view/renderers/cellselectionrenderer.cpp @ 482:16c2b3ee59ce
* Merged the view performance branch back into trunk. fixes[ticket:419]
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 29 Apr 2010 13:51:45 +0000 |
parents | 51cc05d862f2 |
children | b2feacaed53c |
comparison
equal
deleted
inserted
replaced
481:1f37adc9a685 | 482:16c2b3ee59ce |
---|---|
88 } | 88 } |
89 } | 89 } |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 void CellSelectionRenderer::render(Camera* cam, Layer* layer, std::vector<Instance*>& instances) { | 93 void CellSelectionRenderer::render(Camera* cam, Layer* layer, RenderList& instances) { |
94 std::vector<Location>::const_iterator locit = m_locations.begin(); | 94 std::vector<Location>::const_iterator locit = m_locations.begin(); |
95 | 95 |
96 for (; locit != m_locations.end(); locit++) { | 96 for (; locit != m_locations.end(); locit++) { |
97 const Location loc = *locit; | 97 const Location loc = *locit; |
98 if (layer != loc.getLayer()) { | 98 if (layer != loc.getLayer()) { |