aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichieSams2013-09-21 01:37:41 -0500
committerRichieSams2013-09-21 13:37:38 -0500
commitcfe176619a52de5d31eebbca228639db49110102 (patch)
tree842cf88b7d4144bad87aa44ce27e3256cb23a73c
parent2d9c9e8c7f26a2c5977d52214283893617d97ffc (diff)
downloadscummvm-rg350-cfe176619a52de5d31eebbca228639db49110102.tar.gz
scummvm-rg350-cfe176619a52de5d31eebbca228639db49110102.tar.bz2
scummvm-rg350-cfe176619a52de5d31eebbca228639db49110102.zip
ZVISION: Remove unused function arguments
-rw-r--r--engines/zvision/render_manager.cpp2
-rw-r--r--engines/zvision/truetype_font.cpp2
-rw-r--r--engines/zvision/truetype_font.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index 7f10535bb2..dc942fe3d0 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -367,7 +367,7 @@ Common::Rect RenderManager::renderTextToWorkingWindow(uint32 idNumber, const Com
entry.destY = destY;
// Draw the text to the working window
- entry.data = font->drawTextToSurface(text, destX, destY, textColor, maxWidth, maxHeight, align, wrap);
+ entry.data = font->drawTextToSurface(text, textColor, maxWidth, maxHeight, align, wrap);
entry.width = entry.data->w;
entry.height = entry.data->h;
diff --git a/engines/zvision/truetype_font.cpp b/engines/zvision/truetype_font.cpp
index 8fd331df48..80d0d6bddb 100644
--- a/engines/zvision/truetype_font.cpp
+++ b/engines/zvision/truetype_font.cpp
@@ -72,7 +72,7 @@ bool TruetypeFont::loadFile(const Common::String &filename) {
return true;
}
-Graphics::Surface *TruetypeFont::drawTextToSurface(const Common::String &text, int destX, int destY, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap) {
+Graphics::Surface *TruetypeFont::drawTextToSurface(const Common::String &text, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap) {
if (text.equals("")) {
return nullptr;
}
diff --git a/engines/zvision/truetype_font.h b/engines/zvision/truetype_font.h
index ae7732cba4..d35da878ee 100644
--- a/engines/zvision/truetype_font.h
+++ b/engines/zvision/truetype_font.h
@@ -56,7 +56,7 @@ public:
public:
bool loadFile(const Common::String &filename);
- Graphics::Surface *drawTextToSurface(const Common::String &text, int destX, int destY, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap);
+ Graphics::Surface *drawTextToSurface(const Common::String &text, uint16 textColor, int maxWidth, int maxHeight, Graphics::TextAlign align, bool wrap);
};
} // End of namespace ZVision