]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
make view kicks (both angle and origin) occur before gun is oriented, so it follows...
[xonotic/darkplaces.git] / model_brush.h
index 7ae603fe3084028a946ae4b773679d397f431cf1..fb4c30a65e70bc4c581b312acaae41d48c9c3112 100644 (file)
@@ -127,9 +127,10 @@ typedef struct texture_s
        // set if animated or there is an alternate frame set
        // (this is an optimization in the renderer)
        int animated;
-       // the current texture frames in animation
-       // (index with entity frame != 0)
-       struct texture_s *currentframe[2];
+       // the current texture frame in animation
+       struct texture_s *currentframe;
+       // current alpha of the texture
+       float currentalpha;
 }
 texture_t;
 
@@ -356,6 +357,7 @@ typedef struct mlight_s
        // maximum extent of the light for culling purposes
        float cullradius;
        float cullradius2;
+       /*
        // surfaces this shines on
        int numsurfaces;
        msurface_t **surfaces;
@@ -365,6 +367,7 @@ typedef struct mlight_s
        //svbspmesh_t *shadowvolume;
        //vec3_t shadowvolumemins, shadowvolumemaxs;
        shadowmesh_t *shadowvolume;
+       */
 }
 mlight_t;