113894 Commits

Author SHA1 Message Date
athrxx
b67c2d72d6 SCI: (SCI0 sound) - make calls to initTrack consistent with our thread handling
When _mainThreadCalled is set the function call should be enqueued just like the Midi messages that get sent before the start of a new track, so that everything happens in the right order.
2021-03-13 17:41:54 +02:00
Kastuś K
b7b5e71b8d I18N: Update translation (Belarusian (Taraškievica) (be-tarask))
Currently translated at 3.1% (50 of 1583 strings)
2021-03-13 15:33:52 +00:00
Paweł Kołodziejski
771f3e8ad4 ICB: Cleanup save code 2021-03-13 15:46:30 +01:00
Paweł Kołodziejski
b36e2a8ba8 ICB: Cleanup saving code a bit 2021-03-13 15:06:00 +01:00
Paweł Kołodziejski
64f4ccb975 ICB: Formatting 2021-03-13 14:43:41 +01:00
Cameron Cawley
d02cfcf4de GIT: Ignore 3DS build files 2021-03-13 13:35:44 +00:00
Paweł Kołodziejski
4c3b157726 ICB: Cleanup 2021-03-13 14:31:49 +01:00
Paweł Kołodziejski
39f7490356 ICB: Remove dead code 2021-03-13 14:22:41 +01:00
D G Turner
d91b87acbf COMMON: Fix GCC Warning for Implicit Copy Operator in Queue Class
This is emitted when -Wdeprecated-copy is enabled. The fix implemented
is to explicitly declare this to be the default copy operator.

Since this may be a latent bug, this is marked with a FIXME.
2021-03-13 12:34:19 +00:00
Paweł Kołodziejski
2ee0d6483b ICB: Remove no longer needed code for keys mapping 2021-03-13 12:39:49 +01:00
Paweł Kołodziejski
8eee2f9b30 ICB: Remove in game keys mapping 2021-03-13 12:37:20 +01:00
D G Turner
4a5e96ce6f TINYGL: Fix GCC Warning for Implicit Copy Operator
This is emitted when -Wdeprecated-copy is enabled. The fix implemented
is to explicitly declare this to be the default copy operator.

