summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-19 21:32:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-19 21:32:43 +0300
commit08f911af478cb3bbede503a3e704b61da713b74e (patch)
tree9bb352abc64bdc0eb1a08baa7b6f42d5b0c440be /src/graphicsvertexes.cpp
parent4503b047574e1374d16d2bec7e10285f59cc6d51 (diff)
downloadManaVerse-08f911af478cb3bbede503a3e704b61da713b74e.tar.gz
ManaVerse-08f911af478cb3bbede503a3e704b61da713b74e.tar.bz2
ManaVerse-08f911af478cb3bbede503a3e704b61da713b74e.tar.xz
ManaVerse-08f911af478cb3bbede503a3e704b61da713b74e.zip
Rename openglgraphics to normalopenglgraphics.
Diffstat (limited to 'src/graphicsvertexes.cpp')
-rw-r--r--src/graphicsvertexes.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/graphicsvertexes.cpp b/src/graphicsvertexes.cpp
index a74d6558b..d09bc2d91 100644
--- a/src/graphicsvertexes.cpp
+++ b/src/graphicsvertexes.cpp
@@ -42,7 +42,7 @@ SDLGraphicsVertexes::~SDLGraphicsVertexes()
}
#ifdef USE_OPENGL
-OpenGLGraphicsVertexes::OpenGLGraphicsVertexes() :
+NormalOpenGLGraphicsVertexes::NormalOpenGLGraphicsVertexes() :
ptr(0),
mFloatTexArray(nullptr),
mIntTexArray(nullptr),
@@ -54,12 +54,12 @@ OpenGLGraphicsVertexes::OpenGLGraphicsVertexes() :
mVp.reserve(30);
}
-OpenGLGraphicsVertexes::~OpenGLGraphicsVertexes()
+NormalOpenGLGraphicsVertexes::~NormalOpenGLGraphicsVertexes()
{
clear();
}
-void OpenGLGraphicsVertexes::clear()
+void NormalOpenGLGraphicsVertexes::clear()
{
for (std::vector<GLfloat*>::iterator it = mFloatTexPool.begin();
it != mFloatTexPool.end(); ++ it)
@@ -92,38 +92,38 @@ void OpenGLGraphicsVertexes::clear()
}
}
-void OpenGLGraphicsVertexes::init()
+void NormalOpenGLGraphicsVertexes::init()
{
clear();
}
-GLfloat *OpenGLGraphicsVertexes::switchFloatTexArray()
+GLfloat *NormalOpenGLGraphicsVertexes::switchFloatTexArray()
{
mFloatTexArray = new GLfloat[vertexBufSize * 4 + 30];
mFloatTexPool.push_back(mFloatTexArray);
return mFloatTexArray;
}
-GLint *OpenGLGraphicsVertexes::switchIntVertArray()
+GLint *NormalOpenGLGraphicsVertexes::switchIntVertArray()
{
mIntVertArray = new GLint[vertexBufSize * 4 + 30];
mIntVertPool.push_back(mIntVertArray);
return mIntVertArray;
}
-GLint *OpenGLGraphicsVertexes::switchIntTexArray()
+GLint *NormalOpenGLGraphicsVertexes::switchIntTexArray()
{
mIntTexArray = new GLint[vertexBufSize * 4 + 30];
mIntTexPool.push_back(mIntTexArray);
return mIntTexArray;
}
-void OpenGLGraphicsVertexes::switchVp(int n)
+void NormalOpenGLGraphicsVertexes::switchVp(int n)
{
mVp.push_back(n);
}
-int OpenGLGraphicsVertexes::continueVp()
+int NormalOpenGLGraphicsVertexes::continueVp()
{
if (mVp.empty())
{
@@ -137,7 +137,7 @@ int OpenGLGraphicsVertexes::continueVp()
}
}
-GLfloat *OpenGLGraphicsVertexes::continueFloatTexArray()
+GLfloat *NormalOpenGLGraphicsVertexes::continueFloatTexArray()
{
if (mFloatTexPool.empty())
{
@@ -151,7 +151,7 @@ GLfloat *OpenGLGraphicsVertexes::continueFloatTexArray()
return mFloatTexArray;
}
-GLint *OpenGLGraphicsVertexes::continueIntVertArray()
+GLint *NormalOpenGLGraphicsVertexes::continueIntVertArray()
{
if (mIntVertPool.empty())
{
@@ -165,7 +165,7 @@ GLint *OpenGLGraphicsVertexes::continueIntVertArray()
return mIntVertArray;
}
-GLint *OpenGLGraphicsVertexes::continueIntTexArray()
+GLint *NormalOpenGLGraphicsVertexes::continueIntTexArray()
{
if (mIntTexPool.empty())
{
@@ -239,7 +239,7 @@ ImageVertexes::ImageVertexes() :
{
sdl.reserve(30);
#ifdef USE_OPENGL
- ogl = new OpenGLGraphicsVertexes();
+ ogl = new NormalOpenGLGraphicsVertexes();
#endif
}