[Scummvm-cvs-logs] CVS: scummvm/simon charset.cpp,1.11,1.11.2.1

Travis Howell kirben at users.sourceforge.net
Tue Jul 29 01:41:14 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv24762/simon

Modified Files:
      Tag: branch-0-5-0
	charset.cpp 
Log Message:

Some basic suport for reversed text for hebrew version.


Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/charset.cpp,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -d -r1.11 -r1.11.2.1
--- charset.cpp	14 Jun 2003 18:52:29 -0000	1.11
+++ charset.cpp	29 Jul 2003 06:12:05 -0000	1.11.2.1
@@ -226,7 +226,10 @@
 			fcs->textRow--;
 		}
 
-		video_putchar_drawchar(fcs, fcs->textColumn + fcs->x, fcs->textRow * 8 + fcs->y, c);
+		if (_language == 20)
+			video_putchar_drawchar(fcs, fcs->width + fcs->x - fcs->textColumn, fcs->textRow * 8 + fcs->y, c);
+		else
+			video_putchar_drawchar(fcs, fcs->textColumn + fcs->x, fcs->textRow * 8 + fcs->y, c);
 
 		fcs->textLength++;
 		fcs->textColumnOffset += 6;





More information about the Scummvm-git-logs mailing list