From 1add66786c017390473293cfd5c0d867c59ccba7 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 15 Mar 2026 15:36:11 -0500 Subject: [PATCH] Fix bitflags enum ffloorbustflags_e for C++ --- src/r_defs.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/r_defs.h b/src/r_defs.h index c3d9cb2fa..b3049db4d 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -157,13 +157,12 @@ typedef int ffloortype_e; #define FOF_BOUNCY (0x20000000) ///< Bounces players #define FOF_SPLAT (0x40000000) ///< Use splat flat renderer (treat cyan pixels as invisible) +typedef int ffloorbustflags_e; + +#define FB_PUSHABLES (0x1) // Bustable by pushables +#define FB_EXECUTOR (0x2) // Trigger linedef executor +#define FB_ONLYBOTTOM (0x4) // Only bustable from below -typedef enum -{ - FB_PUSHABLES = 0x1, // Bustable by pushables - FB_EXECUTOR = 0x2, // Trigger linedef executor - FB_ONLYBOTTOM = 0x4, // Only bustable from below -} ffloorbustflags_e; typedef int oldffloortype_e; #define FF_OLD_EXISTS (0x1)