Commit Graph
137148 Commits
Author SHA1 Message Date
Filippos Karapetis a3f7609de3 TINSEL: Refactor and simplify scene hopper data
This also allows us to remove struct packing, since the raw data is no
longer cast to the hopper structs
2022-01-09 22:38:43 +02:00
Filippos Karapetis e95a3b6efb TINSEL: Refactor and simplify actor data loading
- Actor data is now obtained as a copy via GetActorData(), which handles
  endianess internally
- There is now a single ACTORDATA class for all Tinsel versions
- Struct packing has been removed from the actor data class, as we no
  longer cast raw data to image pointers
2022-01-09 22:38:43 +02:00
sluicebox beed7ba48d CI: Update with new theoradec feature name 2022-01-09 14:41:14 -05:00
sluicebox 544ccafa72 SCI: Detect SCI0 sounds with missing digital samples
Fixes access violation when playing sound 35 in early versions of SQ3.
This sound has the digital sample flag set but it doesn't contain any
digital sample data. Bug #13206
2022-01-09 14:29:32 -05:00
sluicebox 87afecfe13 SCI: Fix QFG1 death message when picking safe 2022-01-09 14:19:25 -05:00
sluicebox 4034d43cb4 SCI: Remove unnecessary TODO 2022-01-09 14:15:17 -05:00
Filippos Karapetis e843e6447f VIDEO: Add one more missing initializer in HNMDecoder's constructor 2022-01-09 18:53:26 +02:00
Filippos Karapetis a848dc0d26 VIDEO: Add missing initializer in the HMN decoder 2022-01-09 18:50:16 +02:00
Le Philousophe 52dcac9fc6 CREATE_PROJECT: Fix theoradec feature name
This is needed by sword25
2022-01-09 17:28:17 +01:00
Le Philousophe 0011ad97cb CREATE_PROJECT: Add a warning when the feature is not found 2022-01-09 17:28:17 +01:00
ScummVM-Translations 60e473d419 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/
2022-01-09 16:27:36 +00:00
Henrik "Henke37" Andersson 8119ae19c0 CREATE_PROJECT: Fix feature name for freetype
The name was inconsistent with the main build system
2022-01-09 18:27:24 +02:00
ScummVM-Translations ce5e051dc2 I18N: Update translations templates 2022-01-09 15:32:04 +00:00
swkim01 b9a9e18971 Add korean translation for ecoquest2 and gk2 2022-01-09 17:31:54 +02:00
Filippos Karapetis 0221bc5c02 TINSEL: Refactor and simplify image handling
This allows us to merge different code paths for Tinsel V1 - V3 and
simplify the relevant code.

- Images are now obtained as a copy via GetImage(), which handles
  endianess internally
- The GetImageFromFilm() / GetImageFromReel() wrappers have been removed
- Direct setting of the image palette has been removed in favor of
  PokeInPalette(). This allows us to make image pointers const
- Struct packing has been removed from the IMAGE class, as we no
  longer cast raw data to image pointers
