X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=meshqueue.h;h=68fa4d0da4ad84677070e904a012cf9bab52818e;hp=9a727f30ff110674d784baa014e11b56a61f4d3f;hb=365e221966b15c24c6e2f4cbb6e619b0db443ebf;hpb=93ee242c05da6c2b71a6eaf4e393435988ca6c5a diff --git a/meshqueue.h b/meshqueue.h index 9a727f30..68fa4d0d 100644 --- a/meshqueue.h +++ b/meshqueue.h @@ -5,16 +5,8 @@ // VorteX: seems this value is hardcoded in other several defines as it's changing makes mess #define MESHQUEUE_TRANSPARENT_BATCHSIZE 256 -typedef enum meshqueue_sortcategory_e -{ - MESHQUEUE_SORT_SKY, - MESHQUEUE_SORT_DISTANCE, - MESHQUEUE_SORT_HUD, -} -meshqueue_sortcategory_t; - void R_MeshQueue_BeginScene(void); -void R_MeshQueue_AddTransparent(meshqueue_sortcategory_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_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