Ang

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

In the player structure, ang is the current angle that the player is facing. In the sprite structure, ang serves the same purpose. Note that for players, the angle member of the sprite referenced by i is updated to reflect this value once per tic. 2048 Build units corresponds to 360 degrees.