From ad02b24b25f565a274ff8ec8408acefc1c232e12 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Dec 2012 21:06:21 +0300 Subject: Remove unused drawing class. --- src/graphicsvertexes.h | 69 -------------------------------------------------- 1 file changed, 69 deletions(-) (limited to 'src/graphicsvertexes.h') 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 *getRectsSDL(); - - const std::vector *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 -- cgit v1.2.3-60-g2f50