From bbbebd9d14c7360dbe250b5e28e1b6505385f7d5 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 29 Jul 2003 06:12:52 +0000 Subject: Some basic suport for reversed text for hebrew version. svn-id: r9278 --- simon/charset.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'simon') diff --git a/simon/charset.cpp b/simon/charset.cpp index 48023dbbce..cf0e44bfb9 100644 --- a/simon/charset.cpp +++ b/simon/charset.cpp @@ -226,7 +226,10 @@ void SimonEngine::video_putchar(FillOrCopyStruct *fcs, byte c) { 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; -- cgit v1.2.3