[Scummvm-cvs-logs] CVS: scummvm/gui newgui.cpp,1.76,1.77

Max Horn fingolfin at users.sourceforge.net
Sun Feb 8 17:41:04 CET 2004


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

Modified Files:
	newgui.cpp 
Log Message:
cleanup

Index: newgui.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/newgui.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- newgui.cpp	5 Feb 2004 00:19:54 -0000	1.76
+++ newgui.cpp	9 Feb 2004 01:37:20 -0000	1.77
@@ -58,10 +58,10 @@
  */
 #else
 #ifdef __PALM_OS__
-static byte *guifont;
+static const byte *guifont;
 #else
 // Built-in font
-static byte guifont[] = {
+static const byte guifont[] = {
 0,0,99,1,226,8,4,8,6,8,6,0,0,0,0,0,0,0,0,0,0,0,8,2,1,8,0,0,0,0,0,0,0,0,0,0,0,0,4,3,7,8,7,7,8,4,5,5,8,7,4,7,3,8,7,7,7,7,8,7,7,7,7,7,3,4,7,5,7,7,8,7,7,7,7,7,7,7,7,5,7,7,
 7,8,7,7,7,7,7,7,7,7,7,8,7,7,7,5,8,5,8,8,7,7,7,6,7,7,7,7,7,5,6,7,5,8,7,7,7,7,7,7,7,7,7,8,7,7,7,5,3,5,7,8,7,7,7,7,7,7,0,6,7,7,7,5,5,5,7,0,6,8,8,7,7,7,7,7,0,7,7,0,0,
 0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,1,3,6,12,
@@ -435,7 +435,7 @@
 #else
 	const uint w = 8;
 	const uint h = 8;
-	const byte *tmp = guifont + 224 + (chr + 1) * 8;
+	const byte *tmp = guifont + 6 + guifont[4] + chr * 8;
 	uint buffer = 0;
 	uint mask = 0;
 





More information about the Scummvm-git-logs mailing list