summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-12 03:55:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-16 22:47:14 +0300
commitd0e6d477d245610288ab622ecf47426a9dcbc400 (patch)
treee998d168d8eb4397602021b3b1411f80cc1466a9 /src/graphicsvertexes.h
parent68b1e0ec82321757f2a29792d38d7eabb7d2cf98 (diff)
downloadmanaverse-d0e6d477d245610288ab622ecf47426a9dcbc400.tar.gz
manaverse-d0e6d477d245610288ab622ecf47426a9dcbc400.tar.bz2
manaverse-d0e6d477d245610288ab622ecf47426a9dcbc400.tar.xz
manaverse-d0e6d477d245610288ab622ecf47426a9dcbc400.zip
Add tiles caching for software mode.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index c462de976..73346d08c 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -105,6 +105,24 @@ class OpenGLGraphicsVertexes
};
#endif
+typedef std::vector<DoubleRect*> DoubleRects;
+
+class ImageVertexes
+{
+ public:
+ ImageVertexes() : image(0)
+ { }
+
+ ~ImageVertexes();
+
+ Image *image;
+ DoubleRects sdl;
+
+#ifdef USE_OPENGL
+ std::vector<OpenGLGraphicsVertexes*> ogl;
+#endif
+};
+
class GraphicsVertexes
{
public: