From 357b2cd5716d5079c2a94a59aace1c7528699d49 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sun, 18 Feb 2024 19:52:25 -0500 Subject: [PATCH] Opening_t typedef --- src/p_maputl.h | 5 +++-- src/typedef.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/p_maputl.h b/src/p_maputl.h index 99d62a423..f005a4957 100644 --- a/src/p_maputl.h +++ b/src/p_maputl.h @@ -50,7 +50,8 @@ void P_ClosestPointOnLine(fixed_t x, fixed_t y, const line_t *line, vertex_t *re void P_ClosestPointOnLine3D(const vector3_t *p, const vector3_t *line, vector3_t *result); INT32 P_PointOnLineSide(fixed_t x, fixed_t y, const line_t *line); void P_MakeDivline(const line_t *li, divline_t *dl); -typedef struct + +struct opening_t { fixed_t ceiling, floor, range; fixed_t lowfloor, highceiling; @@ -60,7 +61,7 @@ typedef struct fixed_t floorstep, floordrop; INT32 ceilingpic, floorpic; UINT8 fofType; // LO_FOF_ types for forcing FOF collide -} opening_t; +}; #define LO_FOF_ANY (0) #define LO_FOF_FLOORS (1) diff --git a/src/typedef.h b/src/typedef.h index 45a27e9f2..cf5bee3bc 100644 --- a/src/typedef.h +++ b/src/typedef.h @@ -242,6 +242,7 @@ TYPEDEF (BasicFF_t); // p_maputl.h TYPEDEF (divline_t); TYPEDEF (intercept_t); +TYPEDEF(opening_t); // p_mobj.h TYPEDEF (mobj_t);