[Scummvm-cvs-logs] CVS: scummvm/scumm charset.h,2.12,2.13

Max Horn fingolfin at users.sourceforge.net
Wed May 14 05:13:11 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv5910

Modified Files:
	charset.h 
Log Message:
force fixed width font in V2 games (our font data is proportional, hence this looks odd for now; proper fix will be to get proper font data)

Index: charset.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.h,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -d -r2.12 -r2.13
--- charset.h	8 May 2003 22:44:46 -0000	2.12
+++ charset.h	14 May 2003 12:12:55 -0000	2.13
@@ -113,6 +113,9 @@
 };
 
 class CharsetRendererV2 : public CharsetRendererV3 {
+protected:
+	int getCharWidth(byte chr) { return 8; }
+
 public:
 	CharsetRendererV2(Scumm *vm) : CharsetRendererV3(vm) {}
 	





More information about the Scummvm-git-logs mailing list