summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.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/opengl1graphics.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/opengl1graphics.h')
-rw-r--r--src/opengl1graphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h
index 05ec9f79b..3943a82fb 100644
--- a/src/opengl1graphics.h
+++ b/src/opengl1graphics.h
@@ -101,6 +101,10 @@ class OpenGL1Graphics : public Graphics
void drawImageRect2(GraphicsVertexes* vert, const ImageRect &imgRect);
+ void calcTile(ImageVertexes *vert, int x, int y);
+
+ void drawTile(ImageVertexes *vert);
+
void updateScreen();
void _beginDraw();