Httempang: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m This is not just for pal |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
httempang holds the number of the sprite's previous pal (if the sprite is not a player). The sprite's | '''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. | ||
See [[pal]] for more information about palette swaps. | |||
This variable is also used as temporary memory for certain actors, including: | |||
*RECON (temporary angle data) | |||
*ST_30_ROTATE_RISE_BRIDGE (stored in sector effector actor) | |||
*temporarily storing the angle of a SE with a lotag of SE_27_DEMO_CAM, possibly for interpolation purposes | |||
[[Category:Sprite structure members]] |
Latest revision as of 13:11, 15 June 2014
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.
See pal for more information about palette swaps.
This variable is also used as temporary memory for certain actors, including:
- RECON (temporary angle data)
- ST_30_ROTATE_RISE_BRIDGE (stored in sector effector actor)
- temporarily storing the angle of a SE with a lotag of SE_27_DEMO_CAM, possibly for interpolation purposes