// flag arrays used for visibility checking on world model
// (all other entities have no per-surface/per-leaf visibility checks)
// TODO: dynamic resize according to r_refdef.worldmodel->brush.num_clusters
-qbyte r_pvsbits[(32768+7)>>3];
+extern qbyte r_pvsbits[(32768+7)>>3];
// TODO: dynamic resize according to r_refdef.worldmodel->brush.num_leafs
-qbyte r_worldleafvisible[32768];
+extern qbyte r_worldleafvisible[32768];
// TODO: dynamic resize according to r_refdef.worldmodel->num_surfaces
-qbyte r_worldsurfacevisible[262144];
+extern qbyte r_worldsurfacevisible[262144];
extern matrix4x4_t r_identitymatrix;
// vis stuff
extern cvar_t r_novis;
-// detail texture stuff
-extern cvar_t r_detailtextures;
-
extern cvar_t r_lerpsprites;
extern cvar_t r_lerpmodels;
extern cvar_t r_waterscroll;
-extern cvar_t r_watershader;
extern cvar_t developer_texturelogging;
extern rtexture_t *r_texture_notexture;
extern rtexture_t *r_texture_whitecube;
extern rtexture_t *r_texture_normalizationcube;
-#define NUM_DETAILTEXTURES 1
-extern rtexture_t *r_texture_detailtextures[NUM_DETAILTEXTURES];
-extern rtexture_t *r_texture_distorttexture[64];
void R_TimeReport(char *name);
void R_TimeReport_Start(void);