[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.144,2.145 charset.h,2.42,2.43

Max Horn fingolfin at users.sourceforge.net
Thu May 26 05:27:19 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3089

Modified Files:
	charset.cpp charset.h 
Log Message:
Added CharsetRenderer::getCharHeight()

Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.144
retrieving revision 2.145
diff -u -d -r2.144 -r2.145
--- charset.cpp	20 May 2005 22:49:07 -0000	2.144
+++ charset.cpp	26 May 2005 12:26:02 -0000	2.145
@@ -1604,6 +1604,11 @@
 	assert(_current);
 }
 
+int CharsetRendererNut::getCharHeight(byte chr) {
+	assert(_current);
+	return _current->getCharHeight(chr);
+}
+
 int CharsetRendererNut::getCharWidth(byte chr) {
 	assert(_current);
 	return _current->getCharWidth(chr);

Index: charset.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.h,v
retrieving revision 2.42
retrieving revision 2.43
diff -u -d -r2.42 -r2.43
--- charset.h	20 May 2005 22:49:08 -0000	2.42
+++ charset.h	26 May 2005 12:26:03 -0000	2.43
@@ -105,6 +105,7 @@
 	int getCurID() { return _curId; }
 	
 	virtual int getFontHeight() = 0;
+	virtual int getCharHeight(byte chr) { return getFontHeight(); }
 	virtual int getCharWidth(byte chr) = 0;
 	
 	virtual void setColor(byte color) { _color = color; translateColor(); }
@@ -192,6 +193,7 @@
 	void setCurID(byte id);
 	
 	int getFontHeight();
+	int getCharHeight(byte chr);
 	int getCharWidth(byte chr);
 };
 





More information about the Scummvm-git-logs mailing list