Revert "inline some things"

This reverts commit 0b47c310eccf55871a5bd466f44afa3215cc1322.
This commit is contained in:
Alug committed 2024-03-13 08:35:47 +01:00
1 parent c6f9fb2ac2
commit 19d8749abf
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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 FUNCINLINE ATTRINLINE INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line)
PUREFUNC INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line)
{
const vertex_t *v1 = line->v1;
fixed_t dx, dy, left, right;
+1 -1
View File
@@ -331,7 +331,7 @@ static void FlipCam4_OnChange(void)
//
// killough 5/2/98: reformatted
//
PUREFUNC FUNCINLINE ATTRINLINE INT32 R_PointOnSide(fixed_t x, fixed_t y, const node_t *restrict node)
PUREFUNC INT32 R_PointOnSide(fixed_t x, fixed_t y, const node_t *restrict node)
{
if (!node->dx)
return x <= node->x ? node->dy > 0 : node->dy < 0;
+2 -2
View File
@@ -27,7 +27,7 @@
#include "tables.h"
FUNCINLINE ATTRINLINE unsigned SlopeDiv(unsigned num, unsigned den)
unsigned SlopeDiv(unsigned num, unsigned den)
{
unsigned ans;
num <<= (FINE_FRACBITS-FRACBITS);
@@ -38,7 +38,7 @@ FUNCINLINE ATTRINLINE unsigned SlopeDiv(unsigned num, unsigned den)
return ans <= SLOPERANGE ? ans : SLOPERANGE;
}
FUNCINLINE ATTRINLINE UINT64 SlopeDivEx(unsigned int num, unsigned int den)
UINT64 SlopeDivEx(unsigned int num, unsigned int den)
{
UINT64 ans;
if (den < 512)