Cameron Cawley
f9dc98b0f6
MYST3: Remove unneeded use of Graphics::ColorMasks
2021-06-24 11:55:54 +02:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv ( #2586 )
...
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.
It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Paweł Kołodziejski
d26f718cf3
MYST3: Do dot use ellipsis in text for game.
2020-10-16 23:44:26 +02:00
Pawel Kolodziejski
b586571900
ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789
2020-05-09 20:05:54 +02:00
Bastien Bouclet
b4d0b8eee6
MYST3: Rework archive handling to be more flexible
2020-03-28 08:59:11 +01:00
Bastien Bouclet
f5319ce6e6
MYST3: Allow the widescreen mod to work in windowed mode
2018-08-11 11:17:40 +02:00
Bastien Bouclet
ea0ba32853
MYST3: Make sure the width of the subtitles texture is even
...
Some graphics drivers seem to dislike odd texture size even though
OpenGL allows it.
Fixes #1445 .
2018-07-21 13:34:03 +02:00
Bastien Bouclet
1e2651e4e1
COMMON: Introduce a charset encoding enumeration
...
This abstraction allows code to refer to charsets using an id instead
of their iconv names. Iconv names are implementation specific.
For example, libiconv names the Mac Central European charset
'maccentraleurope' while glibc-iconv uses 'mac-centraleurope'.
Fixes #1387 .
2017-12-19 17:00:27 +01:00
dagashiya
7569c38b55
MYST3: added an appropriate encoding for Polish version which fixes subtitles
2017-12-13 11:51:16 +01:00
Bastien Bouclet
b97e49c3ee
MYST3: Change surface data to always be in the RGBA byte order
...
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 09:36:31 +02:00
Bastien Bouclet
e29c7ded48
MYST3: Add minimal BiDi processing for the Hebrew version
...
Fixes rendering the subtitles from right to left
2017-06-20 14:03:55 +02:00
Bastien Bouclet
c197adfa46
MYST3: Force the Hebrew subtitles to use the cp1255 encoding
2017-06-16 19:00:49 +02:00
Bastien Bouclet
2f7bb9228a
MYST3: Add a subtitle font mapping for the Hebrew version
...
It's unknown what font the "Arial2" font face actually is.
Users should provide a font with Hebrew glyphs as "hebrew.ttf".
2017-06-14 21:46:29 +02:00
Bastien Bouclet
264b5a3c88
MYST3: Push down header includes
2016-10-29 10:41:46 +02:00
Bastien Bouclet
19a8b11d85
MYST3: Initial version of the widescreen mod
2016-10-16 09:35:40 +02:00
Bastien Bouclet
27cb3aab04
MYST3: Restore the charset conversion code
...
It was accidentally removed in 6f2bb118e6283394bab34c2efec50bcf3c562930
2016-08-22 20:18:22 +02:00
Bastien Bouclet
d4a50ba13f
MYST3: Don't display the last drawn subtitle when no phrase is found
...
Fixes #1291
2016-07-26 19:03:39 +02:00
Bastien Bouclet
4c9ae35e88
MYST3: Change the room name to the String type
...
And remove slightly hazardous C string handling
2015-12-28 11:15:02 +01:00
Bastien Bouclet
8ac1ce49f8
MYST3: Add support for the xbox movie based subtitles
2015-04-19 11:45:48 +02:00
Bastien Bouclet
6f2bb118e6
MYST3: Refactor subtitles handling to allow different kinds of subtitles
2015-03-22 17:47:19 +01:00
Bastien Bouclet
47fe2503b7
MYST3: Add support for more subtitles charsets
...
Fix #1156
2015-01-12 19:52:52 +01:00
Bastien Bouclet
555afa8136
MYST3: Add support for the Japanese version subtitles
...
Iconv is used to convert from CP 932 to Unicode.
Since iconv support is not yet included in ResidualVM,
this does not work properly, but at least it does not
crash anymore.
The game does not provide the TTF font required to render
the Japanese characters. The user must provide a font
named "msgothic.ttf".
2014-09-05 07:22:48 +02:00
Bastien Bouclet
cefee8be00
MYST3: Draw the subtitles with the native resolution
...
The subtitles are not scaled up anymore when playing
with a resolution higher than 640x480
2014-09-02 19:34:37 +02:00
Torbjörn Andersson
8fa99a265c
MYST3: Don't add terminating '\0' to subtitle string. Fixes #1040 .
...
It's not needed when using Common::String, since they keep track
of the length in a separate field, and it caused glitches when
ResidualVM was compiled without TTF support. See issue #1040 ,
"MYST3: Subtitles show box at end of every line", for an example.
2014-08-18 17:47:38 +02:00
Pawel Kolodziejski
728e4183fe
MYST3: formatting code
2014-07-03 20:18:21 +02:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02:00
Bastien Bouclet
d495731508
MYST3: Add the update phase of the resonance rings effect
2014-03-15 10:51:07 +01:00
Pawel Kolodziejski
790db038c0
ALL: sync with scummvm
2013-10-13 11:30:34 +02:00
Bastien Bouclet
d04cbec645
MYST3: Use a factory method for subtitles to handle constructor failure
2012-02-12 11:02:11 +01:00
Bastien Bouclet
6a1511e1f9
MYST3: Use the TTF font provided by the game for subtitles
2012-02-12 09:59:12 +01:00
Bastien Bouclet
50bb94db2d
MYST3: Use RGB565 surfaces for the subtitles to allow BDF fonts
2012-02-12 09:41:44 +01:00
Bastien Bouclet
0286180765
MYST3: Apply the charset for the subtitles
2012-02-12 09:25:33 +01:00
Bastien Bouclet
22256e0f41
MYST3: Use correct positionning information for the subtitles
2012-02-12 08:48:04 +01:00
Bastien Bouclet
46842b0dc0
MYST3: Add preliminary hotspot subtitle support
2012-02-11 14:40:16 +01:00