[Scummvm-cvs-logs] SF.net SVN: scummvm: [22311] scummvm/trunk/engines/scumm

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed May 3 09:24:03 CEST 2006


Revision: 22311
Author:   fingolfin
Date:     2006-05-03 09:23:32 -0700 (Wed, 03 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22311&view=rev

Log Message:
-----------
Removed CharsetRendererV3::getFontHeight (it was identical to CharsetRendererCommon::getFontHeight)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/charset.cpp
    scummvm/trunk/engines/scumm/charset.h
Modified: scummvm/trunk/engines/scumm/charset.cpp
===================================================================
--- scummvm/trunk/engines/scumm/charset.cpp	2006-05-03 14:26:59 UTC (rev 22310)
+++ scummvm/trunk/engines/scumm/charset.cpp	2006-05-03 16:23:32 UTC (rev 22311)
@@ -269,13 +269,6 @@
 		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)

Modified: scummvm/trunk/engines/scumm/charset.h
===================================================================
--- scummvm/trunk/engines/scumm/charset.h	2006-05-03 14:26:59 UTC (rev 22310)
+++ scummvm/trunk/engines/scumm/charset.h	2006-05-03 16:23:32 UTC (rev 22311)
@@ -164,7 +164,6 @@
 	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);
 };
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list