Commit Graph
137148 Commits
Author SHA1 Message Date
djsrv fc25ba3af5 DIRECTOR: Keep original line endings in STXT 2021-07-15 16:31:47 -04:00
djsrv 8354140227 DIRECTOR: LINGO: Fix getting the itemDelimiter 2021-07-15 16:31:47 -04:00
djsrv 664d2f257d DIRECTOR: LINGO: Make compareTo handle Unicode 2021-07-15 16:31:47 -04:00
djsrv 8fcc186b08 DIRECTOR: Add charToNum and numToChar helper functions 2021-07-15 16:31:47 -04:00
djsrv b2988ce682 COMMON: Add constructor to make U32String from a character 2021-07-15 16:31:47 -04:00
djsrv 163424abbb DIRECTOR: Set lingotests platform to Macintosh
We use Mac Roman encoding for these tests, so it makes sense to keep
this consistent.
2021-07-15 16:31:47 -04:00
djsrv ca0b1f5de1 DIRECTOR: LINGO: Normalize strings in equality tests 2021-07-15 16:31:47 -04:00
djsrv 4450cd5ced DIRECTOR: LINGO: Decode constants using Cast::decodeString 2021-07-15 16:31:47 -04:00
djsrv 30df98e61b DIRECTOR: Create Cast::decodeString 2021-07-15 16:31:47 -04:00
djsrv 5b3bed6e57 DIRECTOR: LINGO: Re-encode Lingo constants to UTF-8 2021-07-15 16:31:47 -04:00
djsrv d0df2bd014 DIRECTOR: LINGO: Use '\r' as line delimiter 2021-07-15 16:31:47 -04:00
djsrv c16189094d DIRECTOR: LINGO: Make _itemDelimiter a U32 char 2021-07-15 16:31:47 -04:00
djsrv 860a8d663a DIRECTOR: LINGO: Make chunk refs handle Unicode 2021-07-15 16:31:47 -04:00
djsrv 19895f877d DIRECTOR: LINGO: Make text builtins handle Unicode 2021-07-15 16:31:47 -04:00
djsrv 52af0ac82e DIRECTOR: Create DirectorEngine::getPlatformEncoding 2021-07-15 16:31:47 -04:00
djsrv 88ea6e1645 DIRECTOR: Re-encode loaded text to UTF-8 2021-07-15 16:31:47 -04:00
djsrv 564c4945ca DIRECTOR: LINGO: Remove parseMenu
We parse menus in b_installMenu.
2021-07-15 16:31:47 -04:00
djsrv 545d34c022 DIRECTOR: LINGO: Eliminate when preprocessor 2021-07-15 16:31:47 -04:00
djsrv ed64ec6699 DIRECTOR: Default movie/cast platform to Mac 2021-07-15 16:31:47 -04:00
djsrv bb60a9ea29 DIRECTOR: Move InfoEntry::readString definition out of header 2021-07-15 16:31:47 -04:00
djsrv be5a5894d9 DIRECTOR: Keep all character mappings 2021-07-15 16:31:47 -04:00
a/ f249786fc7 SAGA2: Add limited Extended Savegame support 2021-07-16 04:25:06 +09:00
Martin Gerhardy ffdaaf9cf2 ULTIMA8: fixed compilation in c++98 mode 2021-07-15 21:24:07 +02:00
a/ 23910f0d95 SAGA2: Make remaining chunk sizes portable 2021-07-16 00:08:46 +09:00
a/ 668e4bff41 SAGA2: Make FactionTallies chunk size portable 2021-07-16 00:08:46 +09:00
a/ d0beb60d2f SAGA2: Make Mission chunk size portable 2021-07-16 00:08:46 +09:00
a/ e6365abfd9 SAGA2: Make Sensor chunk size portable 2021-07-16 00:08:46 +09:00
ScummVM-Translations ef1e74289b I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-07-15 14:34:55 +00:00
a/ 0b0c3ed446 SAGA2: Fix Container deletion 2021-07-15 23:34:13 +09:00
a/ 93f24f239c SAGA2: Make more save chunk sizes portable 2021-07-15 23:33:40 +09:00
ScummVM-Translations a5a679447e I18N: Update translations templates 2021-07-15 12:43:39 +00:00
D G Turner a0326ecd1c AGI: Modify Volume to use ScummVM GUI as maximum range for Script Volume
This change simplifies the AGI engine volume handling by using the music
and sound fx volumes set in the ScummVM GUI as the maximum levels which
can be set by the scripts. This avoids the complexity of synchronising
changes between these and the scripts (which only had a single 16 step
volume range which is inverted in meaning by quite a large number of
fangames).

