summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.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/sdl2graphics.cpp
parent53d28e67f8b7966596818af7cbfd360df241b332 (diff)
downloadmv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.gz
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.bz2
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.tar.xz
mv-5546ac2f1a459b3fba47b42d546469cdae3c1c27.zip
rename drawTile methods into separate names drawTileVertexes, drawTileCollection.
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r--src/render/sdl2graphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index 7169ee9eb..979de3c31 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -385,7 +385,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();
@@ -405,7 +406,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;