Httempang

From EDukeWiki
Jump to navigation Jump to search

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