Access incs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
More information |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
'''''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. | |||
[[Category:Player structure members]] |
Latest revision as of 07:59, 8 September 2006
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.