- renamed base FAFgetzrangepoint function

This commit is contained in:
Christoph Oelckers 2022-09-06 00:35:56 +02:00
parent 860dde17ca
commit 5b52af9b85
2 changed files with 4 additions and 4 deletions

View file

@ -1789,7 +1789,7 @@ inline void FAFgetzrange(const DVector3& pos, sectortype* sect,
FAFgetzrange(p, sect, hiz, ceilhit, loz, florhit, clipdist, clipmask);
}
void FAFgetzrangepoint(int32_t x, int32_t y, int32_t z, sectortype* sect,
void FAFgetzrangepoint_(int32_t x, int32_t y, int32_t z, sectortype* sect,
int32_t* hiz, Collision* ceilhit,
int32_t* loz, Collision* florhit);
@ -1798,7 +1798,7 @@ inline void FAFgetzrangepoint(int32_t x, int32_t y, int32_t z, sectortype* sect,
double* loz, Collision* florhit)
{
int32_t hi, lo;
FAFgetzrangepoint(x, y, z, sect, &hi, ceilhit, &lo, florhit);
FAFgetzrangepoint_(x, y, z, sect, &hi, ceilhit, &lo, florhit);
*hiz = hi * zinttoworld;
*loz = lo * zinttoworld;
}
@ -1808,7 +1808,7 @@ inline void FAFgetzrangepoint(const DVector3& pos, sectortype* sect,
double* loz, Collision* florhit)
{
int32_t hi, lo;
FAFgetzrangepoint(int(pos.X * worldtoint), int(pos.Y * worldtoint), int(pos.Z * zworldtoint), sect, &hi, ceilhit, &lo, florhit);
FAFgetzrangepoint_(int(pos.X * worldtoint), int(pos.Y * worldtoint), int(pos.Z * zworldtoint), sect, &hi, ceilhit, &lo, florhit);
*hiz = hi * zinttoworld;
*loz = lo * zinttoworld;
}

View file

@ -554,7 +554,7 @@ void FAFgetzrange(vec3_t pos, sectortype* sect, int32_t* hiz, Collision* ceilhit
//
//---------------------------------------------------------------------------
void FAFgetzrangepoint(int32_t x, int32_t y, int32_t z, sectortype* const sect,
void FAFgetzrangepoint_(int32_t x, int32_t y, int32_t z, sectortype* const sect,
int32_t* hiz, Collision* ceilhit,
int32_t* loz, Collision* florhit)
{