OSDN Git Service

Update zdefs.acs with shadow and subtract styles.
[zandronum/zandronum-acc.git] / zdefs.acs
index 18a20ce..d65a277 100644 (file)
--- a/zdefs.acs
+++ b/zdefs.acs
@@ -1,4 +1,3 @@
-\r
 //**************************************************************************\r
 //**\r
 //** zdefs.acs\r
 #define APROP_Radius           36\r
 #define APROP_Reactiontime     37\r
 #define APROP_MeleeRange       38\r
+#define APROP_ViewHeight       39\r
+#define APROP_AttackZOffset    40\r
+#define APROP_StencilColor     41\r
 \r
 // Render Styles ------------------------------------------------------------\r
 \r
 #define STYLE_Normal           1       // Normal; just copy the image to the screen\r
 #define STYLE_Fuzzy                    2       // Draw silhouette using "fuzz" effect\r
 #define STYLE_SoulTrans                3       // Draw translucent with amount in r_transsouls\r
-#define STYLE_OptFuzzy         4       // Draw as fuzzy or translucent, based on user preference\r
+#define STYLE_OptFuzzy         4       // Draw as fuzzy, translucent or shadow, based on user preference\r
 #define STYLE_Stencil          5       // Draw as solid color\r
 #define STYLE_Translucent      64      // Draw translucent\r
 #define STYLE_Add                      65      // Draw additive\r
 #define STYLE_Shaded           66      // \r
 #define STYLE_TranslucentStencil 67\r
+#define STYLE_Shadow           68      // Draw dark translucent stencil\r
+#define STYLE_Subtract  69  // Draw subtractive\r
 \r
 // Properties you can use with GetLevelInfo() -------------------------------\r
 \r
 #DEFINE PTROP_UNSAFEMASTER 2\r
 #DEFINE PTROP_NOSAFEGUARDS PTROP_UNSAFETARGET |PTROP_UNSAFEMASTER \r
 \r
+// Line activation flags\r
+\r
+#define SPAC_Cross                     1               // when player crosses line\r
+#define SPAC_Use                       2               // when player uses line\r
+#define SPAC_MCross                    4               // when monster crosses line\r
+#define SPAC_Impact                    8               // when projectile hits line\r
+#define SPAC_Push                      16              // when player pushes line\r
+#define SPAC_PCross                    32              // when projectile crosses line\r
+#define SPAC_UseThrough                64              // when player uses line (doesn't block)\r
+#define SPAC_AnyCross          128             // when anything without the TELEPORT flag crosses the line\r
+#define SPAC_MUse                      256             // monsters can use\r
+#define SPAC_MPush                     512             // monsters can push\r
+#define SPAC_UseBack           1024    // can be used from the back side\r
+\r
+#define SPAC_None                      0\r
+\r
 // ==========================================================================\r
 // Skulltag Definitions\r
 // ==========================================================================\r
 #define BLOCKF_RAILING 64\r
 #define BLOCKF_USE 128\r
 #define BLOCKF_SIGHT 256\r
+#define BLOCKF_HITSCAN 512\r
 \r
 #define FOGP_DENSITY 0\r
 #define FOGP_OUTSIDEDENSITY 1\r