Looking angSR1: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
looking_angSR1 - Offset for the x position of a sprite when look_ang is changed.
looking_angSR1 is a constantly updated [[gamevar]] holding the offset for the x position of an HUD weapon sprite.
 
It equals <code>([[look_ang]] [[shiftvarr|>>]] 1)</code>, or [[look_ang]] '''<u>s</u>'''hifted '''<u>r</u>'''ight by 1.
 
[[Category:Constantly updated gamevars]]

Latest revision as of 09:02, 10 August 2011

looking_angSR1 is a constantly updated gamevar holding the offset for the x position of an HUD weapon sprite.

It equals (look_ang >> 1), or look_ang shifted right by 1.