From 2321a993572ab9ab7dfd813ee924409b5ccde0f7 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Tue, 12 Sep 2023 16:08:58 +0300 Subject: [PATCH] Add remaster-specific SVF_ flags. --- inc/shared/game.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/inc/shared/game.h b/inc/shared/game.h index 4090a920a..c5ae79f51 100644 --- a/inc/shared/game.h +++ b/inc/shared/game.h @@ -32,6 +32,18 @@ with this program; if not, write to the Free Software Foundation, Inc., #define SVF_DEADMONSTER BIT(1) // treat as CONTENTS_DEADMONSTER for collision #define SVF_MONSTER BIT(2) // treat as CONTENTS_MONSTER for collision +#if USE_PROTOCOL_EXTENSIONS +#define SVF_PLAYER BIT(3) +#define SVF_BOT BIT(4) +#define SVF_NOBOTS BIT(5) +#define SVF_RESPAWNING BIT(6) +#define SVF_PROJECTILE BIT(7) +#define SVF_INSTANCED BIT(8) +#define SVF_DOOR BIT(9) +#define SVF_NOCULL BIT(10) +#define SVF_HULL BIT(11) +#endif + // edict->solid values typedef enum {