Commit Graph
137148 Commits
Author SHA1 Message Date
Eugene Sandulenko f27bf85bf7 COMMON: Fix for modern GCC 2021-02-12 00:55:16 +01:00
Eugene Sandulenko b1f889f03d VIDEO: Skip another chunk in AVI videos 2021-02-12 00:41:36 +01:00
Eugene Sandulenko 25eb92c074 AGS: Do not crash when video is not decoded properly 2021-02-12 00:41:35 +01:00
Henrik "Henke37" Andersson 6b8f8f1233 GUI: Use tryGetVal for description 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 0caeac64aa COMMON: Include the not found key in the error message 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 9b30f4a73d ENGIES: AdvDect needs getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson d6ad9f19cf BACKENDS: Keymapper needs getOrCreateVal 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 470505cc56 COMMON: ConfMan needs getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 2eb52fe900 COMMON: Retire dangerous non const operator[] on ConfMan 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 2300f0a7d4 MACGUI: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 35ee057e0d WAGE: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 218f66d1e0 STARK: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 06cc82d493 SCI: Use getValOrDefault and tryGetVal 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson a4e579936e MYST3: Let HashMap do the error 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 8f5ef19662 GRIM: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 5b10de7c8f CRYOMNI3D: Error instead of warn for missing image scripts 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson c2f3ec18ab CRYOMNI: Use tryGetVal 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 8d1d570efb PETKA: Const correctness for getVal 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson cc51c9a483 COMMON: ConfMan no longer hides unknown key errors 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson 2d6fdcaf3e COMMON: getVal no longer hides missing keys 2021-02-12 00:41:23 +01:00
Thierry Crozat f1d753c1c4 AGS: Fix out of bound memory access with getpixel
The allegro implementation returns -1 when called with a pixel
that lies outside the bitmap. Doing the same in the implementation
in ScummVM fixes a crash in some games.
2021-02-11 23:40:01 +00:00
ScummVM-Translations 7fdcc8d5f0 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-02-11 22:55:29 +00:00
Thierry Crozat 4656a75fc5 AGS: Hash memory address instead of content in ManagedObjectPool
The ManagedObjectPool uses const char * for pointers, and unfortunately
in ScummVM by default we have a hash function on const char * that
computes the hash on the string and not the address. This caused
various issues such as accessing freed memory. This changes matches
what the original interpreter does and fixes crash and scripts errors
in many games.
This matches what the original interpreter does and
2021-02-11 22:55:10 +00:00
VAN-Gluon 43d93eff78 I18N: Update translation (Japanese)
Currently translated at 71.3% (1126 of 1579 strings)
2021-02-11 22:24:31 +00:00
ScummVM-Translations a7bc7613ae I18N: Update translations templates 2021-02-11 19:08:44 +00:00
athrxx 4f9ae442d5 SCUMM: (FM-TOWNS) - add smooth scrolling
This is mostly based on ZAK and MI2 disasm (and a bit LOOM). For MI1 and INDY4 I have at least checked with the FM-Towns UNZ emulator to ensure that they actually have the smooth scrolling.

The smooth scrolling is a bit tricky with regard to the timing. The scrolling tends to be a bit too slow for the engine, since it happens at a speed of 1 pixel per 60Hz tick, while the engine sometimes writes one or more new 8 pixel strips at the same time. So the scrolling often has to catch up to the engine. The original has a compensation mechanism which I tried to adapt. We'll see if it needs more fine tuning...

The Loom intro even glitches in the UNZ FM-Towns emulator due overflowing the scrolling surface (and causing a wraparound). But I made a fix for that.

