diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-17 18:16:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-17 20:08:12 +0300 |
commit | 6afba95ef62b22c303336adba6d891eeffe66c49 (patch) | |
tree | 2e395c216f22479064ad5cf2bda612d8ecb9f201 /src/opengl1graphics.h | |
parent | b83bca17d42761c41f097ea315d01bb89105f618 (diff) | |
download | manaplus-6afba95ef62b22c303336adba6d891eeffe66c49.tar.gz manaplus-6afba95ef62b22c303336adba6d891eeffe66c49.tar.bz2 manaplus-6afba95ef62b22c303336adba6d891eeffe66c49.tar.xz manaplus-6afba95ef62b22c303336adba6d891eeffe66c49.zip |
Add basic tiles caching for opengl.
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r-- | src/opengl1graphics.h | 4 |
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(); |