- Blood: #define replacement

This commit is contained in:
Christoph Oelckers 2020-10-11 11:52:30 +02:00
parent 7deb3ed4bd
commit 7b6964a08f
5 changed files with 25 additions and 25 deletions

View file

@ -28,9 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_BLD_NS
#define kMessageLogSize 32
#define kMaxMessageTextLength 81
enum MESSAGE_PRIORITY {
MESSAGE_PRIORITY_PICKUP = -10,
MESSAGE_PRIORITY_NORMAL = 0,

View file

@ -40,28 +40,31 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_BLD_NS
enum
{
// CONSTANTS
// additional non-thing proximity, sight and physics sprites
#define kMaxSuperXSprites 128
#define kMaxTrackingConditions 64
#define kMaxTracedObjects 32 // per one tracking condition
kMaxSuperXSprites = 128,
kMaxTrackingConditions = 64,
kMaxTracedObjects = 32, // per one tracking condition
// additional physics attributes for debris sprites
#define kPhysDebrisFly 0x0008 // *debris* affected by negative gravity (fly instead of falling, DO NOT mess with kHitagAutoAim)
#define kPhysDebrisSwim 0x0016 // *debris* can swim underwater (instead of drowning)
#define kPhysDebrisVector 0x0400 // *debris* can be affected by vector weapons
#define kPhysDebrisExplode 0x0800 // *debris* can be affected by explosions
kPhysDebrisFly = 0x0008, // *debris* affected by negative gravity (fly instead of falling, DO NOT mess with kHitagAutoAim)
kPhysDebrisSwim = 0x0016, // *debris* can swim underwater (instead of drowning)
kPhysDebrisVector = 0x0400, // *debris* can be affected by vector weapons
kPhysDebrisExplode = 0x0800, // *debris* can be affected by explosions
// *modern types only hitag*
#define kModernTypeFlag0 0x0000
#define kModernTypeFlag1 0x0001
#define kModernTypeFlag2 0x0002
#define kModernTypeFlag3 0x0003
#define kModernTypeFlag4 0x0004
kModernTypeFlag0 = 0x0000,
kModernTypeFlag1 = 0x0001,
kModernTypeFlag2 = 0x0002,
kModernTypeFlag3 = 0x0003,
kModernTypeFlag4 = 0x0004,
#define kMaxRandomizeRetries 16
#define kPercFull 100
#define kCondRange 100
kMaxRandomizeRetries = 16,
kPercFull = 100,
kCondRange = 100,
};

View file

@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_BLD_NS
#define kPQueueSize 1024
enum { kPQueueSize = 1024 };
template <typename T> struct queueItem
{

View file

@ -30,7 +30,7 @@ class F2DDrawer;
BEGIN_BLD_NS
#define kQavOrientationLeft 4096
enum { kQavOrientationLeft = 4096 };
#pragma pack(push, 1)

View file

@ -126,7 +126,7 @@ enum
kSBarNumberArmor3 = 9270,
};
#define kFontNum 5
enum { kFontNum = 5 };
extern FFont *gFont[kFontNum];
extern VIEWPOS gViewPos;