mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
a4c280f2b2
No clients link. Even if they did, nothing would work.
79 lines
2.1 KiB
C
79 lines
2.1 KiB
C
#ifndef __r_internal_h
|
|
#define __r_internal_h
|
|
|
|
#include "QF/vid.h"
|
|
#include "QF/plugin/vid_render.h"
|
|
#include "r_cvar.h"
|
|
#include "r_dynamic.h"
|
|
#include "r_local.h"
|
|
#include "r_screen.h"
|
|
#include "r_shared.h"
|
|
|
|
extern viddef_t vid; // global video state
|
|
|
|
extern vid_render_data_t vr_data;
|
|
extern vid_render_funcs_t vr_funcs;
|
|
|
|
extern refdef_t r_refdef;
|
|
extern int r_viewsize;
|
|
|
|
void R_LineGraph (int x, int y, int *h_vals, int count);
|
|
|
|
void Fog_Update (float density, float red, float green, float blue,
|
|
float time);
|
|
struct plitem_s;
|
|
void Fog_ParseWorldspawn (struct plitem_s *worldspawn);
|
|
|
|
float *Fog_GetColor (void);
|
|
float Fog_GetDensity (void);
|
|
void Fog_SetupFrame (void);
|
|
void Fog_EnableGFog (void);
|
|
void Fog_DisableGFog (void);
|
|
void Fog_StartAdditive (void);
|
|
void Fog_StopAdditive (void);
|
|
void Fog_Init (void);
|
|
|
|
void R_Init_Cvars (void);
|
|
void R_InitEfrags (void);
|
|
void R_ClearState (void);
|
|
void R_InitSky (struct texture_s *mt); // called at level load
|
|
void R_Textures_Init (void);
|
|
void R_RenderView (void); // must set r_refdef first
|
|
void R_ViewChanged (float aspect); // must set r_refdef first
|
|
// called whenever r_refdef or vid change
|
|
|
|
void R_AddEfrags (entity_t *ent);
|
|
void R_RemoveEfrags (entity_t *ent);
|
|
|
|
void R_NewMap (model_t *worldmodel, model_t **models, int num_models);
|
|
|
|
// LordHavoc: relative bmodel lighting
|
|
void R_PushDlights (const vec3_t entorigin);
|
|
void R_DrawWaterSurfaces (void);
|
|
|
|
void *D_SurfaceCacheAddress (void);
|
|
int D_SurfaceCacheForRes (int width, int height);
|
|
void D_FlushCaches (void);
|
|
void D_DeleteSurfaceCache (void);
|
|
void D_InitCaches (void *buffer, int size);
|
|
void R_SetVrect (vrect_t *pvrect, vrect_t *pvrectin, int lineadj);
|
|
|
|
void R_LoadSkys (const char *);
|
|
|
|
void R_ClearEfrags (void);
|
|
void R_ClearEnts (void);
|
|
void R_EnqueueEntity (struct entity_s *ent);
|
|
entity_t *R_AllocEntity (void);
|
|
void R_FreeAllEntities (void);
|
|
|
|
dlight_t *R_AllocDlight (int key);
|
|
void R_DecayLights (double frametime);
|
|
void R_ClearDlights (void);
|
|
|
|
int R_InitGraphTextures (int base);
|
|
|
|
void R_DrawAliasModel (entity_t *e);
|
|
|
|
void R_MarkLeaves (void);
|
|
|
|
#endif//__r_internal_h
|