Commit Graph
3501 Commits
Author SHA1 Message Date
Eugene Sandulenko 79ca0011b1 SCUMM: Show compiled-in subengines 2020-11-28 19:10:52 +01:00
Cameron Cawley 16706dc63f SCUMM: Allow detecting games from disabled subengines 2020-11-28 19:06:01 +01:00
Ben Castricum 1fd7718ef8 SCUMM: Add MD5 for Zak FM-TOWNS Japanese (#2623) 2020-11-24 01:24:32 +02:00
Vladimir Serbinenko 41aa180ad4 SCUMM: Add RuSCUMM version of Indiana Jones and the Fate of Atlantis 2020-11-23 17:13:15 +01:00
Vladimir Serbinenko 0d521a12b8 SCUMM: Decode resource strings using CP866 for Russian translations 2020-11-23 17:13:15 +01:00
Andrea Boscarino 5ea8e62e53 SCUMM: COMI: improve handling of iMUSE markers and triggers 2020-11-22 20:56:50 +01:00
Andrea Boscarino 8be297ea4f SCUMM: COMI: handle edge-case for "start" marker in iMUSE Digital 2020-11-22 20:56:50 +01:00
AndywinXp 3d9a886204 SCUMM: COMI: prevent SFX and VOICE from using fade-in (#2631)
* SCUMM: COMI: prevent SFX and VOICE from using fade-in
2020-11-22 19:42:18 +01:00
Cameron Cawley 01b4432825 BACKENDS: Use Common::U32String for OSystem::setWindowCaption 2020-11-22 17:20:19 +00:00
athrxx b91f4e3e4e SCUMM: fix warning (unused var) 2020-11-21 13:59:46 +01:00
AndywinXp 284f42d555 SCUMM: COMI (Demo): properly handle demo music and transitions (#2622)
* SCUMM: COMI (Demo): properly handle demo music and transitions
2020-11-17 06:36:43 +01:00
wonst719 d2aedb650b SCUMM: Cleanup Korean Multi-font code
- Remove unused code
- Fix uninitialized variables
2020-11-17 03:06:21 +09:00
Cameron Cawley c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00: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
wonst719 837b94e83f SCUMM: Fix cursor with Korean fan translated Loom
- Tested with all known CJK versions of Loom (FMT/Japanese, PCE/Japanese)
2020-11-15 19:25:07 +09:00
wonst719 7cfd3feec6 SCUMM: Fix OOB access in CharsetRendererPC::drawBits1Kor() 2020-11-15 17:33:49 +09:00
wonst719 4f31022bb0 SCUMM: Implement language bundle for Korean fan translation (#2620) 2020-11-15 15:45:07 +09:00
AndywinXp 924a62b40b SCUMM: COMI: Fix #4635/#10473 and #4391 (iMUSE Digital) (#2596)
* SCUMM: COMI: Fix iMUSE Digital #4635/#10473 bugs
* SCUMM: COMI: Fix #4391 iMUSE Digital fades
Co-authored-by: Andrea Boscarino <andrea.boscarino@studio.unibo.it>
2020-11-12 06:40:43 +01:00
Eugene Sandulenko 5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
wonst719 a9541ca48b SCUMM: Cleanup Korean line break processing 2020-11-10 01:10:09 +09:00
wonst719 b99a748b4e SCUMM: Add comment for Korean postposition handling 2020-11-10 01:10:09 +09:00
wonst719 1ce198f06b SCUMM: Replace Scumm::checkHangul() with Scumm::checkKSCode()
- the two functions were identical
2020-11-10 01:10:09 +09:00
wonst719 f468db1c63 SCUMM: Guard Korean postposition code against existing code 2020-11-08 13:34:44 +09:00
wonst719 4246929148 SCUMM: Move CharsetRenderer::isScummvmKorTarget() to ScummEngine 2020-11-08 13:34:44 +09:00
athrxx 6000a0b472 SCUMM: (MI1/SegaCD/JP) - fix bug 11943
(SCUMM: Invalid text rendering with Monkey Island 1 (SegaCD Japanese))

Only add vs->xstart offset if the font is actually rendered on the vs.
2020-11-07 19:59:41 +01:00
Eugene Sandulenko f8216ed85f SCUMM: Fix warning 2020-11-06 19:53:05 +01:00
Eugene Sandulenko 100688c225 SCUMM: Moved out Korean-specific code into separate methods 2020-11-06 19:53:05 +01:00
Eugene Sandulenko 819dd59f77 JANITORIAL: Formatting fixes 2020-11-06 19:53:05 +01:00
wonst719 1a0c320616 SCUMM: Fix deepcode warning
- use memcpy() instead of strcpy() to insert linebreak character
2020-11-06 19:35:34 +01:00
wonst719 145617ce69 SCUMM: Hacks for alternative Korean line-break 2020-11-06 19:35:34 +01:00
wonst719 fe756f6921 SCUMM: Optimize Korean final consonant table 2020-11-06 19:35:12 +01:00
wonst719 7a2a0542fc SCUMM: Support variation of Korean postpositions 2020-11-06 19:35:12 +01:00
wonst719 0818564531 SCUMM: Fix deepcode warning from multifont load method
- use snprintf() instead of sprintf()
2020-11-06 19:29:47 +01:00
wonst719 345771f574 SCUMM: Add multi-font support for Korean fan translated games 2020-11-06 19:29:47 +01:00
wonst719 9a54c220c4 SCUMM: Enable basic Korean fan translation 2020-11-06 19:26:50 +01:00
athrxx 7b7bea9fe5 SCUMM: (DIG/Korean) - fix Korean newline character
(I haven't seen any cases where it matters, but it should be correct nonetheless)
2020-10-31 15:46:23 +01:00
athrxx 59c5980d42 SCUMM: (CJK) - change Korean Ansi codepage name
(use iconv name instead of .NET name)
2020-10-30 21:36:27 +01:00
athrxx 5b6ffeaa3d GUI: allow ingame CJK dialogs regardless of the launcher language
This allows a text widget to be expressly marked as Japanese, Korean or Chinese, so that the theme engine may use an appropriate font.
2020-10-30 21:36:23 +01:00
athrxx fb834e55fb SCUMM: (CJK) - proper display of the pause/restart dialogs
This is yet incomplete, since it requires the launcher to be configured in the exact same language as the game (e. g. launcher must be set to Japanese for Japanese FM-Towns games or the pause/restart dialog will be empty). This will be fixed in an extra commit.
2020-10-30 21:36:19 +01:00
YYxsCnnPP 93f78c4e57 SCUMM: Add compile-time check for array size 2020-10-27 18:15:54 +01:00
YYxsCnnPP 8fda85894b SCUMM: Add support for more formats on sound override 2020-10-27 18:15:54 +01:00
YYxsCnnPP dbb668dc3b SCUMM: Add music override 2020-10-27 18:15:54 +01:00
athrxx 30f4fd049e SCUMM: (SMUSH) - fix text coordinates and wrapping
Some fixes from disasm to have the text look pixel-exact like the original.

Some lines in COMI are still off a bit by 2 pixels to the left or to the right. Whilst I doubt that anyone would notice it I'll try to fix that, too.
2020-10-24 17:58:29 +02:00
athrxx 7b3b47024b SCUMM: (COMI/CJK) - fix blast text shading and positioning
- COMI adds a y-Offset of 2 in CJK mode.
- The shadowed glyphs are used for all CJK font drawing, not only Korean. Also, the char height has to be adjusted by one pixel for the shadow.
2020-10-24 17:58:29 +02:00
athrxx 4a7b720a31 SCUMM: whitespace 2020-10-24 17:58:29 +02:00
athrxx 1266fdeb0d SCUMM: (COMI/CJK) - fix smush font glyph shadows
I have confirmed that this type of shadow (one shadow pixel to the left, one to the right and one to the bottom) is drawn for all CJK characters in COMI.
2020-10-24 17:58:29 +02:00
athrxx e665730d3d SCUMM: (DIG/CJK) - fix bug in charset rendering
This fixes the bug shown in the fourth row of screenshots in ticket no. 11656 (DIG Asteroid scene). That bug could basically appear in any other scene which uses the xstart offset.
2020-10-24 17:58:29 +02:00
athrxx c5216c6367 SCUMM: (DIG/CJK) - add specific text positioning fix from disasm
This is basically a hack, but the original does it just like that. It ensures that certain CJK message strings at the bottom of the screen won't get cut off.
2020-10-24 17:58:29 +02:00
athrxx c4d3cc6c18 SCUMM: (DIG/CJK) - fix regression in text positioning
CJK text in DIG was 2 pixels off vertically due to 4b13c33b.
COMI actually has a y-offset of 2 (not 7) for CJK fonts, but it is applied at a different location.
2020-10-24 17:58:28 +02:00
athrxx 651eca6abb SCUMM: (SMUSH) - fix text flags
- Flag 8 is just for the subtitles. This is actually handled correctly in line 538/539.
- Flag 4 is for the wrapping. Most cases I have seen set both 4 and 8, so the visible changes are subtle.
2020-10-24 17:58:28 +02:00