X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=portals.h;h=fb613280c613c63e01fcadc176e3a15129cae27c;hb=3387cacc03e24a4104e96961383e43a62dd92df5;hp=6e96ce01807b4645e24e7b4c993975f9b3d4877a;hpb=020ac448eb9f40a6e13ea4b4ed611ab5cdefa7ea;p=xonotic%2Fdarkplaces.git diff --git a/portals.h b/portals.h index 6e96ce01..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, const float *boxmins, const float *boxmaxs, 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