- There is now a single IMAGE class for all Tinsel versions
2022-01-09 17:07:46 +02:00
antoniou79 f4a0db227f BLADERUNNER: Check Steele presence in KP03 for explosion
In the original code Steele's presence was not ensured and could potentially lead to buggy behavior
2022-01-09 15:42:18 +02:00
Le Philousophe 7c03cf5c50 VIDEO: Optimize HNM5 copies slightly 2022-01-09 13:57:00 +01:00
Le Philousophe b6a1d3cf37 VIDEO: Small optimization on HNM4A decoder 2022-01-09 13:24:50 +01:00
Le Philousophe bcd0e6f354 VIDEO: Don't make use of Stream classes
This slows down everything because we do a lot of small reads.
Read the whole frame once and read in the buffer.
2022-01-09 11:53:51 +01:00
Le Philousophe 6352de724a VIDEO: Implement UBB2 (aka HNM5) decoding 2022-01-08 22:24:14 +01:00
Le Philousophe 3f01f8301c VIDEO: Fix audio stereo decoding.
The differential PCM is applied for each channel independently
2022-01-08 22:24:14 +01:00
Le Philousophe 97b474e78a VIDEO: Fix uint usage
unisgned int is guaranteed to be at least 16 bits not more
2022-01-08 22:24:14 +01:00
Le Philousophe c6383c472e VIDEO: Rework HNM decoder to make it handle different versions of format
For now nothing new: HNM4(A) format is supported and HNM5 has a
placeholder.
2022-01-08 22:24:14 +01:00
Lothar Serra Mari 6b1a3983f3 NEWS: Update German NEWS file 2022-01-08 19:37:30 +01:00
neuromancer 8f5fc51915 HYPNO: added some code to handle changing color palettes in spider 2022-01-08 19:07:55 +01:00
Torbjörn Andersson 8239acc5ae NEWS: Mention Sherlock fix 2022-01-08 14:28:57 +01:00
Torbjörn Andersson d38c86fec0 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 13:55:52 +01:00
Le Philousophe 6bad1ba0ff SDL: SDL_SetWindowMouseRect is in 2.0.18 according to the documentation
2.0.17 is a development version while 2.0.18 is the first release
containing this function.
2022-01-08 11:13:15 +01:00
neuromancer 06751e2264 HYPNO: improved menu handling in spider and fixed timer deallocation issue 2022-01-08 10:39:34 +01:00
neuromancer ccf1f27302 HYPNO: fixes to make sure checkpoints are correctly saved in spider 2022-01-08 10:39:34 +01:00
Markus G 8024078d3c DIRECTOR: Add director star trek chair and creator
Add detection for Star Trek: Captain's Chair (Macromedia 5)
Add detection for Star Trek: Starship Creator (Macromedia 6)
2022-01-07 23:52:27 +01:00
Walter Agazzi 7ff8a384e0 AGS: Detection for new games (L-M) + minor fixes
* Add missing MMM games
* Add new games (initials L-M)
* Naming fixes
2022-01-07 23:48:46 +01:00
neuromancer 26fbb7673b HYPNO: timer and cursor fixes 2022-01-07 21:41:15 +01:00
neuromancer 3c9d76b6b6 HPYNO: demo fixes and initial implementation of timeout action 2022-01-07 19:28:17 +01:00
Stian Schultz ef8cca5419 I18N: Update translation (Norwegian Bokmål)
Currently translated at 100.0% (1701 of 1701 strings)
2022-01-07 18:12:03 +00:00
Andrea Boscarino fac048c74e SCUMM: DiMUSE: Fix magic number 2022-01-07 15:09:05 +01:00
Andrea Boscarino 7caca98ec3 SCUMM: DiMUSE: Fix code duplication
This also fixes theoretical edge cases in which speech in COMI could not start because the syncPtr were still allocated.
The change has been tested with all supported games (and their demos), just for good measure.
2022-01-07 11:50:20 +01:00
Matthew Duggan 31da200237 ULTIMA8: Reset position of Crusader status gumps on load
If user changes the "high resolution" setting, the gumps will now shift to
the new screen bottom.
2022-01-07 17:45:25 +09:00
Timo Mikkolainen 78520098a1 I18N: Update translation (Finnish)
Currently translated at 100.0% (1701 of 1701 strings)
2022-01-07 02:26:54 +00:00
Le Philousophe e59400315d ANDROID: Improve chooseEglConfig to make it select ES2 config first 2022-01-06 23:11:33 +01:00
Andrea Boscarino 6eaeee5e2d SCUMM: DiMUSE: Remove obsolete TODO comment 2022-01-06 22:57:10 +01:00
Henrik "Henke37" Andersson 61e2c5c928 CREATE_PROJECT: Consistent name for zlib
The feature name didn't match with other code.
2022-01-06 22:43:05 +02:00
Andrea Boscarino ada9bd3098 SCUMM: DiMUSE: Update old WIP include guard
This oversight was brought over from when this version of the engine was marked as v2
2022-01-06 20:22:25 +01:00
Andrea Boscarino 97aca895e5 SCUMM: DiMUSE: Fix GroupsHandler oversight 2022-01-06 20:17:16 +01:00
neuromancer c2db92b7e6 HYPNO: added autosave checkpoints in spider 2022-01-06 20:04:57 +01:00
Andrea Boscarino 9e22f29927 SCUMM: DiMUSE: Clean up IMuseDigiFadesHandler
Removed a useless 'continue', fixed code duplication, and other clean ups
2022-01-06 19:32:19 +01:00
ScummVM-Translations 06c046b25a 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/
2022-01-06 17:39:16 +00:00
Le Philousophe 0802db2a4e GUI: Initialize language and platform even if unused 2022-01-06 19:39:05 +02:00
Le Philousophe faa16c9023 GRAPHICS: Fix UB when bytesPerPixel == 4
It doesn't even work on x86(_64) as 1 is not shifted
2022-01-06 19:39:05 +02:00
Le Philousophe a110714141 GRAPHICS: Remove superfluous memset
Surface::create already initialized memory to 0 and getPixels can be
nullptr if bitmap size is 0. In this case memset gets called with
nullptr which is undefined behaviour.
2022-01-06 19:39:05 +02:00