summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 02:52:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 02:52:22 +0300
commit7760ed560001714494d7a7de470123a4cd565873 (patch)
treeeacc42d883a83191c94edb3e265c982ef8d963fc /src/graphics.cpp
parent56cfe4d3a38a2440622cf32f613a2b57ae5b3852 (diff)
downloadmanaverse-7760ed560001714494d7a7de470123a4cd565873.tar.gz
manaverse-7760ed560001714494d7a7de470123a4cd565873.tar.bz2
manaverse-7760ed560001714494d7a7de470123a4cd565873.tar.xz
manaverse-7760ed560001714494d7a7de470123a4cd565873.zip
improve map draw speed.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index 6657fe3c1..4580c1015 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -786,8 +786,9 @@ void Graphics::calcImagePattern(GraphicsVertexes* const vert,
vert->incPtr(1);
}
-void Graphics::calcTile(ImageVertexes *const vert, const Image *const image,
- int x, int y)
+void Graphics::calcTile(ImageVertexes *const vert A_UNUSED,
+ const Image *const image A_UNUSED,
+ int x A_UNUSED, int y A_UNUSED)
{
}
@@ -821,7 +822,7 @@ void Graphics::calcTile(ImageVertexes *const vert, int x, int y)
}
}
-void Graphics::drawTile(const ImageVertexes *const vert)
+void Graphics::drawTile(ImageVertexes *const vert)
{
// vert and img must be != 0
const Image *const img = vert->image;