]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
added DP_EF_DOUBLESIDED extension to list
[xonotic/darkplaces.git] / client.h
index 6e9c3b3e8a9783b669abb7d4f22ded44936b7d69..1f815d72dec306b2fb1d7846ae60495456a9d566 100644 (file)
--- a/client.h
+++ b/client.h
@@ -117,6 +117,12 @@ typedef struct rtlight_s
        // squared cullradius
        //vec_t cullradius2;
 
+       // rendering properties, updated each time a light is rendered
+       // this is rtlight->color * d_lightstylevalue
+       vec3_t currentcolor;
+       // this is R_Shadow_Cubemap(rtlight->cubemapname)
+       rtexture_t *currentcubemap;
+
        // lightmap renderer stuff (remove someday!)
        // the size of the light
        vec_t lightmap_cullradius;
@@ -869,11 +875,11 @@ typedef struct refdef_s
 {
        // area to render in
        int x, y, width, height;
-       float fov_x, fov_y;
+       float frustum_x, frustum_y;
 
        // these are set for water warping before
-       // fov_x/fov_y are calculated
-       float fovscale_x, fovscale_y;
+       // frustum_x/frustum_y are calculated
+       float frustumscale_x, frustumscale_y;
 
        // view transform
        matrix4x4_t viewentitymatrix;