aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-05-03 16:23:32 +0000
committerMax Horn2006-05-03 16:23:32 +0000
commit3f4427b04a273f58c0bb8373a134f03298598a1a (patch)
treeedd02d31b271ae247cf5ce31c8696088275f8c7d
parente5b2d9a5273ced88e5cad80c9bd38a2fbabafc2f (diff)
downloadscummvm-rg350-3f4427b04a273f58c0bb8373a134f03298598a1a.tar.gz
scummvm-rg350-3f4427b04a273f58c0bb8373a134f03298598a1a.tar.bz2
scummvm-rg350-3f4427b04a273f58c0bb8373a134f03298598a1a.zip
Removed CharsetRendererV3::getFontHeight (it was identical to CharsetRendererCommon::getFontHeight)
svn-id: r22311
-rw-r--r--engines/scumm/charset.cpp7
-rw-r--r--engines/scumm/charset.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index ccfcc652c4..5190475c37 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -269,13 +269,6 @@ int CharsetRendererCommon::getFontHeight() {
return _fontHeight;
}
-int CharsetRendererV3::getFontHeight() {
- if (_vm->_useCJKMode)
- return MAX(_vm->_2byteHeight + 1, _fontHeight);
- else
- return _fontHeight;
-}
-
// do spacing for variable width old-style font
int CharsetRendererClassic::getCharWidth(byte chr) {
if (chr >= 0x80 && _vm->_useCJKMode)
diff --git a/engines/scumm/charset.h b/engines/scumm/charset.h
index 3746f3be4e..25fc1c7788 100644
--- a/engines/scumm/charset.h
+++ b/engines/scumm/charset.h
@@ -164,7 +164,6 @@ public:
void drawChar(int chr, const Graphics::Surface &s, int x, int y);
void setCurID(byte id);
void setColor(byte color);
- int getFontHeight();
int getCharWidth(byte chr);
};