Commit graph

138164 commits

Author SHA1 Message Date
antoniou79
67b0077287
ANDROID: Remove LEANBACK_LAUNCHER from AndroidManifest
Since June 30, 2023 Play Store requires TV apps that use this category to use the app bundle distribution model

Since we currently build separate APKs this removal is a temporary measure for the upcoming release of 2.7.1.
However, we should re-instate the tag when we switch to the App Bundle distribution module and perhaps investigate, test
and resolve any other issues related to running the ScummVM Android app for TVs.
2023-07-18 10:41:46 +02:00
Eugene Sandulenko
0b747eec45
NEWS: Fix Tony engine capitalization 2023-07-14 23:21:22 +02:00
Le Philousophe
578df8c3a0
NEWS: Add fixes for unaligned accesses 2023-07-14 23:21:22 +02:00
Eugene Sandulenko
cb8a372f01
DISTS: Set release date for Win32 2023-07-14 22:59:55 +02:00
Eugene Sandulenko
afa991d2f6
DISTS: Generated Code::Blocks and MSVC project files 2023-07-14 22:55:09 +02:00
Eugene Sandulenko
1cc63e9eeb
RELEASE: This is 2.7.1 2023-07-14 22:52:29 +02:00
Eugene Sandulenko
0a5ad51420
I18N: Regenerate translations.dat 2023-07-14 22:48:08 +02:00
Eugene Sandulenko
aef56269e9
NEWS: Set 2.7.1 release time 2023-07-14 22:39:59 +02:00
Le Philousophe
ec14098a0c COMMON: Don't use a pointer to T in UnalignedPtr
This lets the compiler think the pointer value could be aligned.
2023-07-14 22:09:13 +02:00
Le Philousophe
13475d111e TONY: Fix _num type discrepancy
It's int32 everywhere outside expr anyway.
2023-07-14 22:09:13 +02:00
Le Philousophe
e0edbc0154 TONY: Only apply alignment on supported platforms 2023-07-14 22:09:13 +02:00
Le Philousophe
f743cd55b2 TONY: Properly align Expressions
Make sure Expression array is properly aligned inside the buffer
provided by GlobalAlloc.
2023-07-14 22:09:13 +02:00
Le Philousophe
288fe38657 TONY: Fix MemoryManager data alignment
Data being a byte type, it was never aligned.
Don't overallocate 1 byte which is here only because C++ doesn't support
VLA.
2023-07-14 22:09:13 +02:00
Le Philousophe
346408a239 TONY: Fix various types discrepancies
Avoid using byte * for opaque types and don't do unneeded casts.
2023-07-14 22:09:13 +02:00
Le Philousophe
9a09700d70 COMMON: Only apply alignment on supported platforms 2023-07-14 22:09:13 +02:00
Le Philousophe
e003d012c5 COMMON: Make sure coroutine Process parameter is well aligned 2023-07-14 22:09:13 +02:00
Lothar Serra Mari
367deb2ffc
NEWS: Mention latest SCUMM bugfixes in German NEWS file 2023-07-14 20:59:58 +02:00
Le Philousophe
7b15862f3e ANDROID: Make 3 fingers multitouch easier to trigger
We can receive a move event while having two fingers pressed but this
doesn't always mean we really moved.
2023-07-14 20:54:39 +02:00
AndywinXp
3e1f668f72 NEWS: Add several SCUMM bugfixes 2023-07-14 20:36:43 +02:00
Eugene Sandulenko
7aced49894 GOB: Added detection for updated gob5 2023-07-14 02:28:57 +02:00
sluicebox
c536dff696 SCI: Update speed test overflow fix for more versions 2023-07-13 16:35:40 -07:00
sluicebox
fe4ecd9532 SCI: Fix overflow in SCI0 speed test script
Fixes a long delay on a black screen at the end of KQ4 introduction.

Thanks to @eriktorbjorn for reporting and reproducing this
2023-07-13 14:57:28 -07:00
sluicebox
0fab1edf19 SCI: Update LSL5 palette animation patch 2023-07-12 22:00:33 -07:00
Torbjörn Andersson
06e2c4b068 SCI: Speed up the palette animation for Mr. Bigg's closeup in LSL5
This happens during the first meeting in the LSL5 intro. There is no
consensus on how fast this animation should run, but ScummVM runs it
extremely slow, possibly due to speed throttling. This speeds it up
by updating the animation ever 6th time the doit script is run,
rather than the original every 32nd time.
2023-07-12 22:00:26 -07:00
Lothar Serra Mari
6997381765
NEWS: Backport changes for 2.7.1 in German NEWS file 2023-07-12 22:49:26 +02:00
Donovan Watteau
a4757c1c19 NEWS: Document some more 2.7.1 bugfixes 2023-07-12 22:31:19 +02:00
sluicebox
fcbca733ff SCI: Fix kSetSignalLoop handling in early SCI0 and KQ4
Fixes KQ4 introduction not automatically ending

