aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-03-31 14:33:54 +0000
committerTravis Howell2003-03-31 14:33:54 +0000
commit0c0ee744491a30f8b94d93a934b583d6fb3d6f1d (patch)
treeb4a8cffbccbe4cd8425f2950ba7957637499e62f /simon
parent1e089682a022b569821969eab10f13c614db7fcf (diff)
downloadscummvm-rg350-0c0ee744491a30f8b94d93a934b583d6fb3d6f1d.tar.gz
scummvm-rg350-0c0ee744491a30f8b94d93a934b583d6fb3d6f1d.tar.bz2
scummvm-rg350-0c0ee744491a30f8b94d93a934b583d6fb3d6f1d.zip
Add spanish video fonts, not sure why this set is so different.
svn-id: r6892
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp107
1 files changed, 105 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 68278ab1ab..2e55736a13 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -3666,6 +3666,107 @@ static const byte hebrew_video_font[] = {
176, 32, 33, 34, 35, 36, 37, 38,
};
+static const byte spanish_video_font[] = {
+ 4, 43, 0, 178, 0, 38, 0, 176,
+ 32, 112, 112, 32, 32, 0, 32, 0,
+ 48, 48, 96, 0, 0, 0, 0, 0,
+ 80, 0, 112, 8, 120, 136, 120, 0,
+ 80, 0, 112, 136, 136, 136, 112, 0,
+ 80, 0, 144, 144, 144, 144, 104, 0,
+ 0, 16, 40, 16, 42, 68, 58, 0,
+ 48, 48, 96, 0, 0, 0, 0, 0,
+ 0, 4, 8, 8, 8, 8, 4, 0,
+ 0, 32, 16, 16, 16, 16, 32, 0,
+ 0, 0, 20, 8, 62, 8, 20, 0,
+ 96, 144, 144, 160, 144, 144, 160, 128,
+ 0, 0, 0, 0, 0, 48, 48, 96,
+ 0, 0, 0, 240, 100, 0, 178, 0,
+ 9, 0, 176, 48, 48, 0, 32, 64,
+ 0, 112, 248, 128, 112, 0, 112, 136,
+ 152, 168, 200, 136, 112, 0, 32, 96,
+ 32, 32, 32, 32, 112, 0, 112, 136,
+ 8, 48, 64, 136, 248, 0, 112, 136,
+ 8, 48, 8, 136, 112, 0, 16, 48,
+ 80, 144, 248, 16, 56, 0, 248, 128,
+ 240, 8, 8, 136, 112, 0, 48, 64,
+ 128, 240, 136, 136, 112, 0, 248, 136,
+ 8, 16, 32, 32, 32, 0, 112, 136,
+ 136, 112, 136, 136, 112, 0, 112, 136,
+ 136, 120, 8, 16, 96, 0, 0, 0,
+ 48, 48, 0, 48, 48, 0, 32, 64,
+ 0, 112, 8, 248, 120, 0, 32, 64,
+ 0, 192, 64, 64, 224, 0, 32, 64,
+ 0, 112, 136, 136, 112, 0, 32, 64,
+ 0, 144, 144, 144, 104, 0, 112, 136,
+ 8, 16, 32, 0, 32, 0, 80, 160,
+ 0, 240, 136, 136, 136, 0, 112, 136,
+ 136, 248, 136, 136, 136, 0, 240, 72,
+ 72, 112, 72, 72, 240, 0, 48, 72,
+ 128, 128, 128, 72, 48, 0, 224, 80,
+ 72, 72, 72, 80, 224, 0, 248, 72,
+ 64, 112, 64, 72, 248, 0, 248, 72,
+ 64, 112, 64, 64, 224, 0, 48, 72,
+ 128, 152, 136, 72, 56, 0, 136, 136,
+ 136, 248, 136, 136, 136, 0, 248, 32,
+ 32, 32, 32, 32, 248, 0, 24, 8,
+ 8, 8, 136, 136, 112, 0, 200, 72,
+ 80, 96, 80, 72, 200, 0, 224, 64,
+ 64, 64, 64, 72, 248, 0, 136, 216,
+ 168, 168, 136, 136, 136, 0, 136, 200,
+ 168, 152, 136, 136, 136, 0, 112, 136,
+ 136, 136, 136, 136, 112, 0, 240, 72,
+ 72, 112, 64, 64, 224, 0, 112, 136,
+ 136, 136, 136, 168, 112, 8, 240, 72,
+ 72, 112, 72, 72, 200, 0, 112, 136,
+ 128, 112, 8, 136, 112, 0, 248, 168,
+ 32, 32, 32, 32, 112, 0, 136, 136,
+ 136, 136, 136, 136, 120, 0, 136, 136,
+ 136, 80, 80, 32, 32, 0, 136, 136,
+ 136, 136, 168, 216, 136, 0, 136, 136,
+ 80, 32, 80, 136, 136, 0, 136, 136,
+ 136, 112, 32, 32, 112, 0, 248, 136,
+ 16, 32, 64, 136, 248, 0, 0, 14,
+ 8, 8, 8, 8, 14, 0, 0, 128,
+ 64, 32, 16, 8, 4, 0, 0, 112,
+ 16, 16, 16, 16, 112, 0, 32, 0,
+ 32, 64, 128, 136, 112, 0, 32, 0,
+ 32, 32, 112, 112, 32, 0, 80, 0,
+ 144, 144, 144, 144, 104, 0, 0, 0,
+ 112, 8, 120, 136, 120, 0, 192, 64,
+ 80, 104, 72, 72, 112, 0, 0, 0,
+ 112, 136, 128, 136, 112, 0, 24, 16,
+ 80, 176, 144, 144, 112, 0, 0, 0,
+ 112, 136, 248, 128, 112, 0, 48, 72,
+ 64, 224, 64, 64, 224, 0, 0, 0,
+ 104, 144, 144, 112, 136, 112, 192, 64,
+ 80, 104, 72, 72, 200, 0, 64, 0,
+ 192, 64, 64, 64, 224, 0, 8, 0,
+ 8, 8, 8, 8, 136, 112, 192, 64,
+ 72, 80, 96, 80, 200, 0, 192, 64,
+ 64, 64, 64, 64, 224, 0, 0, 0,
+ 144, 216, 168, 136, 136, 0, 0, 0,
+ 240, 136, 136, 136, 136, 0, 0, 0,
+ 112, 136, 136, 136, 112, 0, 0, 0,
+ 176, 72, 72, 112, 64, 224, 0, 0,
+ 104, 144, 144, 112, 16, 56, 0, 0,
+ 176, 72, 72, 64, 224, 0, 0, 0,
+ 120, 128, 112, 8, 240, 0, 64, 64,
+ 240, 64, 64, 72, 48, 0, 0, 0,
+ 144, 144, 144, 144, 104, 0, 0, 0,
+ 136, 136, 136, 80, 32, 0, 0, 0,
+ 136, 136, 168, 216, 144, 0, 0, 0,
+ 136, 80, 32, 80, 136, 0, 0, 0,
+ 136, 136, 136, 112, 32, 192, 0, 0,
+ 248, 144, 32, 72, 248, 0, 32, 80,
+ 0, 96, 144, 144, 96, 0, 0, 14,
+ 8, 48, 8, 8, 14, 0, 0, 8,
+ 8, 8, 8, 8, 8, 0, 0, 112,
+ 16, 12, 16, 16, 112, 0, 0, 0,
+ 0, 0, 0, 0, 248, 0, 139, 2,
+ 178, 252, 8, 0, 176, 240, 8, 0,
+ 176, 0, 16, 0, 176, 255, 64, 0,
+};
+
static const byte video_font[] = {
0, 0, 0, 0, 0, 0, 0, 0,
32, 112, 112, 32, 32, 0, 32, 0,
@@ -3777,9 +3878,11 @@ void SimonState::video_putchar_drawchar(FillOrCopyStruct *fcs, uint x, uint y, b
dst = dx_lock_2();
dst += y * _dx_surface_pitch + x * 8 + fcs->textColumnOffset;
- if (_language == 20)
+ if (_language == 20) {
src = hebrew_video_font + (chr - 0x20) * 8;
- else
+ } else if (_language == 5) {
+ src = spanish_video_font + (chr - 0x20) * 8;
+ } else
src = video_font + (chr - 0x20) * 8;
color = fcs->text_color;