Commit Graph
3 Commits
Author SHA1 Message Date
Torbjörn Andersson 632c5b74fe GRAPHICS: Fix undefined behavior when initializing Octree
As noted by Digitall on Discord.
2025-01-04 11:59:15 +01:00
Torbjörn Andersson 5d3b85af65 GRAPHICS: Remove obsolete FIXME comment 2025-01-02 00:54:58 +02:00
Torbjörn Andersson 19e707ce19 GRAPHICS: Add ColorQuantizer class
This simply moves the new ColorQuantizer class out of the SCUMM engine
and into the Graphics namespace where I think it belongs. It reduces a
potentially large number of colors into a reasonable palette of the
desired size.

The SCUMM engine uses this so that the Mac versions can present the
thumbnail image (which is at least 16 bpp) stored in savegames.
2025-01-02 00:54:58 +02:00