diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-06 21:06:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-06 21:06:21 +0300 |
commit | ad02b24b25f565a274ff8ec8408acefc1c232e12 (patch) | |
tree | b6e1e935fdfab13cae4451a12c59b014a1d8c4a6 /src/safeopenglgraphics.cpp | |
parent | 6cd4c1a2b02726766ad0d5317013ba2e1314c127 (diff) | |
download | manaverse-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.gz manaverse-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.bz2 manaverse-ad02b24b25f565a274ff8ec8408acefc1c232e12.tar.xz manaverse-ad02b24b25f565a274ff8ec8408acefc1c232e12.zip |
Remove unused drawing class.
Diffstat (limited to 'src/safeopenglgraphics.cpp')
-rw-r--r-- | src/safeopenglgraphics.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/safeopenglgraphics.cpp b/src/safeopenglgraphics.cpp index 6b6c80116..076edbfbb 100644 --- a/src/safeopenglgraphics.cpp +++ b/src/safeopenglgraphics.cpp @@ -333,26 +333,6 @@ void SafeOpenGLGraphics::drawRescaledImagePattern(const Image *const image, glEnd(); } -bool SafeOpenGLGraphics::calcImageRect(GraphicsVertexes *const vert, - const int x, const int y, - const int w, const int h, - const Image *const topLeft A_UNUSED, - const Image *const topRight A_UNUSED, - const Image *const bottomLeft A_UNUSED, - const Image *const bottomRight A_UNUSED, - const Image *const top A_UNUSED, - const Image *const right A_UNUSED, - const Image *const bottom A_UNUSED, - const Image *const left A_UNUSED, - const Image *const center A_UNUSED) -{ - if (!vert) - return false; - - vert->init(x, y, w, h); - return true; -} - void SafeOpenGLGraphics::calcTile(ImageCollection *const vertCol A_UNUSED, const Image *const image A_UNUSED, int x A_UNUSED, int y A_UNUSED) @@ -370,18 +350,6 @@ void SafeOpenGLGraphics::drawTile(const ImageVertexes *const vert A_UNUSED) } -void SafeOpenGLGraphics::drawImageRect2(GraphicsVertexes* vert, - const ImageRect &imgRect) -{ - if (!vert) - return; - - drawImageRect(vert->getX(), vert->getY(), vert->getW(), vert->getH(), - imgRect.grid[0], imgRect.grid[2], imgRect.grid[6], imgRect.grid[8], - imgRect.grid[1], imgRect.grid[5], imgRect.grid[7], imgRect.grid[3], - imgRect.grid[4]); -} - void SafeOpenGLGraphics::updateScreen() { BLOCK_START("Graphics::updateScreen") |