8 Commits

Author SHA1 Message Date
Scott Percival
49f38f28de DIRECTOR: Add new kClutSystemWinD5 palette 2023-05-10 09:48:50 +02:00
Scott Percival
699eb67daa DIRECTOR: Add observed 16-color Mac palette
The resource fork in the Director 4 projector has a 16-color palette
right next to the 256-color System - Mac one, and the colors seem to
match the default System 4 palette. Nevertheless, this palette appears
to be reasonably different (both in colors and ordering) from the one
actually used. Included is a palette determined empirically from
DOSBox screenshots.
2023-01-10 13:41:53 +01:00
Scott Percival
48740a2ad1 DIRECTOR: Remove all palette reversing workarounds
All of the builtin palette lookup tables have been reversed, to match
the original layout of the tables in the Director 4 projector executable.
This corresponds with the colour indexing used in Lingo.
Likewise, the code to load palettes from the cast no longer reads the
colours in reverse order, and shiftPalette no longer expects
the start index to be after the end index.

DirectorEngine::transformColor still exists to upgrade to 32-bit colour,
but no longer reverses the palette index.

The missing builtin 16-color palettes from Director 4 have been added.
2023-01-10 13:41:53 +01:00
Eugene Sandulenko
aa34532742
DIRECTOR: Added built-in tile drawing to tests 2022-06-13 18:12:22 +02:00
Eugene Sandulenko
43a71055f5
DIRECTOR: Decompress built-in tiles 2022-06-13 18:12:22 +02:00
Eugene Sandulenko
1669e27dbb
DIRECTOR: Extracted default Director tiles 2022-06-13 18:12:22 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
afc972f584 DIRECTOR: Split out static data from graphics.cpp
Actually, we'd better move it to director.dat file
2020-08-21 00:18:30 +02:00