X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=render.h;h=b5dea8db55022347372c356f2d82975a14da15db;hb=62b1a43c04dd50f4e8a0bfa00974eb880c3b0795;hp=d81cc5656b55ed56716f7d8106a8b975728b00dc;hpb=9a6cc5c4aa4cfcc90d86050f91d684704698c872;p=xonotic%2Fdarkplaces.git diff --git a/render.h b/render.h index d81cc565..b5dea8db 100644 --- a/render.h +++ b/render.h @@ -220,7 +220,7 @@ extern unsigned int r_queries[MAX_OCCLUSION_QUERIES]; extern unsigned int r_numqueries; extern unsigned int r_maxqueries; -void R_TimeReport(char *name); +void R_TimeReport(const char *name); // r_stain void R_Stain(const vec3_t origin, float radius, int cr1, int cg1, int cb1, int ca1, int cr2, int cg2, int cb2, int ca2); @@ -462,7 +462,7 @@ typedef enum rsurfacepass_e RSURFPASS_BASE, RSURFPASS_BACKGROUND, RSURFPASS_RTLIGHT, - RSURFPASS_DEFERREDGEOMETRY, + RSURFPASS_DEFERREDGEOMETRY } rsurfacepass_t; @@ -523,7 +523,7 @@ gl20_texunit; void R_SetupShader_Generic(rtexture_t *first, rtexture_t *second, int texturemode, int rgbscale); void R_SetupShader_DepthOrShadow(void); void R_SetupShader_ShowDepth(void); -void R_SetupShader_Surface(const vec3_t lightcolorbase, qboolean modellighting, float ambientscale, float diffusescale, float specularscale, rsurfacepass_t rsurfacepass, int texturenumsurfaces, const msurface_t **texturesurfacelist); +void R_SetupShader_Surface(const vec3_t lightcolorbase, qboolean modellighting, float ambientscale, float diffusescale, float specularscale, rsurfacepass_t rsurfacepass, int texturenumsurfaces, const msurface_t **texturesurfacelist, void *waterplane); void R_SetupShader_DeferredLight(const rtlight_t *rtlight); typedef struct r_waterstate_waterplane_s