summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-18 00:18:05 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-18 00:18:05 +0300
commitc0d0f64cc4d9df7dc0430cf33eff118fc951ee35 (patch)
tree8c2b1a98a250f07f19a96678c7d81ea189d7aa3b /src/map.cpp
parent13692130cf5545d183d336a7f560cb41488e2e63 (diff)
downloadplus-c0d0f64cc4d9df7dc0430cf33eff118fc951ee35.tar.gz
plus-c0d0f64cc4d9df7dc0430cf33eff118fc951ee35.tar.bz2
plus-c0d0f64cc4d9df7dc0430cf33eff118fc951ee35.tar.xz
plus-c0d0f64cc4d9df7dc0430cf33eff118fc951ee35.zip
Remove unused parameters.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 4da46c4a8..838a2c68f 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -282,9 +282,7 @@ void MapLayer::updateSDL(Graphics *graphics, int startX, int startY,
}
}
-void MapLayer::drawSDL(Graphics *graphics, int startX, int startY,
- int endX, int endY, int scrollX, int scrollY,
- int debugFlags)
+void MapLayer::drawSDL(Graphics *graphics)
{
MapRows::iterator rit = mTempRows.begin();
MapRows::iterator rit_end = mTempRows.end();
@@ -372,9 +370,7 @@ void MapLayer::updateOGL(Graphics *graphics, int startX, int startY,
}
}
-void MapLayer::drawOGL(Graphics *graphics, int startX, int startY,
- int endX, int endY, int scrollX, int scrollY,
- int debugFlags)
+void MapLayer::drawOGL(Graphics *graphics)
{
MapRows::iterator rit = mTempRows.begin();
MapRows::iterator rit_end = mTempRows.end();
@@ -874,8 +870,7 @@ void Map::draw(Graphics *graphics, int scrollX, int scrollY)
endX, endY, scrollX, scrollY, mDebugFlags);
}
- (*layeri)->drawOGL(graphics, startX, startY, endX, endY,
- scrollX, scrollY, mDebugFlags);
+ (*layeri)->drawOGL(graphics);
}
else
{
@@ -886,8 +881,7 @@ void Map::draw(Graphics *graphics, int scrollX, int scrollY)
endX, endY, scrollX, scrollY, mDebugFlags);
}
- (*layeri)->drawSDL(graphics, startX, startY, endX, endY,
- scrollX, scrollY, mDebugFlags);
+ (*layeri)->drawSDL(graphics);
*/
(*layeri)->draw(graphics, startX, startY, endX, endY,
scrollX, scrollY, mDebugFlags);