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

Travis Howell kirben at users.sourceforge.net
Tue Jul 29 01:28:12 CEST 2003


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

Modified Files:
	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.12
diff -u -d -r1.11 -r1.12
--- charset.cpp	14 Jun 2003 18:52:29 -0000	1.11
+++ charset.cpp	29 Jul 2003 06:12:52 -0000	1.12
@@ -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