summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-17 18:16:49 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-17 20:08:12 +0300
commit6afba95ef62b22c303336adba6d891eeffe66c49 (patch)
tree2e395c216f22479064ad5cf2bda612d8ecb9f201 /src/openglgraphics.h
parentb83bca17d42761c41f097ea315d01bb89105f618 (diff)
downloadManaVerse-6afba95ef62b22c303336adba6d891eeffe66c49.tar.gz
ManaVerse-6afba95ef62b22c303336adba6d891eeffe66c49.tar.bz2
ManaVerse-6afba95ef62b22c303336adba6d891eeffe66c49.tar.xz
ManaVerse-6afba95ef62b22c303336adba6d891eeffe66c49.zip
Add basic tiles caching for opengl.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h4
1 files changed, 4 insertions, 0 deletions
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();