Pals

From EDukeWiki
Revision as of 00:40, 20 February 2020 by Fox (talk | contribs) (It is correct. The internal pals array holds 4 values, but the structure is only 3.)
Jump to navigation Jump to search

Member of the player struct; pals # is an array which controls the screen tint values induced by palfrom. See pals_time.

pals is a 4-component array. The first value is the 6-bit (0-63) intensity value which controls the initial translucency of the tint before it fades out. The remaining three values are the 6-bit (0-63) RGB color values of the tint. This mirrors the structure of the palfrom command.