Commit graph

123658 commits

Author SHA1 Message Date
Torbjörn Andersson
bd2bf31c5f SCUMM: Fix regression in ScummEngine_v5::decodeParseString()
Some checks failed
CI / Windows (push) Has been cancelled
CI / Xcode (push) Has been cancelled
CI / Ubuntu (push) Has been cancelled
I noticed that the "I am Choas" typo in VGA Loom was no longer patched,
and I'm guessing the other workarounds may have been broken too. This
was a regression from when the missing Lemonhead lines in Monkey Island
1 were reinstated.
2022-02-23 11:47:37 +01:00
Torbjörn Andersson
30517b4981 NEWS: Mention Macintosh Indy 3 / Loom cursor fix 2022-01-24 16:13:21 +01:00
Torbjörn Andersson
b99d0495ba SCUMM: Fix missing cursor in Mac Indy 3 and Loom after loading
This was a regression that was apparently introduced when the animation
flag was cleared for the Mac cursor. The animation made the cursor show
up when loading older save games, but not new ones. That's why it went
unnoticed until now.
2022-01-24 16:12:40 +01:00
Lothar Serra Mari
2261491922 NEWS: Update German NEWS file 2022-01-14 18:32:02 +01:00
Torbjörn Andersson
24e40b8bce SHERLOCK: Mention Sherlock fixes 2022-01-14 16:48:58 +01:00
Torbjörn Andersson
db82a796e7 SHERLOCK: Extend Scalpel flower girl workaround
The same glitch that happens with the flower girl also happens with the
housekeeper: Walking nearby triggers a conversation, but doesn't abort
the current action. This can cause the UI to get corrupted.

