From ae829375a03f9bfa5bd3202aeb2b7cf9b288e1f4 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 13 Mar 2024 06:51:26 +0100 Subject: [PATCH] Revert "dont inline those" This reverts commit 2e34de8a125644dd7a0689af28b2076cf4c92e21. --- src/p_maputl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/p_maputl.c b/src/p_maputl.c index ed078e5e6..3fe49bdf8 100644 --- a/src/p_maputl.c +++ b/src/p_maputl.c @@ -134,7 +134,7 @@ void P_ClosestPointOnLine3D(fixed_t x, fixed_t y, fixed_t z, line_t *line, verte // P_PointOnLineSide // Returns 0 or 1 // -PUREFUNC INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line) +PUREFUNC FUNCINLINE ATTRINLINE INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line) { fixed_t dx, dy, left, right; @@ -205,7 +205,7 @@ PUREFUNC INT32 P_BoxOnLineSide(fixed_t *tmbox, const line_t *ld) // P_PointOnDivlineSide // Returns 0 or 1. // -PUREFUNC static INT32 P_PointOnDivlineSide(fixed_t x, fixed_t y, const divline_t *line) +PUREFUNC FUNCINLINE static ATTRINLINE INT32 P_PointOnDivlineSide(fixed_t x, fixed_t y, const divline_t *line) { fixed_t dx, dy, left, right; @@ -980,7 +980,7 @@ boolean P_BlockLinesIterator(INT32 x, INT32 y, boolean (*func)(line_t *)) // // P_BlockThingsIterator // -boolean P_BlockThingsIterator(INT32 x, INT32 y, boolean (*func)(mobj_t *)) +FUNCINLINE ATTRINLINE boolean P_BlockThingsIterator(INT32 x, INT32 y, boolean (*func)(mobj_t *)) { mobj_t *mobj, *bnext = NULL;