summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-06 21:06:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-06 21:06:21 +0300
commitad02b24b25f565a274ff8ec8408acefc1c232e12 (patch)
treeb6e1e935fdfab13cae4451a12c59b014a1d8c4a6 /src/graphicsvertexes.h
parent6cd4c1a2b02726766ad0d5317013ba2e1314c127 (diff)
downloadmanaplus-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.gz
manaplus-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.bz2
manaplus-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.xz
manaplus-ad02b24b25f565a274ff8ec8408acefc1c232e12.zip
Remove unused drawing class.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h
index 8a8c1133e..b5bb19749 100644
--- a/src/graphicsvertexes.h
+++ b/src/graphicsvertexes.h
@@ -21,7 +21,6 @@
#ifndef GRAPHICSVERTEXES_H
#define GRAPHICSVERTEXES_H
-
#include "main.h"
#include "localconsts.h"
@@ -67,10 +66,6 @@ class SDLGraphicsVertexes final
};
#ifdef USE_OPENGL
-class SafeOpenGLGraphicsVertexes final
-{
-};
-
class NormalOpenGLGraphicsVertexes final
{
public:
@@ -176,70 +171,6 @@ class ImageCollection final
ImageVertexesVector draws;
};
-class GraphicsVertexes final
-{
- public:
- GraphicsVertexes();
-
- A_DELETE_COPY(GraphicsVertexes)
-
- ~GraphicsVertexes();
-
- static void setLoadAsOpenGL(int useOpenGL);
-
- SDLGraphicsVertexes sdl[5];
-
-#ifdef USE_OPENGL
-// SafeOpenGLGraphicsVertexes ogl1[5];
-
- NormalOpenGLGraphicsVertexes ogl[5];
-#endif
-
- void init(const int x, const int y, const int w, const int h);
-
- void pushSDL(const SDL_Rect &r1, const SDL_Rect &r2);
-
- void clearSDL();
-
- std::vector<DoubleRect*> *getRectsSDL();
-
- const std::vector<DoubleRect*> *getRectsSDLconst() const;
-
- void incPtr(const int num = 1)
- { mPtr += num; }
-
- void setPtr(const int num)
- { mPtr = num; }
-
-#ifdef USE_OPENGL
- NormalOpenGLGraphicsVertexes &getOGL() A_WARN_UNUSED
- { return ogl[mPtr]; }
-
- const NormalOpenGLGraphicsVertexes &getOGLconst() const A_WARN_UNUSED
- { return ogl[mPtr]; }
-#endif
-
- int getX() const A_WARN_UNUSED
- { return mX; }
-
- int getY() const A_WARN_UNUSED
- { return mY; }
-
- int getW() const A_WARN_UNUSED
- { return mW; }
-
- int getH() const A_WARN_UNUSED
- { return mH; }
-
- int mX, mY, mW, mH;
- int mPtr;
-
- private:
-#ifdef USE_OPENGL
- static int mUseOpenGL;
-#endif
-};
-
#ifdef USE_OPENGL
extern unsigned int vertexBufSize;
#endif