Commit Graph

3 Commits (0463d4c198501eb5d531bbef1b2fd1c9e15587fd)

Author SHA1 Message Date
Peter Nelson 0463d4c198 Codechange: Remove direct access to _colour_gradient.
Access is now through GetColourGradient, which ensures parameters are in range.
7 months ago
Peter Nelson 0bc22dd310 Add: 32bpp-to-8bpp palette index lookup.
Lookups are calculated on demand and caches in a 256KB in-memory table.
9 months ago
Peter Nelson daec0e2ca4 Codechange: Split palette handling to separate file. 9 months ago