- use an enum for the FX_* flags.

These were still #defines.
This commit is contained in:
Christoph Oelckers 2022-01-07 00:40:40 +01:00
parent be103bd9dc
commit 597856c1d4

View file

@ -36,10 +36,13 @@
#include "vectors.h" #include "vectors.h"
#include "doomdef.h" #include "doomdef.h"
#define FX_ROCKET 0x00000001 enum
#define FX_GRENADE 0x00000002 {
#define FX_RESPAWNINVUL 0x00000020 FX_ROCKET = 0x00000001,
#define FX_VISIBILITYPULSE 0x00000040 FX_GRENADE = 0x00000002,
FX_RESPAWNINVUL = 0x00000020,
FX_VISIBILITYPULSE = 0x00000040
};
struct subsector_t; struct subsector_t;
struct FLevelLocals; struct FLevelLocals;