Thanks to @athrxx for locating the correct behavior in disassembly
Thanks to @eriktorbjorn for reporting this
2023-07-12 08:19:18 -07:00
antoniou79
99b4c8d28f BLADERUNNER: Check for nullptr _currentScript in SceneScript methods 2023-07-11 21:53:36 +03:00
Le Philousophe
a954d49bab NEWS: Added libretro fix 2023-07-11 08:02:40 +02:00
Vladimir Serbinenko
7525e2cf39 COMMON: Add createReadStreamForMemberNext for the ease of using patcher archives 2023-07-11 07:36:12 +02:00
Le Philousophe
51ebc14811 BACKENDS: OPENGL: Rework shader assets search
Determine in which archive the shader is located and load assets from
the same archive.
When using a FSNode, use the filesystem code to build the base path.
Use a Path object to store the base path to allow proper join of
components.
2023-07-09 21:59:23 +02:00
Le Philousophe
36a0b83ab4 COMMON: Add normalization to Path class 2023-07-09 21:59:23 +02:00
Le Philousophe
7bcd28b757 COMMON: Allow to know in which archive file was found in SearchSet 2023-07-09 21:59:23 +02:00
AndywinXp
a9d790c982 SCUMM: GUI: Fix some FM-Towns banner not disappearing properly 2023-07-09 20:52:15 +02:00
Vladimir Serbinenko
7abd3f827d HYPNO: Add Korean version of "Enter name:" string 2023-07-09 11:21:55 +02:00
Vladimir Serbinenko
e21cd56524 HYPNO: Support rendering Korean font for Wetlands 2023-07-09 11:19:27 +02:00
Vladimir Serbinenko
a269c59cfc COMMON: Make BitArray::get const 2023-07-09 11:19:00 +02:00
neuromancer
11426a0da4 NEWS: added freescape, hypno and private updates for 2.7.1 2023-07-09 11:12:38 +02:00
Walter Agazzi
1bde2e6289 AGS: Add newer versions of primordia/goldenwake GOG
+ alternate The Castle
2023-07-08 19:16:01 +02:00
Walter Agazzi
8095396544 MYST3: Add detection entry for Japanese DVD version
Reported in TRAC #14298
2023-07-06 21:52:32 +02:00
Walter Agazzi
3adfcf17a2 AGS: Add detection for Personal Rocket full version 2023-07-06 14:58:50 +02:00
AndywinXp
1a0b05dcff SCUMM: v0-1-2-3: Implement post-load fixes (from orig. menu to GMM)
This commit implements proper loading of savestates saved from
the original menu in v0-3 games and loaded either from launcher
or GMM. Why is all of this necessary? It is because these saves
are built under the assumption that they will be reloaded from the
main menu room, and that therefore there will be a graceful
termination of the global script handling the main menu.

Terminating said script gracefully implies cleaning up variables,
stopping menu related scripts, and reboot other scripts which had
previously been stopped.

This certainly doesn't happen when reloading said savestates from
the GMM/launcher, and what instead happens is, in order:
- The game loads from the menu room;
- The menu scripts continues from an inconsistent location,
effectively re-saving the game;
- This invalidates the thumbnail of the savestate, which will now
show a picture of the menu;
- Closing the menu gets the user back to the saved state,
with probably an inconsistent state of some variables and scripts.

This fixes all of this, by detecting if we are loading a savestate
saved from the original menu, and by manually running the correct
script operations for each game in order to correctly close the
menu and resume the game.

Please note that this commit works under different assumptions
from the ones pertaining the already available post-load fixes
(which assume that you are saving the game from GMM).
2023-07-05 20:36:25 +02:00
AndywinXp
fd8cf5dee5 SCUMM: ZAK (FM-Towns): Fix bug #14387
This fixes a crash when loading from the GMM save states which had
been created from the original menu. This also fixes the auto-close of the
menu when a game is loaded from the original menu.
2023-07-05 20:36:24 +02:00
AndywinXp
cccac84717 SCUMM: SAMNMAX: Fix bug #14467
This was caused by the fact that the pre and post save screen scripts
were not being called, and this messed up the cursor state with savegames
created as quicksaves.

Also, renamed the variables containing said scripts numbers, so that
they are a little bit more meaningful now.
2023-07-05 20:36:24 +02:00
AndywinXp
12ce9790b5 SCUMM: SAMNMAX: Post-load fix for savegames presenting bug #14467
The root cause of the issue is not solved yet, but this would allow for the
affected savegames to still work.
2023-07-05 20:36:23 +02:00
AndywinXp
ad4e3abfc6 SCUMM: SAMNMAX: Don't run post-load script for non-available quicksaves
Fixes part of #14467
2023-07-05 20:36:23 +02:00
AndywinXp
765f6033f6 SCUMM: SAMNMAX: Fix bug #14468
I really have no idea why I wrote the code in such a way that
it attempted to load stuff that was never saved in the first place,
and I guess we'll never know. Findings by athrxx!
2023-07-05 20:36:22 +02:00
AndywinXp
193dda7d40 SCUMM: SAMNMAX: Fix cursor being invisible after load
This happened when creating savestates within the original menu
and then loading them from the GMM
2023-07-05 20:36:22 +02:00
AndywinXp
006e3c37ff SCUMM: FT: Fix crash with debug mode on when pressing 'A'
(cherry picked from commit 344fb2c2d5)
2023-07-05 19:16:05 +02:00
AndywinXp
3e15e1904b SCUMM: MI1 (Ultimate Talkie): Fix #14269
(cherry picked from commit da2dc011f8)
2023-07-05 19:15:53 +02:00