X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=model_brush.h;h=3ab97037de5f69c7cccda5d54c7615f1b9036baa;hb=6f7c3f6e6bd0f1db1987f87e6090bc98d620cc30;hp=4dfa594fc1e29de0808c3fa500aa0318a29eeb64;hpb=0978ba21dea20cb8225c4df2d64afda2c697a40c;p=xonotic%2Fdarkplaces.git diff --git a/model_brush.h b/model_brush.h index 4dfa594f..3ab97037 100644 --- a/model_brush.h +++ b/model_brush.h @@ -71,6 +71,7 @@ mplane_t; #define SURF_SHADOWCAST 0x1000 // this polygon can cast stencil shadows #define SURF_SHADOWLIGHT 0x2000 // this polygon can be lit by stencil shadowing #define SURF_WATERALPHA 0x4000 // this polygon's alpha is modulated by r_wateralpha +#define SURF_SOLIDCLIP 0x8000 // this polygon blocks movement #define SURFRENDER_OPAQUE 0 #define SURFRENDER_ALPHA 1 @@ -213,6 +214,9 @@ typedef struct msurface_s // avoid redundent addition of dlights int lightframe; + // avoid multiple collision traces with a surface polygon + int colframe; + // these are just 3D points defining the outline of the polygon, // no texcoord info (that can be generated from these) int poly_numverts;