summaryrefslogtreecommitdiff
path: root/src/render/sdlgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:42:06 +0300
commit5546ac2f1a459b3fba47b42d546469cdae3c1c27 (patch)
tree311576ac10867d5c116c1e13bd542f05be3ebe64 /src/render/sdlgraphics.cpp
parent53d28e67f8b7966596818af7cbfd360df241b332 (diff)
downloadmanaverse-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.gz
manaverse-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.bz2
manaverse-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.xz
manaverse-5546ac2f1a459b3fba47b42d546469cdae3c1c27.zip
rename drawTile methods into separate names drawTileVertexes, drawTileCollection.
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r--src/render/sdlgraphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index b3d962d9f..52439f1c3 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -501,7 +501,8 @@ void SDLGraphics::calcTileCollection(ImageCollection *const vertCol,
}
}
-void SDLGraphics::drawTile(const ImageCollection *const vertCol)
+void SDLGraphics::drawTileCollection(const ImageCollection
+ *const vertCol)
{
const ImageVertexesVector &draws = vertCol->draws;
const ImageCollectionCIter it_end = draws.end();
@@ -521,7 +522,7 @@ void SDLGraphics::drawTile(const ImageCollection *const vertCol)
}
}
-void SDLGraphics::drawTile(const ImageVertexes *const vert)
+void SDLGraphics::drawTileVertexes(const ImageVertexes *const vert)
{
// vert and img must be != 0
const Image *const img = vert->image;