Commit Graph

115370 Commits

Author SHA1 Message Date
sluicebox
71235358e3 SCI: Set port origin to even x coordinates only
Fixes QFG1 (EGA) character allocation/stat screens drawing most of
their content one pixel to the right of where SSCI does.

Confirmed in disassembly of earliest and latest SCI16 interpreters.

This partially addresses bug #9593 regarding port drawing inaccuracies.
2021-04-08 21:01:03 -07:00
Paul Gilbert
879a06fabf AGS: Extend workaround to fix QFG2 F4 cheat key 2021-04-08 19:08:02 -07:00
Thierry Crozat
19ef15177b AGS: Fix various issues with savegames
One of the issue was that we were listing the restart point
savegame (in slot 999), and it should not have been listed.
This caused a crash in the ags savegamedialog as it tried
to use the next slot, 1000, which is out of bound.
Changing this fixes bug #12386.

Another issue is that we could do out of bound writes due
to the AGS engine having to MAXSAVEGAMES define, one set to 20
and the other to 50. And in one place we were using the wrong
one.

Also specify a maximum save slot of 99. This is what the
original uses as it reserves higher slots for special purposes.

And finally do not use slot 999 for autosaves as it conflicts
with the slot used bu AGS for the restart point.
2021-04-09 00:14:56 +01:00
Thierry Crozat
73b7ed5eb6 AGS: Add more detection entries 2021-04-08 22:31:29 +01:00
Thierry Crozat
53432f1153 AGS: Cleanup TTF font rendering a bit
There is no need to test if antialiasing should be used
in two different places.
2021-04-08 22:15:37 +01:00
ScummVM-Translations
bcf4412d4b 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-04-08 19:30:50 +00:00
fracturehill
523c81c2f2 NANCY: Temporarily remove options dialog from detection
Temporarily remove the buildEngineOptionsWidgetStatic() overload from NancyMetaEngineDetection since it causes build errors on platforms where the engine isn't built.
2021-04-08 22:30:17 +03:00
ScummVM-Translations
3efeeb61a9 I18N: Update translations templates 2021-04-08 19:04:52 +00:00
ScummVM-Translations
f776c04200 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-04-08 19:04:51 +00:00
Le Philousophe
d0d38b0199 FLUIDSYNTH: Fix compilation with Fluidsynth 2.2
We replace deprecated functions as well
2021-04-08 21:04:41 +02:00
Le Philousophe
631b13b5f4 FLUIDSYNTH: Simplify FluidSynth version check 2021-04-08 21:04:41 +02:00
ScummVM-Translations
c7345a3df0 I18N: Update translations templates 2021-04-08 18:54:18 +00:00
ScummVM-Translations
cc217fc797 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-04-08 18:54:17 +00:00
fracturehill
6a07442d53 NANCY: Cheat dialogs fixes
Moved CheatDialog and EventFlagDialog to dialogs.h and removed cheat.h. Fixed a crash on closing the event flags dialog. Fixed the timer data in CheatDialog being incorrectly written to the player time. Removed a couple of incorrectly marked translation strings.
2021-04-08 21:47:15 +03:00
fracturehill
f98da95b1f NANCY: Fix doubled input between states
Fixed an issue where input would get doubled when changing states.
2021-04-08 21:42:54 +03:00
fracturehill
68e54edd50 NANCY: Initial main menu implementation
Implemented the original engine's main menu and added an option to enable it from the custom options dialog. Several buttons in the main menu don't work yet since they require implementing additional game states.
2021-04-08 21:42:54 +03:00
fracturehill
9f35d133ca NANCY: Implement sound options, add options dialog
Hooked the engine into ScummVM's speech/subtitle settings, and added two extra options for player and character speech. Added a custom settings dialog which gets shown both inside the Edit Game window and the in-game Settings.
2021-04-08 21:42:53 +03:00
fracturehill
9bb543a69e NANCY: Common sound handling changes
SoundManager is now responsible for loading and storing all common sounds (sounds with their own BOOT chunk). All playSound() calls with a hardcoded channel ID now use the chunk name instead. Also fixed some sound inaccuracies when switching between states.
2021-04-08 21:42:52 +03:00
fracturehill
a8a7f0ee57 NANCY: Fix MapCallHot1Fr action record
Fixed the MapCallHot1Fr action record, which accidentally got broken during a previous refactoring.
2021-04-08 21:42:52 +03:00
fracturehill
36118700b9 NANCY: Fix state changing
Fixed the state system so it supports changing between two states that both get destroyed after exiting.
2021-04-08 21:42:51 +03:00
Eugene Sandulenko
cbe20d1155 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1619 of 1619 strings)
2021-04-08 10:05:42 +00:00
Eugene Sandulenko
887d94f21b I18N: Update translation (Russian)
Currently translated at 100.0% (1619 of 1619 strings)
2021-04-08 10:05:32 +00:00
ScummVM-Translations
2f056aaaff I18N: Update translations templates 2021-04-08 09:18:20 +00:00
Cameron Cawley
f88769f132 BASE: Fix a crash when attempting to run a disabled engine 2021-04-08 12:18:11 +03:00
George Kormendi
53ffd2556e I18N: Update translation (Hungarian)
Currently translated at 100.0% (1619 of 1619 strings)
2021-04-08 07:24:54 +00:00
Paul Gilbert
5650217194 AGS: Workaround for QFG2 F10 cheat key 2021-04-07 21:21:00 -07:00
ScummVM-Translations
b05a1d3ba6 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-04-08 01:06:58 +00:00
Matthew Duggan
02b66bebb6 ULTIMA8: Make item animation more exact to original
A couple of subtle differences came up when comparing with the disassembly.
This should now be more accurate, although may be unnoticably different.
2021-04-08 09:07:54 +09:00
Matthew Duggan
9408b5de08 ULTIMA8: Update Crusader targetable status when shapes change 2021-04-08 09:07:54 +09:00
Matthew Duggan
b5f3a83bae ULTIMA8: Remove outdated comment 2021-04-08 09:07:54 +09:00
ScummVM-Translations
90d9d416c8 I18N: Update translations templates 2021-04-07 23:46:50 +00:00
Thierry Crozat
fece6ea40f AGS: Add option to force using antialiasing for text rendering 2021-04-08 00:45:46 +01:00
Thierry Crozat
57710b9648 AGS: Respect the game ANTIALIASFONTS options for TTS rendering 2021-04-08 00:45:46 +01:00
sluicebox
f58e87baea SCI: Fix QFG3 floating spears in GOG version
Fixes bug #11426
2021-04-07 11:35:11 -07:00
Cameron Cawley
4714d67188 CRYO: Avoid packing structures containing objects or function pointers 2021-04-07 15:42:38 +01:00
Cameron Cawley
3e8ab22eb2 BASE: Don't attempt to unload detection code when building with static detection 2021-04-07 14:38:51 +02:00
Thierry Crozat
24048d0ae7 AGS: Fix gettint achievements in ags_galaxy_steam plugin
The MetaEngine getAchivements function takes the game target
as argument, but the plugin was passing the game id instead,
If they were different, this resulted in a "ConfigManager::get
called on non-existent domain" error.
2021-04-07 01:38:21 +01:00
Thierry Crozat
e55df78e63 AGS: Add detection entries for Zniw Adventure 2021-04-07 01:09:43 +01:00
Thierry Crozat
a33c516266 AGS: Fix music type for MOD SOUNDCLIP 2021-04-07 00:40:43 +01:00
ScummVM-Translations
137c5394cf 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-04-06 23:35:28 +00:00
Thierry Crozat
7976e05439 AGS: Add logic to detect the mod format
This is the same logic as in the original interpreter.
For now the Impulse Tracker format is not supported and
results in a warning.
2021-04-07 00:35:12 +01:00
ScummVM-Translations
aae45ad7d1 I18N: Update translations templates 2021-04-06 23:09:59 +00:00
Thierry Crozat
b6186ccdd6 OPENGL: Fix hidden overladed virtual saveScreenshot() warning
This noisy warning at least occur when building for Android
(OpenGL, but not SDL).
2021-04-07 00:09:50 +01:00
Thierry Crozat
7408dee5df Revert "GRAPHICS: Tentative fix saveScreenshot() warning for OpenGL"
This reverts commit 0f118d0210.
2021-04-07 00:09:50 +01:00
Thierry Crozat
74f20c23e1 AGS: Fix memory issue in ags_pal_render DoFire 2021-04-07 00:01:23 +01:00
Thierry Crozat
fdadacfac1 AGS: Fix passing arguments to ags_pal_render plugins 2021-04-07 00:01:23 +01:00
Martin Gerhardy
a581b1e4e0 CONFIGURE: fixed whitespace issue 2021-04-06 19:46:47 +02:00
Matthew Duggan
3d8b8f01b7 ULTIMA8: Implement crusader attack timeouts
To match the original, add some movement timeouts and a flag that affect the
aim quality of NPCs attacking the player.
2021-04-06 21:27:24 +09:00
Matthew Duggan
c26552d208 ULTIMA8: Animate all shapes on the same frame
This is easily noticable on the falls west of town - all parts should animate
together, but they don't match.
2021-04-06 21:27:24 +09:00
Matthew Duggan
2ebcd4d57b ULTIMA8: Sanity check last attack timestamp 2021-04-06 21:27:24 +09:00