From 55b055e65472769acc37eb6ef2eeca4912cbf69c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 29 Sep 2022 15:19:23 +0200 Subject: [PATCH] - deleted the deprecated getzrange versions. --- source/build/include/build.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/build/include/build.h b/source/build/include/build.h index ac43c34fa..01691bb8f 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -114,24 +114,6 @@ class F2DDrawer; void getzrange_(const vec3_t& pos, sectortype* sect, int32_t* ceilz, CollisionBase& ceilhit, int32_t* florz, CollisionBase& florhit, int32_t walldist, uint32_t cliptype); -[[deprecated]] -inline void getzrange(const vec3_t& pos, sectortype* sect, int32_t* ceilz, CollisionBase& ceilhit, int32_t* florz, - CollisionBase& florhit, int32_t walldist, uint32_t cliptype) -{ - getzrange_(pos, sect, ceilz, ceilhit, florz, florhit, walldist, cliptype); -} - -[[deprecated]] -inline void getzrange(const vec3_t& pos, sectortype* sect, double* ceilz, CollisionBase& ceilhit, double* florz, - CollisionBase& florhit, int32_t walldist, uint32_t cliptype) -{ - int c = int(*ceilz * zworldtoint); - int f = int(*florz * zworldtoint); - getzrange_(pos, sect, &c, ceilhit, &f, florhit, walldist, cliptype); - *ceilz = c * zinttoworld; - *florz = f * zinttoworld; -} - inline void getzrange(const DVector3& pos, sectortype* sect, double* ceilz, CollisionBase& ceilhit, double* florz, CollisionBase& florhit, int32_t walldist, uint32_t cliptype) {