Mercurial > fife-parpg
diff engine/core/view/renderers/genericrenderer.i @ 32:75b6394ced14
* remove geometric renderer, its not replaced by the more functional generic renderern
* add grouing to generic renderer, probably this should be exported to the client in any way
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 15:37:16 +0000 |
parents | 0cb049f291e1 |
children | 90005975cdbb |
line wrap: on
line diff
--- a/engine/core/view/renderers/genericrenderer.i Fri Jul 11 14:35:31 2008 +0000 +++ b/engine/core/view/renderers/genericrenderer.i Fri Jul 11 15:37:16 2008 +0000 @@ -120,12 +120,12 @@ ~GeometricRenderer(); std::string getName(); static GenericRenderer* getInstance(IRendererContainer* cnt); - void addLine(GenericRendererNode n1, GenericRendererNode n2, uint8_t r, uint8_t g, uint8_t b); - void addPoint(GenericRendererNode n, uint8_t r, uint8_t g, uint8_t b); - void addQuad(GenericRendererNode n1, GenericRendererNode n2, GenericRendererNode n3, GenericRendererNode n4, uint8_t r, uint8_t g, uint8_t b); - void addText(GenericRendererNode n, AbstractFont* font, std::string text); - void addImage(GenericRendererNode n, int image); - void addAnimation(GenericRendererNode n, int animation); - void removeAll(); + void addLine(int group, GenericRendererNode n1, GenericRendererNode n2, uint8_t r, uint8_t g, uint8_t b); + void addPoint(int group, GenericRendererNode n, uint8_t r, uint8_t g, uint8_t b); + void addQuad(int group, GenericRendererNode n1, GenericRendererNode n2, GenericRendererNode n3, GenericRendererNode n4, uint8_t r, uint8_t g, uint8_t b); + void addText(int group, GenericRendererNode n, AbstractFont* font, std::string text); + void addImage(int group, GenericRendererNode n, int image); + void addAnimation(int group, GenericRendererNode n, int animation); + void removeAll(int group); }; }