This still allows the game scripts to adjust the volumes, but only within
the maximum range set in the Launcher / GMM.

This avoids issues such as https://bugs.scummvm.org/ticket/10732 where
users complained about extremely loud output in some cases.
2021-07-15 14:43:30 +02:00
Torbjörn Andersson 4c34a99be3 NEWS: Mention MI2 Mac difficulty selection being enabled 2021-07-15 14:17:18 +02:00
ScummVM-Translations b455192a64 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-07-15 12:08:28 +00:00
a/ d07f2c8af2 SAGA2: Fix rest of save/loading code 2021-07-15 21:07:09 +09:00
a/ 6518db9554 SAGA2: Fix original Tasks save/loading 2021-07-15 20:59:45 +09:00
ScummVM-Translations 16fd4874d1 I18N: Update translations templates 2021-07-15 11:58:43 +00:00
ScummVM-Translations 643eec6185 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2021-07-15 11:58:42 +00:00
Torbjörn Andersson aedf820328 SCUMM: Changed tabs to spaces
I know the default tab width for ScummVM is supposed to be 4, but I
can't be bothered to change it in my editor (where it's 8) and I assume
I'm not alone in that. So I've changed the tabs here so that the hex
code and script text should line up nicely regardless of your editor
settings.
2021-07-15 13:58:31 +02:00
Torbjörn Andersson 4fe3889861 SCUMM: Handle failure to patch MI2 Mac boot script more gracefully
If another Mac version of MI2 is ever discovered, and its boot script
doesn't match any of the known ones, we can't know what the "skip copy
protection" boot param will do. Safer, then, to use the default boot
param. ScummVM may still skip the copy protection, but if so it will do
it the old-fashioned way.
2021-07-15 13:58:31 +02:00
Torbjörn Andersson d2758e913a SCUMM: Use the MI2 Mac specific boot param to bypass the copy protection
ScummVM already disables the copy protection by not checking that you
enter the correct values, so we may as well skip it completely.
2021-07-15 13:58:31 +02:00
Torbjörn Andersson 8522ef0f4f SCUMM: Patch the MI2 Mac boot script
There are (at least) two different versions of MI2 for the Mac. The one
that was distributed with the LucasArts Mac CD Game Pack II has a
modified boot script that completely removes the copy protection screen
(yay!) and the difficulty selection (boo!).

To re-instastate the difficulty selection, patch the boot script to be
identical to the other version, which was presumably released on
floppies.

This patching is only done if the boot script has the exact expected
length of the CD version's script, and if the patched script matches the
floppy version's. That should be safe enough.
2021-07-15 13:58:31 +02:00
ScummVM-Translations 36ab29e546 I18N: Update translations templates 2021-07-15 11:55:43 +00:00
Cameron Cawley 4736b0ed99 COMMON: Fix loading version information from 16-bit executables 2021-07-15 13:55:33 +02:00
Cameron Cawley be5452fccc DIRECTOR: Use the executable version info for fallback detection 2021-07-15 13:55:33 +02:00
Cameron Cawley bf4ae50a3f COMMON: Add a helper function for loading version resources 2021-07-15 13:55:33 +02:00
Cameron Cawley a7d61eb365 COMMON: Allow loading EXE files from an existing stream 2021-07-15 13:55:33 +02:00
Cameron Cawley 54b8ee6d41 DIRECTOR: Recognise files with "PJ01" version tags 2021-07-15 13:55:33 +02:00
Eugene Sandulenko 18e18298f1 SAGA2: Properly initialize tasks on loading 2021-07-15 13:27:32 +02:00
a/ e2d7bbe279 SAGA2: Make ActiveItemStates save size portable 2021-07-15 20:04:34 +09:00