Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2

This commit is contained in:
nashmuhandes 2021-10-05 12:53:05 +08:00
commit d35cd9549f
21 changed files with 81 additions and 87 deletions

View file

@ -109,21 +109,22 @@ static inline bool P_IsThingSpecial(int specnum)
return (specnum >= Thing_Projectile && specnum <= Thing_SpawnNoFog) ||
specnum == Thing_SpawnFacing || specnum == Thing_ProjectileIntercept || specnum == Thing_ProjectileAimed;
}
enum
namespace
{
Dm=1,
Ht=2,
Hx=4,
St=8,
Zd=16,
Zdt=32,
Va=64,
// will be extended later. Unknown namespaces will always be treated like the base
// namespace for each game
};
enum
{
Dm=1, // Doom
Ht=2, // Heretic
Hx=4, // Hexen
St=8, // Strife
Zd=16, // ZDoom
Zdt=32, // ZDoom Translated
Va=64, // Vavoom
// will be extended later. Unknown namespaces will always be treated like the base
// namespace for each game
};
}
#define CHECK_N(f) if (!(namespace_bits&(f))) break;
//===========================================================================