]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
sys: work around incomplete POSIX support in MacOS
[xonotic/darkplaces.git] / render.h
index 8bfd9b77fac8f1344d941b2179b84d6efdb22962..a2234a048e09de4e096a7dc07eecb158d1d93fb5 100644 (file)
--- a/render.h
+++ b/render.h
@@ -326,8 +326,6 @@ typedef struct r_refdef_viewcache_s
 {
        // updated by gl_main_newmap()
        int maxentities;
-       int world_numclusters;
-       int world_numclusterbytes;
        int world_numleafs;
        int world_numsurfaces;
 
@@ -856,7 +854,7 @@ typedef struct r_waterstate_waterplane_s
        r_rendertarget_t *rt_camera; // MATERIALFLAG_CAMERA
        mplane_t plane;
        int materialflags; // combined flags of all water surfaces on this plane
-       unsigned char pvsbits[(MAX_MAP_LEAFS+7)>>3]; // FIXME: buffer overflow on huge maps
+       unsigned char *pvsbits;
        qbool pvsvalid;
        int camera_entity;
        vec3_t mins, maxs;
@@ -975,6 +973,7 @@ void R_Model_Sprite_Draw(entity_render_t *ent);
 struct prvm_prog_s;
 void R_UpdateFog(void);
 qbool CL_VM_UpdateView(double frametime);
+void CL_VM_DrawHud(double frametime);
 void SCR_DrawConsole(void);
 void R_Shadow_EditLights_DrawSelectedLightProperties(void);
 void R_DecalSystem_Reset(decalsystem_t *decalsystem);