Pals: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
add FIXME, this doc is wrong; read gamestructures.c
Line 1: Line 1:
Member of the [[player]] struct; '''''pals #''''' is an array which controls the screen tint values induced by [[palfrom]].  See [[pals_time]].
Member of the [[player]] struct; '''''pals #''''' is an array which controls the screen tint values induced by [[palfrom]].  See [[pals_time]].
FIXME FIXME FIXME can be indexed like pals 0 ... pals 2 (r, g, b)
FIXME This is incorrect:


'''''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.
'''''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.


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 11:41, 21 March 2012

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

FIXME FIXME FIXME can be indexed like pals 0 ... pals 2 (r, g, b)


FIXME This is incorrect:

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.