]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/darkplaces-src/meshqueue.h
Include the source of the Darkplaces engine too
[voretournament/voretournament.git] / misc / source / darkplaces-src / meshqueue.h
diff --git a/misc/source/darkplaces-src/meshqueue.h b/misc/source/darkplaces-src/meshqueue.h
new file mode 100644 (file)
index 0000000..f54c4ce
--- /dev/null
@@ -0,0 +1,12 @@
+
+#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_RenderTransparent(void);
+
+#endif