Jump to content

Access incs

From EDukeWiki
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.

access_incs is used to sequence the key-card access display. This is a count-up timer which increments itself once per tic if its value is greater than 0. During this time, the access card animation is displayed on screen. Once access_incs's value reaches 12, the bit for the access card currently in use is unset from got_access and access_spritenum is reset to -1. Once access_incs reaches 21, weapon_pos is set to 10, kickback_pic is set to 0 and access_incs is reset to 0.