At least for the housekeeper, this does not happen with the original
interpreter. I have no idea why.
2022-01-14 16:48:24 +01:00
Torbjörn Andersson
1405fc6b9a SHERLOCK: Fix Scalpel UI glitch (bug #13195)
This would happen when examining certain room objects (ones where
printing the description was part of a custom animation) while the
inventory was open. This was a bug in the original interpreter as well.
2022-01-14 16:48:12 +01:00
Le Philousophe
bc2664e6b5 PSP: Fix build failures with latest PSP toolchain
The new PSP toolchain automatically links system libraries which wasn't
the case before. The ordering of libraries builtin in GCC and our spec
file collided. This fixes the order.
PSP SDK includes time.h so it needs an exemption.
A warning was emitted about a if without curly braces which are needed.
2022-01-12 13:14:41 +01:00
Le Philousophe
eda7a61bf7 CONFIGURE: Don't use DWARF in nasm when linking using gold
This raises `internal error in relocate_section, at ../../gold/i386.cc:3683`
2022-01-12 13:13:20 +01:00
Lothar Serra Mari
88491aeb97 NEWS: Add Sherlock fixes to German NEWS file 2022-01-09 10:05:08 +01:00
Torbjörn Andersson
9e4e05dca3 NEWS: Mention Sherlock fix 2022-01-08 14:35:57 +01:00
Torbjörn Andersson
af47d15ba4 SHEROCK: Fix slowdown in Serrated Scalpel intro (#13198)
This was a regression from fixing bug #13101. The resource stream was
created for every frame that was decoded, and apparently each frame of
the intro is made up of lots of little frame.

Normally this wasn't much of a problem, but when using the smaller
installation offered by some versions, each such decoded frame caused
the entire resource file to be decompressed. This slowed things down a
lot.

Now the stream is kept alive throughout, so that the file is only
decompressed once. Note that this is only necessary when creating the
ImageFile object from a filename. When it's created from a stream,
frames are still decoded in advance the old way, so there is no need for
the class to have its own stream. At least that's how it works now.
2022-01-08 14:34:46 +01:00
Lothar Serra Mari
cbeef15641 NEWS: Update German NEWS file 2021-12-24 23:05:33 +01:00
Cameron Cawley
194cbde75e NEWS: Mention the TinyGL renderer for The Longest Journey 2021-12-24 22:02:44 +00:00
Lothar Serra Mari
17102e91cf NEWS: Set release date for 2.5.1 in German NEWS file 2021-12-24 22:57:32 +01:00
Eugene Sandulenko
ecab6638d5
NEWS: Fixed news items verb tenses 2021-12-24 22:55:58 +01:00
Eugene Sandulenko
c411c7c650
NEWS: Set the 2.5.1 release date 2021-12-24 22:50:36 +01:00
Paweł Kołodziejski
40cd295f07
AGS: Update detection table 2021-12-23 22:44:04 +01:00
Lothar Serra Mari
8c5e85740c NEWS: Update German NEWS file 2021-12-21 20:58:27 +01:00
Paweł Kołodziejski
46844bfaab
STARK: Software renderer BE fixes for textures 2021-12-21 08:37:20 +01:00
Cameron Cawley
19cfc61956
STARK: Don't exit immediately if modded assets are enabled but not supported 2021-12-20 23:58:14 +01:00
Paweł Kołodziejski
b01ab995a0
STARK: Added software renderer support 2021-12-20 21:53:09 +01:00
Paweł Kołodziejski
c929bda592
TINYGL: Ported viewport fix 2021-12-20 21:46:48 +01:00
Torbjörn Andersson
56d15c1d14 SHERLOCK: Mension user interface fixes
Too many and too small to list individually.
2021-12-20 20:20:17 +01:00
Torbjörn Andersson
f158b23caf SHERLOCK: Fix glitch in Rose Tattoo save dialog
This would happen when either clicking on an empty slot or when using
the Delete key. It was caused by using the screen coordinates, rather
than the surface coordinates, when specifying the rightmost edge of the
area to clear.
2021-12-20 20:20:17 +01:00
Torbjörn Andersson
e087d28b90 SHERLOCK: Refactor Rose Tattoo slider drawing 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
d15ed2fb7c SHERLOCK: Fix final (?) issue with Rose Tattoo slider handle drawing 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
2fd042fd33 SHERLOCK: Fix drawing of Rose Tattoo dialog corners
The corners are drawn correct, we just want to ensure that the same
screen area is cleared or tindted before drawing the dialog, whether the
dialog is transparent or not. Otherwise, the corners will be tinted too,
instead of fully transparent.
2021-12-20 20:20:17 +01:00
Torbjörn Andersson
682e86f6b8 SHERLOCK: Fix Rose Tatto save/load scrollbar bounds 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
d612ce55cd SHERLOCK: Fix scroll position bar glitch 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
4b15e08834 SHERLOCK: Fix Rose Tattoo slider widget glitches 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
4f446c90ff SHERLOCK: Fix missing corner in Rose Tattoo dialogs 2021-12-20 20:20:17 +01:00
Torbjörn Andersson
c04e739aed SHERLOCK: Fix height of blinking cursor in Rose Tattoo journal search 2021-12-20 20:20:17 +01:00
Paweł Kołodziejski
b4f8414a44
STARK: Ported opengl minor code changes 2021-12-20 20:15:17 +01:00
sluicebox
0d270ad89b SCI: Use LSL5 patch directory name 2021-12-20 12:43:36 -05:00
Torbjörn Andersson
13bcfd0f14 NEWS: Mention latest notable Sherlock fixes 2021-12-20 08:15:49 +01:00
Torbjörn Andersson
7a186d9aed SHERLOCK: Fix Scalpel animations not being resumed after conversation
When talking to another character, his animation would usually freeze.
Most of the time this is just a cosmetic problem, but it does make
solving the puzzle with the billiard players more annoying than it
should be, since you had to leave and re-enter the room. See bug #10931.
2021-12-19 15:51:44 -08:00
Matthew Duggan
a1d2d421a4 ANDROID: Fix softkeyboard button for Chromebooks
On a Chromebook, the keyboard may be present but hidden (not available for
use) because the device is flipped around in Tablet mode.  In this case we want
the soft keyboard to be available.  This change also hides the soft keyboard
button if the hardware keyboard is available, since it doesn't do anything.

Fixes #13138.
2021-12-19 13:49:46 +01:00
Torbjörn Andersson
748ba7353a SHERLOCK: Calculate font height/width more accurately
Each character in a font can have an X and Y offset. This was not
considered when calculating the width and height of the font. One way
this could be noticed was in Serrated Scalpel, when talking to a
character with a lot of conversation options. Scrolling down would
highlight the "Up" button. Selecting a conversation option would then
dim the button, but the bottommost pixel of the "p" was still
highlighted.

Hopefully this does not negatively affect anything else.
2021-12-18 19:34:33 -08:00
sluicebox
d97779fc25 SCI32: Fix LIGHTHOUSE compass-in-submarine error 2021-12-18 21:54:47 -05:00
sluicebox
9eab66d45c SCI: Fix PQ3 lockup when showing judge evidence 2021-12-18 17:03:58 -05:00
sluicebox
14839374bb SCI: Fix uninitialied variable in multi-language parser
Fixes QFG1 Japanese message display when messages are set to
Japanese and subtitles are enabled

Huge thanks to DarkSoul for verifying original PC-98 behavior
2021-12-18 17:03:46 -05:00
sluicebox
d423e1e774 SCI: Update detection entries for Japanese games
- Remove unnecessary English entry for SQ4
- Update game flags for KQ5 and QFG1
2021-12-18 17:03:32 -05:00
sluicebox
81289fc0bc SCI: Fix newline handling in Japanese PQ2
Many PQ2 Japanese strings contain escaped newlines ("\n") which we have
not been handling. We have been handling these in getSciLanguageString()
when returning Japanese text but that's not where SSCI does this work.
PQ2's Print procedure in script 255 parses Japanese text itself and our
getSciLanguageString() is never involved.

Now Japanese newline handling is done in the core text measuring and
drawing functions, which is closer to where SSCI did it, but without the
hack of having GetLongest() patch out Japanese newlines like in SSCI.

Fixes bug #13154
2021-12-18 17:03:19 -05:00
Torbjörn Andersson
77bd0f2278 SHERLOCK: Fix Scalpel user interface being left in wrong mode
I think this one would happen if an NPC initiated conversaion with you,
while you had a window (e.g. the inventory) open. The game would be put
in talk mode, then close the inventory (putting the game in standard
mode), then print the conversation options.

That's because a loop was terminated prematurely (with a break), thus
bypassing the bit that would set it back into talk mode again.

I encountered this when finally meeting up with Lord Brumwell.
2021-12-17 19:35:32 -08:00
Torbjörn Andersson
5aca38a8eb SHERLOCK: Fix Rose Tattoo save dialog regression
Now that more than one keypress can be processed, we have to update the
"current character" variables each time.
2021-12-17 15:05:46 +01:00
Torbjörn Andersson
fc116b114f SHERLOCK: Fix crash when using Delete key in Rose Tattoo save dialog 2021-12-17 14:32:00 +01:00
Torbjörn Andersson
6ef69bf257 SHERLOCK: Process all pending keys at once in Rose Tattoo save dialog
The event loop when entering save game description in Rose Tattoo runs
at the speed of the background animations, which is much slower than
ScummVM's keyboard repeat.

It was very easy to saturate the _pendingKeys queue, particularly when
erasing an old savegame description. Then you might have to wait for a
few seconds while it processed dozens of pending backspaces.

Now all pending keys are processed as quickly as possible.
2021-12-17 14:31:50 +01:00
Torbjörn Andersson
a046f9eb16 SHERLOCK: Fix glitches in Rose Tattoo save box
For instance, if you entered a letter like "g" and then erased it, there
would still be traces of it on screen. I've made the assumption that
subtracting 1 from the font height is wrong everywhere.
2021-12-17 14:31:36 +01:00
Torbjörn Andersson
3162e52fd4 NEWS: Mention Sherlock keyboard fix 2021-12-17 12:51:30 +01:00