sw_rmain.c is now client and chase clean.

This commit is contained in:
Bill Currie 2001-05-20 20:38:51 +00:00
parent 7d008a5949
commit 337430a113
15 changed files with 59 additions and 77 deletions

View file

@ -170,6 +170,9 @@ void R_DrawWaterSurfaces (void);
*/
extern int reinit_surfcache; // if 1, surface cache is currently empty
extern qboolean r_cache_thrash; // set if thrashing the surface cache
extern qboolean r_inhibit_viewmodel;
extern qboolean r_force_fullscreen;
extern entity_t *r_view_model;
void *D_SurfaceCacheAddress (void);
int D_SurfaceCacheForRes (int width, int height);

View file

@ -240,6 +240,8 @@ extern drawsurf_t r_drawsurf;
void R_DrawSurface (void);
void R_GenTile (msurface_t *psurf, void *pdest);
// !!! if this is changed, it must be changed in d_iface.h too !!!
#define CACHE_SIZE 32 // used to align key data structures
// !!! if this is changed, it must be changed in d_ifacea.h too !!!
#define TURB_TEX_SIZE 64 // base turbulent texture size

View file

@ -46,7 +46,7 @@
// !!! if this is changed, it must be changed in r_shared.h too !!!
#define MAXHEIGHT 1024
// !!! if this is changed, it must be changed in quakedef.h too !!!
// !!! if this is changed, it must be changed in d_iface.h too !!!
#define CACHE_SIZE 32 // used to align key data structures
// particle_t structure