mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-20 01:41:27 +00:00
- added WeaponState enum for ZScript.
This commit is contained in:
parent
1712667ce2
commit
1c8d698121
1 changed files with 16 additions and 0 deletions
|
@ -1154,3 +1154,19 @@ const TEXTCOLOR_BOLD = "\034+";
|
|||
|
||||
const TEXTCOLOR_CHAT = "\034*";
|
||||
const TEXTCOLOR_TEAMCHAT = "\034!";
|
||||
|
||||
enum EWeaponState
|
||||
{
|
||||
WF_WEAPONREADY = 1 << 0, // [RH] Weapon is in the ready state and can fire its primary attack
|
||||
WF_WEAPONBOBBING = 1 << 1, // [HW] Bob weapon while the player is moving
|
||||
WF_WEAPONREADYALT = 1 << 2, // Weapon can fire its secondary attack
|
||||
WF_WEAPONSWITCHOK = 1 << 3, // It is okay to switch away from this weapon
|
||||
WF_DISABLESWITCH = 1 << 4, // Disable weapon switching completely
|
||||
WF_WEAPONRELOADOK = 1 << 5, // [XA] Okay to reload this weapon.
|
||||
WF_WEAPONZOOMOK = 1 << 6, // [XA] Okay to use weapon zoom function.
|
||||
WF_REFIRESWITCHOK = 1 << 7, // Mirror WF_WEAPONSWITCHOK for A_ReFire
|
||||
WF_USER1OK = 1 << 8, // [MC] Allow pushing of custom state buttons 1-4
|
||||
WF_USER2OK = 1 << 9,
|
||||
WF_USER3OK = 1 << 10,
|
||||
WF_USER4OK = 1 << 11,
|
||||
};
|
Loading…
Reference in a new issue