X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=render.h;h=e7b99a665ff59bed1deb7394c2f8659bf9ec313d;hp=eb9d5ef98c137f37d9437f9bbe0677f85395d80d;hb=b2a1a3ffa49a3f315f9f59aa011c5888ad4bea4b;hpb=0406d64e716af8e93af0638e1942d576f9fa94d9 diff --git a/render.h b/render.h index eb9d5ef9..e7b99a66 100644 --- a/render.h +++ b/render.h @@ -501,8 +501,8 @@ void R_DrawExplosions(void); #define gl_solid_format 3 #define gl_alpha_format 4 -int R_CullBox(const vec3_t mins, const vec3_t maxs); -int R_CullBoxCustomPlanes(const vec3_t mins, const vec3_t maxs, int numplanes, const mplane_t *planes); +qbool R_CullFrustum(const vec3_t mins, const vec3_t maxs); +qbool R_CullBox(const vec3_t mins, const vec3_t maxs, int numplanes, const mplane_t *planes); qbool R_CanSeeBox(int numsamples, vec_t eyejitter, vec_t entboxenlarge, vec_t entboxexpand, vec_t pad, vec3_t eye, vec3_t entboxmins, vec3_t entboxmaxs); #include "r_modules.h" @@ -817,7 +817,7 @@ rsurfacepass_t; void R_SetupShader_Generic(rtexture_t *t, qbool usegamma, qbool notrippy, qbool suppresstexalpha); void R_SetupShader_Generic_NoTexture(qbool usegamma, qbool notrippy); void R_SetupShader_DepthOrShadow(qbool notrippy, qbool depthrgb, qbool skeletal); -void R_SetupShader_Surface(const float ambientcolor[3], const float diffusecolor[3], const float specularcolor[3], rsurfacepass_t rsurfacepass, int texturenumsurfaces, const msurface_t **texturesurfacelist, void *waterplane, qbool notrippy); +void R_SetupShader_Surface(const float ambientcolor[3], const float diffusecolor[3], const float specularcolor[3], rsurfacepass_t rsurfacepass, int texturenumsurfaces, const msurface_t **texturesurfacelist, void *waterplane, qbool notrippy, qbool ui); void R_SetupShader_DeferredLight(const rtlight_t *rtlight); typedef struct r_rendertarget_s {