]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/darkplaces-src/portals.h
Include the source of the Darkplaces engine too
[voretournament/voretournament.git] / misc / source / darkplaces-src / portals.h
diff --git a/misc/source/darkplaces-src/portals.h b/misc/source/darkplaces-src/portals.h
new file mode 100644 (file)
index 0000000..fb61328
--- /dev/null
@@ -0,0 +1,10 @@
+
+#ifndef PORTALS_H
+#define PORTALS_H
+
+int Portal_CheckPolygon(dp_model_t *model, vec3_t eye, float *polypoints, int numpoints);
+int Portal_CheckBox(dp_model_t *model, vec3_t eye, vec3_t a, vec3_t b);
+void Portal_Visibility(dp_model_t *model, const vec3_t eye, int *leaflist, unsigned char *leafpvs, int *numleafspointer, int *surfacelist, unsigned char *surfacepvs, int *numsurfacespointer, const mplane_t *frustumplanes, int numfrustumplanes, int exact, const float *boxmins, const float *boxmaxs, float *updateleafsmins, float *updateleafsmaxs, unsigned char *shadowtrispvs, unsigned char *lighttrispvs, unsigned char *visitingleafpvs);
+
+#endif
+