raze/source/core/ns.h
Christoph Oelckers 94a37dfcdc - extended walltype to directly manage Blood's XWALL.
Unfortunately this had to be done in the base class so that we can still maintain the walls in a global array.
The tradeoffs of better abstractions would be far too costly here than the added 16 bytes to the wall struct.
2021-12-25 21:28:47 +01:00

36 lines
553 B
C

#pragma once
#ifndef NO_NAMESPACE
#define DUKE_NS Duke3d
#define BEGIN_DUKE_NS namespace DUKE_NS {
#define END_DUKE_NS }
#define BLD_NS Blood
#define BEGIN_BLD_NS namespace BLD_NS {
#define END_BLD_NS }
#define SW_NS ShadowWarrior
#define BEGIN_SW_NS namespace SW_NS {
#define END_SW_NS }
#define PS_NS Exhumed
#define BEGIN_PS_NS namespace PS_NS {
#define END_PS_NS }
#else
#define BEGIN_DUKE_NS
#define END_DUKE_NS
#define BEGIN_BLD_NS
#define END_BLD_NS
#define BEGIN_SW_NS
#define END_SW_NS
#define BEGIN_PS_NS
#define END_PS_NS
#endif