X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=meshqueue.h;h=68fa4d0da4ad84677070e904a012cf9bab52818e;hp=8e5b36e77702d6b77c47cb4ff00c3c39ec8e23ca;hb=2107b65205dbec9522df439f7639c6fe08e54a46;hpb=544356c7bb6288760533142b8ab402f4d8d966ef diff --git a/meshqueue.h b/meshqueue.h index 8e5b36e7..68fa4d0d 100644 --- a/meshqueue.h +++ b/meshqueue.h @@ -2,8 +2,11 @@ #ifndef MESHQUEUE_H #define MESHQUEUE_H +// VorteX: seems this value is hardcoded in other several defines as it's changing makes mess +#define MESHQUEUE_TRANSPARENT_BATCHSIZE 256 + void R_MeshQueue_BeginScene(void); -void R_MeshQueue_AddTransparent(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_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_RenderTransparent(void); #endif