Subweapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon. | This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon. | ||
Works like a bitfield, with the only value used in Duke Nukem 3D v1.5 being 2048 (one shifted left by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero. | |||
Identical to [[bsubweapon]], except the later interpret the value as true/false for each weapon. | |||
[[Category:Player structure members]] | [[Category:Player structure members]] |
Revision as of 19:45, 19 February 2020
This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon.
Works like a bitfield, with the only value used in Duke Nukem 3D v1.5 being 2048 (one shifted left by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero.
Identical to bsubweapon, except the later interpret the value as true/false for each weapon.