From 77b5a1193e912ae5b5ca84256954744ce2c80eb7 Mon Sep 17 00:00:00 2001 From: Ioan Chera Date: Sun, 8 Jan 2017 21:10:58 +0200 Subject: [PATCH] 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. --- zdefs.acs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zdefs.acs b/zdefs.acs index 4cef9bf..946088b 100644 --- a/zdefs.acs +++ b/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