Since we do have a bug report about the speed of the ZAK intro (and the new scrolling code does affect the timing) I have run the ZAK intro in ScummVM and in the FM-Towns UNZ emulator (with i80386DX, 16 MHz setting) side by side and they seem totally in sync. If I reduce the MHz setting in the emulator to 10 MHz on the emulator the intro will play slower, but still not play through the whole song. With 8 MHz I get close to finishing the song, but this seems to be almost to slow to run the game properly. So I'll leave that bug ticket open...
2021-02-11 20:01:24 +01:00
athrxx e0976257e3 KYRA: update engine state comments
(these were ancient, from times before EOB support)
2021-02-11 20:01:24 +01:00
athrxx 9e1e9f1640 KYRA: remove unnecessary declaration 2021-02-11 20:01:24 +01:00
athrxx 3fc39a84dd KYRA: minor adl driver comments cleanup 2021-02-11 20:01:23 +01:00
athrxx 7bcf3ef3e3 SCUMM: fix bug 11946 (INDY4: Dialogue skip passes several lines at once)
I have checked the behavior of original INDY4 and also DOTT (since it is a later SCUMM version). Both games do actually suppress the whole dialogue line when pressing '.', even when it is a multi part line (containing one or more '3' command codes). So we don't have a bug here. But this applies to speech enabled setting only. In text only mode the original allows to step through the dialogue line by line (and also through the message parts separated by the '3' command). I have fixed this from disasm so that it matches the original behavior. I've also confirmed for SAMNMAX from disasm (not extensively, just checked whether it has the voicemode == 2 check at the beginning of startTalkSound()).
2021-02-11 20:01:23 +01:00
Ori Avtalion 8f1edbb295 AGS: Remove extra newlines from debug messages 2021-02-11 20:43:32 +02:00
Ori Avtalion bfe16d0ed4 AGS: Silence clang warnings 2021-02-11 20:31:17 +02:00
Ori Avtalion 31e33a1e08 AGS: Convert to Unix newlines 2021-02-11 20:28:11 +02:00
Martin Gerhardy 961407346d TWINE: fixed persisting of settings 2021-02-11 17:04:59 +01:00
Martin Gerhardy 15832bdb09 TWINE: exit scenery view in some situations 2021-02-11 17:04:59 +01:00
Martin Gerhardy 6b6048aabb TWINE: fixed pause string in scenery view 2021-02-11 17:04:59 +01:00
Martin Gerhardy 0f120fe788 TWINE: implemented scenery zoom 2021-02-11 17:04:59 +01:00
Martin Gerhardy 21aaf4ce43 TWINE: scenery zoom stuff 2021-02-11 17:04:59 +01:00
Paul Gilbert da8d7618dc AGS: Added detection entries 2021-02-11 07:57:40 -08:00
Paul Gilbert 7302dac5e2 AGS: Hopefully fix compilation when plugins are enabled 2021-02-11 07:57:39 -08:00
Eugene Sandulenko 514ff015a6 AGS: Added RuCOMM detection entries 2021-02-11 15:59:01 +01:00
sluicebox 045b33cf20 SCI: Fix KQ4 unicorn ride at night 2021-02-11 00:06:37 -08:00
sluicebox 0d3f34ecc6 PETKA: Add NL to EOF in walk.h
Fixes VS2015 compiler error
2021-02-11 00:00:56 -08:00
ScummVM-Translations ba65ab94f1 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-02-11 06:39:02 +00:00
SupSuper 1789f8dc08 AGS: Add detection entries for Crystal Shard games 2021-02-11 06:38:41 +00:00
ScummVM-Translations 3451c34606 I18N: Update translations templates 2021-02-11 04:53:52 +00:00
Matthew Jimenez d8d0d7a705 ULTIMA8: Add gump flag to prevent saving instead of checking for modal gumps 2021-02-10 22:48:17 -06:00
Matthew Jimenez 6228b1305a ULTIMA8: Remove duplicate check of font_override option 2021-02-10 22:48:17 -06:00
Matthew Duggan a09f262dba ULTIMA8: Shape viewer formatting fix 2021-02-11 11:36:04 +09:00
Matthew Duggan 0745ea382c ULTIMA8: Fix missing map tile in uppper catacombs 2021-02-11 11:35:07 +09:00