Since this may be a latent bug, this is marked with a FIXME.
2021-03-13 11:28:46 +00:00
Paweł Kołodziejski
e0691903a1 ICB: Fixed handling key color 2021-03-13 08:31:49 +01:00
Paweł Kołodziejski
22fb7015ff ICB: Added return to launcher functionality 2021-03-13 07:48:34 +01:00
Paul Gilbert
0a305db7ec AGS: Move guimain.cpp globals to Globals 2021-03-12 21:39:16 -08:00
Paul Gilbert
a18be9c938 AGS: Move miscellaneous engine/ac/ globals to Globals 2021-03-12 21:30:58 -08:00
Paul Gilbert
24d800ae1b AGS: Move agsstaticobject.cpp globals to Globals 2021-03-12 21:14:38 -08:00
Paul Gilbert
2f094655f1 AGS: Move script_runtime.cpp globals to Globals 2021-03-12 20:59:14 -08:00
Paul Gilbert
bf3c05128d AGS: Move screen.cpp globals to Globals 2021-03-12 20:44:13 -08:00
Paul Gilbert
d88d97d69d AGS: Move draw.cpp globals to Globals 2021-03-12 20:38:46 -08:00
Paul Gilbert
b807c94441 AGS: Move pluginobjectreader.cpp globals to Globals 2021-03-12 20:28:30 -08:00
Paul Gilbert
94212de9c8 AGS: Move game.cpp globals to Globals 2021-03-12 19:51:21 -08:00
Paul Gilbert
f3cf990c7c AGS: Move cc_instance.cpp globals to Globals 2021-03-12 19:51:14 -08:00
Paul Gilbert
1735868c31 AGS: Move draw.cpp globals to Globals 2021-03-12 19:41:10 -08:00
Paul Gilbert
7462386f66 AGS: Remove unused test globals 2021-03-12 19:41:09 -08:00
Paul Gilbert
f8eb923d25 AGS: Moved cdaudio.cpp globals to Globals 2021-03-12 19:41:09 -08:00
Thierry Crozat
6816c62822 AGS: Fix fully transparent savegame screenshots
If On A Winter's Night, Four Travelers was such as game that
generated fully transparent screenshots. I am not completely
sure why it happens, and the easiest solution was to reset
the alpha byte to 0xff.
2021-03-13 03:28:22 +00:00
Thierry Crozat
4945526219 GRAPHICS: Fix 24bpp pixel formats handling in ManageSurface blitting
The code was only working for one specific case of 24bpp
pixel formats, and it is now generic. This fixes wrong
colors in the AGS savegame screenshots.
2021-03-13 03:28:22 +00:00
Thierry Crozat
d70308096c AGS: Fix savegame screenshots for paletted games
We were passing an empty palette to blit, causing
black screenshots for example in Trilby's Notes.
Screenshots seemed to be working already in some
other games, such as Black Cauldron, and I have
no idea how.
2021-03-13 03:28:22 +00:00
Thierry Crozat
346da4bac6 AGS: Fix setting the game palette
The allegro set_palette_range includes both the first
and last indexes passed, but we were excluded the last
index, which means we copied one less color than we
should. This was well visible in Trilby's Notes right
from the start of the game.
2021-03-13 03:28:22 +00:00
Thierry Crozat
8fb9b5f9d5 AGS: Fix FillDirList implementation
This function is used to list files that match a given pattern.
For example Kathy Rain uses it to list ./*.tra files. The
original engine uses al_findfirst() and al_findnext().
This fixes listing the available languages in the Kathy
Rain in-game options.
2021-03-13 03:28:22 +00:00
Thierry Crozat
1bad267805 AGS: Map savegame names and other save files to use gameid
AGS uses agssave.xxx for its savegames, and it was already
changed to use the gameid in ScummVM, except when this is
called from scripts. Some games, such as If On A Winter's
Night Four Travelers, access savegames from scripts and
those are now mapped to ScummVm names. This solves the
missing Continue menu on the start screen for IOAWN4T
when we already saved the game.

Some games also save additional files in the save game
directory, and they can have generic names such as
'playersettings.dat', or 'user.cfg', and since we use
the same savegame path for all games, to avoid any
conflict we now prepend the game target name to all the
files created or read from there.
2021-03-13 03:28:22 +00:00
Paul Gilbert
f76f9cc781 AGS: Added detection entries 2021-03-12 19:05:50 -08:00
Paul Gilbert
b180fc3623 AGS: Fix duplicated if block in AGSParallax plugin 2021-03-12 18:59:57 -08:00
ScummVM-Translations
1f2b3fbdcf 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-03-13 02:24:13 +00:00
Cameron Cawley
899a679d46 PRIVATE: Simplify the cursor code 2021-03-12 23:24:03 -03:00
VAN-Gluon
89421b8187 I18N: Update translation (Japanese)
Currently translated at 80.2% (1271 of 1583 strings)
2021-03-12 22:24:43 +00:00
D G Turner
52beeb7dbd GUI: Fix GCC Signed vs. Unsigned Compiler Warning in Launcher 2021-03-12 20:47:23 +00:00
Paweł Kołodziejski
433dfc6981 ICB: Added initial support for keymapping 2021-03-12 21:45:16 +01:00
Martin Gerhardy
a713e02474 TWINE: die if fall height is too much 2021-03-12 21:02:23 +01:00
Martin Gerhardy
4fca870a30 TWINE: use addLife method 2021-03-12 21:02:23 +01:00
Martin Gerhardy
67a9213531 TWINE: reversed missing parts of life script 2021-03-12 21:02:23 +01:00
Martin Gerhardy
72ddd3ec46 TWINE: added operators to DrawListStruct for easier use of algorithms from common/ 2021-03-12 21:02:23 +01:00
Martin Gerhardy
d1805f2828 TWINE: reduced scope 2021-03-12 21:02:23 +01:00
D G Turner
37f2751006 AD: Fix Signed vs. Unsigned GCC Compiler Warning 2021-03-12 19:51:39 +00:00
D G Turner
0d6e4d647a COMMON: Minor Formatting Fix in String Header 2021-03-12 19:50:49 +00:00
Lothar Serra Mari
28ba918b05 I18N: Update translation (German)
Currently translated at 99.9% (1582 of 1583 strings)
2021-03-11 19:10:02 +00:00
ScummVM-Translations
edcfaa533b 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-03-11 16:52:50 +00:00
sluicebox
6853b5101f SCI: Convert PQ2 speed workaround to script patch
Cleans up kScriptID and speeds up startup
2021-03-11 08:50:46 -08:00
ScummVM-Translations
a40c216236 I18N: Update translations templates 2021-03-11 13:47:37 +00:00