diff --git a/source/build/include/build.h b/source/build/include/build.h index e83a7ebcb..a73911fd1 100644 --- a/source/build/include/build.h +++ b/source/build/include/build.h @@ -216,8 +216,6 @@ inline constexpr uint32_t uhypsq(int32_t const dx, int32_t const dy) return (uint32_t)dx*dx + (uint32_t)dy*dy; } -void rotatepoint(vec2_t const pivot, vec2_t p, int16_t const daang, vec2_t * const p2) ATTRIBUTE((nonnull(4))); - int32_t lintersect(int32_t originX, int32_t originY, int32_t originZ, int32_t destX, int32_t destY, int32_t destZ, int32_t lineStartX, int32_t lineStartY, int32_t lineEndX, int32_t lineEndY, diff --git a/source/core/gamefuncs.h b/source/core/gamefuncs.h index 2f2a552db..a76e42c0a 100644 --- a/source/core/gamefuncs.h +++ b/source/core/gamefuncs.h @@ -291,7 +291,7 @@ EClose IsCloseToWall(const DVector2& vect, walltype* wal, double walldist); void checkRotatedWalls(); bool sectorsConnected(int sect1, int sect2); -void dragpoint(walltype* wal, int newx, int newy); +[[deprecated]] void dragpoint(walltype* wal, int newx, int newy); void dragpoint(walltype* wal, const DVector2& pos); int32_t inside(double x, double y, const sectortype* sect); void getcorrectzsofslope(int sectnum, int dax, int day, int* ceilz, int* florz);