From 3f4427b04a273f58c0bb8373a134f03298598a1a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 May 2006 16:23:32 +0000 Subject: Removed CharsetRendererV3::getFontHeight (it was identical to CharsetRendererCommon::getFontHeight) svn-id: r22311 --- engines/scumm/charset.cpp | 7 ------- engines/scumm/charset.h | 1 - 2 files changed, 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); }; -- cgit v1.2.3