138626 Commits

Author SHA1 Message Date
Scott Percival
e2053c51ab DIRECTOR: Add event breakpoints to debugger 2023-02-08 13:30:58 +01:00
Scott Percival
5d408bb9e9 DIRECTOR: Only redither 8-bit images in Director 4 and up.
Director 4 has a cast member field to set a palette for a bitmap. If
this field differs from the current movie palette, Director will try and
do nearest-neighbour colour remapping of the bitmap to the movie palette.

Director 3 and below have a cast member field to set a palette for a
bitmap, but it doesn't appear to be used for rendering. You can have an
entirely different palette set there, and it will ignore it and use the
movie palette instead.

Fixes the inventory bar icons in Hell Cab.
2023-02-08 13:30:58 +01:00
neuromancer
8f5fb5bb48 FREESCAPE: load some? global objects in dark for dos (and demo) 2023-02-08 08:53:15 +01:00
Paweł Kołodziejski
b98a8d4383
TINYGL: Normalize decimal values for color and normal array arguments. 2023-02-08 06:49:34 +01:00
Paul Gilbert
b72471875a MM: MM1: Fix the Escape keybinding action
I didn't fix it for so long that I ended up adding explicit
checks in msgKeypress in all the various dialogs. Now that
it's fixed, I also have to fix the dialogs to properly
check for the Escape action rather than the key
2023-02-07 21:26:52 -08:00
Paul Gilbert
4310afe63a MM: MM1: Remove duplicate statColor implementation 2023-02-07 20:17:54 -08:00
Paul Gilbert
943ff7f9c5 MM: MM1: Allow selecting characters from QuickRef 2023-02-07 20:08:48 -08:00
Paul Gilbert
fbfad865ff MM: MM1: Remainder of QuickRef dialog 2023-02-07 20:02:26 -08:00
Paul Gilbert
e1977dbd77 MM: MM1: Further QuickRef dialog 2023-02-07 20:02:26 -08:00
Paul Gilbert
d4f8c51567 MM: MM1: Load character names in camel case in enhanced version 2023-02-07 20:02:26 -08:00
Paul Gilbert
a43b5c4d2a MM: MM1: In progress enhanced QuickRef dialog 2023-02-07 20:02:26 -08:00
Matthew Jimenez
5ce54293a8 ULTIMA8: Add test case for rendering issue where transparent rule should not apply 2023-02-07 18:11:38 -06:00
Matthew Jimenez
c32b0f88da ULTIMA8: Fix rendering for transparent item drawn after only if locations are equal 2023-02-07 18:11:38 -06:00
Donovan Watteau
7e3d551321 DC: BUILD: Always disable SCUMMv7+ on Dreamcast (Bug#6008)
With the recent v7/v8 changes in the SCUMM engine, trying to run a v7/v8
SCUMM game is not a nice user experience anymore, because the game just
won't fit in the limited default memory available on Dreamcast anymore.

This is also a problem for some other engines on this platform, but the
SCUMM engine being one of the most popular engines, quite a lot of users
end up burning a toast CD-R on their Dreamcast until they figure out
that only SCUMMv6 and earlier still work nowadays (with some limitations
too).  Disabling v7/v8 from the SCUMM engine plugin should also free up
some memory for a better experience with earlier SCUMM titles.
2023-02-08 00:50:33 +01:00
Willem Sonke
8c570d2701 MTROPOLIS: Implement tentative worldmanager.opint handling
When SPQR opens a dialog box it wants to return from, it sets
worldmanager.opint to 7 before switching worldmanager.currentscene to
the dialog box scene. (Other values encountered in SPQR are 2 and 4,
which seem to be used for scene transitions that do not go to dialogs.)
It therefore seems logical that 7 is used to indicate that the
add-to-return-list flag should be set. This commit tentatively assumes
that the least significant bit of opint is the add-to-return-list flag
and sets this flag accordingly when handling writes to
worldmanager.currentscene.
2023-02-08 00:33:16 +01:00
Willem Sonke
8ddde7a12b MTROPOLIS: Implement the Return Modifier 2023-02-08 00:33:16 +01:00
Matthew Duggan
cd09481f6e COMMON: Add ability to handle unknown xml keys 2023-02-08 00:30:08 +01:00
Cameron Cawley
f7785f463a SCUMM: Use the keymapper for bike fights in Full Throttle 2023-02-08 00:11:40 +01:00
Cameron Cawley
61a55bd415 GRAPHICS: Remove or deprecate RGBA palette functions in ManagedSurface 2023-02-08 00:09:39 +01:00
Cameron Cawley
4c3424bf55 ULTIMA: ULTIMA4: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
01e0459f05 ULTIMA: NUVIE: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
6c0fda035e PRIVATE: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
3e019c1d94 NANCY: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
71a8f4262d MTROPOLIS: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
079713e7a8 GUI: Simplify palette code 2023-02-08 00:09:39 +01:00
Cameron Cawley
8f85390b4c GRAPHICS: Add hasPalette and grabPalette to ManagedSurface 2023-02-08 00:09:39 +01:00
Cameron Cawley
2caa338dbd SURFACESDL: Fix calculating the mouse dirty rectangle 2023-02-07 23:44:17 +01:00
Cameron Cawley
ce9d324a72 SURFACESDL: Fix crash when saving screenshots in paletted screen modes 2023-02-07 23:42:42 +01:00
Cameron Cawley
08375cafdf GRAPHICS: Improve TTF rendering quality with RGB332 surfaces 2023-02-07 23:42:42 +01:00
Cameron Cawley
72c3be4418 GRAPHICS: Support blitting to and from RGB332 managed surfaces 2023-02-07 23:42:42 +01:00
Strangerke
8cbd13979e EFH: Add a couple of safeguards 2023-02-07 23:34:25 +01:00
Cameron Cawley
2d7876e7dc RISCOS: Always use static detection for now 2023-02-07 22:13:32 +00:00
Le Philousophe
57e759e05d RISCOS: Use dynamic areas for data and application space for plugins
We only use application space in 26-bits (legacy) mode.
2023-02-07 22:13:32 +00:00
Strangerke
1b313da6cf EFH: Add some safeguards to avoid potential out of bonds reads and negative array index 2023-02-07 22:58:06 +01:00
Eugene Sandulenko
1a532a481f
EFH: Const correctness 2023-02-07 18:57:12 +01:00
sluicebox
ab666139e2 SCI: Update KQ5 Amiga detection entries 2023-02-07 00:36:08 -08:00
sluicebox
1a88eea952 SCI: Update Freddy Pharkas detection entries
- Add missing RESOURCE.MSG file sizes.

- Remove invalid "Spanish CD" entry. This just contained the install
  files for the Spanish version distributed on CD. We require the
  installer to assemble RESOURCE.000 from these files, and we already
  have the correct Spanish entry.

- Set correct RESOURCE.000 hash on the French entry. All floppy versions
  use the same RESOURCE.000. This incorrect hash was produced by
  manually concatenating each disk's RESOURCE.000 together or by running
  the installer without installing digital audio. This game requires the
  installer to update RESOURCE.000 with the correct audio map during
  RESOURCE.AUD decompression.

- Remove invalid "Windows" entry. This is another entry with the same
  audio-less RESOURCE.000 hash. It is unrelated to the platform.
2023-02-06 21:17:35 -08:00
Strangerke
ccf011aa66 EFH: Fix some coverity issues 2023-02-07 00:59:31 +01:00
Strangerke
60e41997b2 EFH: Rewrite prepareStatusRightWindowIndexes() in order to stop depending on out of bond reads 2023-02-06 23:16:34 +01:00
Cameron Cawley
9707204ed7 NEWS: Improve the "New platforms" section 2023-02-06 20:22:51 +00:00
Cameron Cawley
9ca222cbbc NEWS: Move Adibou 2 into the "New games" section 2023-02-06 19:54:04 +00:00
Eugene Sandulenko
7c4d175e01
SWORD1: Fix Italian Steam sword1 detection entry 2023-02-06 20:33:02 +01:00
Eugene Sandulenko
42e61dcabe
SWORD1: Added Steam releases of sword1 for French, Italian and Spanish 2023-02-06 20:13:36 +01:00
Martin Gerhardy
8655f6b978 TWINE: further renaming 2023-02-06 19:04:39 +01:00
Martin Gerhardy
e0051c2aa8 TWINE: fixed LBAAngles usage 2023-02-06 18:57:54 +01:00
Martin Gerhardy
c6b0b8ecef TWINE: replaced with macro 2023-02-06 18:57:54 +01:00
Martin Gerhardy
9c76b8689e TWINE: use toSeconds 2023-02-06 18:57:54 +01:00
Martin Gerhardy
ddb73bc158 TWINE: renamed variables to match original sources 2023-02-06 18:57:54 +01:00
Martin Gerhardy
0517e015fc TWINE: unified with original sources and reduced the amount of globals 2023-02-06 18:57:54 +01:00
Martin Gerhardy
21a7f52183 TWINE: unified with original sources 2023-02-06 18:57:54 +01:00