Commit Graph
3 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 02d448267a Render fonts as PCX (-420 KiB RAM)
Reduces peak memory consuption in game by ~420 KiB.

This is because the PCX renderer applies the palette on the fly while
rendering, meaning we do not need to duplicate the font for different
palettes.

This approach is also a bit slower than precomposed palettes (still
plenty fast).
2022-06-15 16:59:59 +02:00
Gleb Mazovetskiy c380c7fa61 PCX: Add transparency support 2022-06-13 09:54:01 +01:00
Gleb Mazovetskiy 220d38aa5c Direct PCX rendering 2022-06-13 09:54:01 +01:00