Pals: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
Fox (talk | contribs)
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
pals_time is defaulted to zero when the player starts, or when a level is loaded. It is set to the first parameter for the command pal from pals[0-2] are set to the next three parameters. It is a count-down timer. It is also set internally when the player takes damage.
Member of the [[player]] struct; '''pals #''' is an array which controls the screen tint values induced by [[palfrom]]. See [[pals_time]].
 
'''pals #''' is a 3-component array. [[pals_time]] 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.
 
[[Category:Player structure members]]

Latest revision as of 00:42, 20 February 2020

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

pals # is a 3-component array. pals_time 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.