Httempang: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
'''httempang''' holds the number of the sprite's previous pal (if the sprite is not a player).  The sprite's pal is set to this number when the [[getlastpal]] command is used.  Note that the previous pal is stored in httempang only when the [[spritepal]] command is used.
'''httempang''' holds the number of the sprite's previous [[pal|palette]] (if the sprite is not a player).  The sprite's palette is set to this number when the [[getlastpal]] command is used.  Note that the previous pal is stored in httempang only when the [[spritepal]] command is used.


Given the name of this member, it seems likely that it was originally intended to store an angle.
Given the name of this member, it seems likely that it was originally intended to store an angle.
See [[pal]] for more information about palette swaps.


[[Category:Sprite structure members]]
[[Category:Sprite structure members]]

Revision as of 18:04, 26 September 2009

httempang holds the number of the sprite's previous palette (if the sprite is not a player). The sprite's palette is set to this number when the getlastpal command is used. Note that the previous pal is stored in httempang only when the spritepal command is used.

Given the name of this member, it seems likely that it was originally intended to store an angle.

See pal for more information about palette swaps.