View Issue Details

IDProjectCategoryView StatusLast Update
0000564Gameplay + OpenGL[All Projects] Featurepublic2017-04-12 19:42
ReporterXaser 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
PlatformPCOSWindowsOS Version7
Summary0000564: Expose WeaponState (WF_*) enum to ZScript
DescriptionI found myself in need of checking if the player's currently-held weapon is ready to fire, then noticed that the WF_ enums used for player.WeaponState aren't exposed to ZScript.

It's technically easy to replicate the enum in-script (or just check "player.WeaponState & 1"), but a canon enum would be nice to have.

[EDIT] For reference, I'm talking 'bout these:
https://github.com/coelckers/gzdoom/blob/master/src/d_player.h#L219
TagsNo tags attached.

Relationships

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-04-10 21:57 Xaser New Issue
2017-04-10 22:35 Xaser Description Updated View Revisions
2017-04-12 19:42 Graf Zahl Status new => resolved
2017-04-12 19:42 Graf Zahl Resolution open => fixed