don't load corrupt wav files
[divverent/darkplaces.git] / portals.h
1
2 #ifndef PORTALS_H
3 #define PORTALS_H
4
5 int Portal_CheckPolygon(dp_model_t *model, vec3_t eye, float *polypoints, int numpoints);
6 int Portal_CheckBox(dp_model_t *model, vec3_t eye, vec3_t a, vec3_t b);
7 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);
8
9 #endif
10