freedoom/lumps/playpal
2017-02-21 18:43:14 -08:00
..
COPYING lumps: Split out cph/misc-lumps. 2015-12-24 11:12:31 +01:00
Makefile Makefile: Make sure all built files are removed in make clean. 2017-02-21 18:43:14 -08:00
playpal-base.lmp lumps: Split out cph/misc-lumps. 2015-12-24 11:12:31 +01:00
playpal.py Copyright date bump and apply SPDX tags. 2017-02-15 16:41:53 -08:00
README lumps: Add README files for some directories. 2015-12-24 12:29:25 +01:00

This directory contains the palette generation script. The output of the
script is the PLAYPAL lump.

The Doom engine operates in a palettized screen mode where only 256
different colors can be shown on screen at a given time. By applying
alternate palettes, special effects can be generated (eg. the red tint
when taking damage, or the green tint when wearing the radsuit). More
information can be found on the Doom wiki:

    <http://doomwiki.org/wiki/PLAYPAL>

The input for the script is playpal-base.lmp which contains the default
palette seen during normal gameplay. The script translates this palette
into the various other forms which are shown in different situations.