]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
user (csqc) controllable wavefuncs
[xonotic/darkplaces.git] / render.h
index aa90252bbf6ade5cdde8b60c420a2f1761528c66..7cc1ae22b889bb64eef97295bd71969a7762a684 100644 (file)
--- a/render.h
+++ b/render.h
@@ -410,6 +410,9 @@ typedef struct rsurfacestate_s
        // this transforms only the Z to S, and T is always 0.5
        matrix4x4_t entitytoattenuationz;
 
+       // user wavefunc parameters (from csqc)
+       float userwavefunc_param[Q3WAVEFUNC_USER_COUNT];
+
        // pointer to an entity_render_t used only by R_GetCurrentTexture and
        // RSurf_ActiveWorldEntity/RSurf_ActiveModelEntity as a unique id within
        // each frame (see r_frame also)