mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-29 23:22:39 +00:00
Added APROP constants for Eternity's eight thing counters
Small used to support accessing thing counters (user defined states) from scripts, so I'm adding this feature back to ACS for Eternity. There are eight int counters per Mobj and no more will be added, so I suppose it's alright to use eight APROP enums for them instead of, say, new ACS functions. Small's functions to access variables were very similar to SetActorProperty/CheckActorProperty.
This commit is contained in:
parent
e580d73537
commit
77b5a1193e
1 changed files with 10 additions and 0 deletions
10
zdefs.acs
10
zdefs.acs
|
@ -295,6 +295,16 @@
|
|||
#define APROP_MaxDropOffHeight 45
|
||||
#define APROP_DamageType 46
|
||||
|
||||
// New to Eternity
|
||||
#define APROP_Counter0 100
|
||||
#define APROP_Counter1 101
|
||||
#define APROP_Counter2 102
|
||||
#define APROP_Counter3 103
|
||||
#define APROP_Counter4 104
|
||||
#define APROP_Counter5 105
|
||||
#define APROP_Counter6 106
|
||||
#define APROP_Counter7 107
|
||||
|
||||
// Render Styles ------------------------------------------------------------
|
||||
|
||||
#define STYLE_None 0 // Do not draw
|
||||
|
|
Loading…
Reference in a new issue