From 6afba95ef62b22c303336adba6d891eeffe66c49 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2011 18:16:49 +0300 Subject: Add basic tiles caching for opengl. --- src/openglgraphics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/openglgraphics.h') diff --git a/src/openglgraphics.h b/src/openglgraphics.h index 3fa08f290..12eb2d9f8 100644 --- a/src/openglgraphics.h +++ b/src/openglgraphics.h @@ -94,6 +94,10 @@ class OpenGLGraphics : public Graphics void calcImagePattern(GraphicsVertexes* vert, Image *image, int x, int y, int w, int h); + void calcTile(ImageVertexes *vert, int x, int y); + + void drawTile(ImageVertexes *vert); + void drawImagePattern2(GraphicsVertexes *vert, Image *image); void updateScreen(); -- cgit v1.2.3-60-g2f50