X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=portals.h;h=fb613280c613c63e01fcadc176e3a15129cae27c;hp=928447324389b6251a388488d2f555b45914072f;hb=f4fad9dbeda77dc25174c242f04c5abe88fafaf9;hpb=62e513ac5939cdc12b1119e95aa67f97001430b0 diff --git a/portals.h b/portals.h index 92844732..fb613280 100644 --- a/portals.h +++ b/portals.h @@ -2,9 +2,9 @@ #ifndef PORTALS_H #define PORTALS_H -int Portal_CheckPolygon(model_t *model, vec3_t eye, float *polypoints, int numpoints); -int Portal_CheckBox(model_t *model, vec3_t eye, vec3_t a, vec3_t b); -void Portal_Visibility(model_t *model, const vec3_t eye, qbyte *leafmark, qbyte *surfacemark, const mplane_t *frustumplanes, int numfrustumplanes, int exact, float radius, float *updateleafsmins, float *updateleafsmaxs); +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