![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | meshqueue_t |
Functions | |
void | R_MeshQueue_AddTransparent (dptransparentsortcategory_t category, const vec3_t center, void(*callback)(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfacelist), const entity_render_t *ent, int surfacenumber, const rtlight_t *rtlight) |
void | R_MeshQueue_BeginScene (void) |
void | R_MeshQueue_RenderTransparent (void) |
void R_MeshQueue_AddTransparent | ( | dptransparentsortcategory_t | category, |
const vec3_t | center, | ||
void(* | callback )(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfacelist), | ||
const entity_render_t * | ent, | ||
int | surfacenumber, | ||
const rtlight_t * | rtlight ) |
Definition at line 33 of file meshqueue.c.
References meshqueue_t::callback, meshqueue_t::category, cls, meshqueue_t::dist, DotProduct, meshqueue_t::ent, r_refdef_view_t::forward, cvar_t::integer, max, Mem_Alloc, Mem_Free, mqt_array, mqt_count, mqt_total, mqt_viewmaxdist, mqt_viewplanedist, meshqueue_t::next, NULL, r_refdef_view_t::origin, client_static_t::permanentmempool, r_refdef, r_transparent_useplanardistance, meshqueue_t::rtlight, meshqueue_t::surfacenumber, VectorDistance, and r_refdef_t::view.
Referenced by R_DrawEntityBBoxes(), R_DrawExplosions(), R_DrawLocs(), R_DrawNoModel(), R_DrawParticles(), R_DrawPortals(), R_Mod_DrawLight(), R_Model_Sprite_Draw(), R_ProcessTransparentTextureSurfaceList(), and R_Shadow_DrawLightSprites().
Definition at line 26 of file meshqueue.c.
References DotProduct, r_refdef_view_t::forward, mqt_count, mqt_viewmaxdist, mqt_viewplanedist, r_refdef_view_t::origin, r_refdef, and r_refdef_t::view.
Referenced by R_RenderScene().
Definition at line 62 of file meshqueue.c.
References bound, meshqueue_t::callback, meshqueue_t::category, cls, Cvar_SetValueQuick(), meshqueue_t::dist, meshqueue_t::ent, i, cvar_t::integer, Mem_Alloc, Mem_Free, MESHQUEUE_TRANSPARENT_BATCHSIZE, min, mqt_array, mqt_count, mqt_viewmaxdist, meshqueue_t::next, NULL, client_static_t::permanentmempool, r_transparent_sortarraysize, r_transparent_sortmaxdist, r_transparent_sortmindist, meshqueue_t::rtlight, meshqueue_t::surfacenumber, trans_hash, trans_hashpointer, trans_sortarraysize, TRANSPARENTSORT_DISTANCE, TRANSPARENTSORT_HUD, TRANSPARENTSORT_SKY, and void().
Referenced by R_RenderScene().
meshqueue_t* mqt_array |
Definition at line 22 of file meshqueue.c.
Referenced by R_MeshQueue_AddTransparent(), and R_MeshQueue_RenderTransparent().
int mqt_count |
Definition at line 23 of file meshqueue.c.
Referenced by R_MeshQueue_AddTransparent(), R_MeshQueue_BeginScene(), and R_MeshQueue_RenderTransparent().
int mqt_total |
Definition at line 24 of file meshqueue.c.
Referenced by R_MeshQueue_AddTransparent().
float mqt_viewmaxdist |
Definition at line 21 of file meshqueue.c.
Referenced by R_MeshQueue_AddTransparent(), R_MeshQueue_BeginScene(), and R_MeshQueue_RenderTransparent().
float mqt_viewplanedist |
Definition at line 20 of file meshqueue.c.
Referenced by R_MeshQueue_AddTransparent(), and R_MeshQueue_BeginScene().
meshqueue_t** trans_hash = NULL |
Definition at line 17 of file meshqueue.c.
Referenced by R_MeshQueue_RenderTransparent().
meshqueue_t*** trans_hashpointer = NULL |
Definition at line 18 of file meshqueue.c.
Referenced by R_MeshQueue_RenderTransparent().
int trans_sortarraysize |
Definition at line 16 of file meshqueue.c.
Referenced by R_MeshQueue_RenderTransparent().