mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- Blood: #define replacement
This commit is contained in:
parent
7deb3ed4bd
commit
7b6964a08f
5 changed files with 25 additions and 25 deletions
|
@ -28,9 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
BEGIN_BLD_NS
|
BEGIN_BLD_NS
|
||||||
|
|
||||||
#define kMessageLogSize 32
|
|
||||||
#define kMaxMessageTextLength 81
|
|
||||||
|
|
||||||
enum MESSAGE_PRIORITY {
|
enum MESSAGE_PRIORITY {
|
||||||
MESSAGE_PRIORITY_PICKUP = -10,
|
MESSAGE_PRIORITY_PICKUP = -10,
|
||||||
MESSAGE_PRIORITY_NORMAL = 0,
|
MESSAGE_PRIORITY_NORMAL = 0,
|
||||||
|
|
|
@ -40,28 +40,31 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
BEGIN_BLD_NS
|
BEGIN_BLD_NS
|
||||||
|
|
||||||
// CONSTANTS
|
enum
|
||||||
// additional non-thing proximity, sight and physics sprites
|
{
|
||||||
#define kMaxSuperXSprites 128
|
// CONSTANTS
|
||||||
#define kMaxTrackingConditions 64
|
// additional non-thing proximity, sight and physics sprites
|
||||||
#define kMaxTracedObjects 32 // per one tracking condition
|
kMaxSuperXSprites = 128,
|
||||||
|
kMaxTrackingConditions = 64,
|
||||||
|
kMaxTracedObjects = 32, // per one tracking condition
|
||||||
|
|
||||||
// additional physics attributes for debris sprites
|
// additional physics attributes for debris sprites
|
||||||
#define kPhysDebrisFly 0x0008 // *debris* affected by negative gravity (fly instead of falling, DO NOT mess with kHitagAutoAim)
|
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)
|
kPhysDebrisSwim = 0x0016, // *debris* can swim underwater (instead of drowning)
|
||||||
#define kPhysDebrisVector 0x0400 // *debris* can be affected by vector weapons
|
kPhysDebrisVector = 0x0400, // *debris* can be affected by vector weapons
|
||||||
#define kPhysDebrisExplode 0x0800 // *debris* can be affected by explosions
|
kPhysDebrisExplode = 0x0800, // *debris* can be affected by explosions
|
||||||
|
|
||||||
// *modern types only hitag*
|
// *modern types only hitag*
|
||||||
#define kModernTypeFlag0 0x0000
|
kModernTypeFlag0 = 0x0000,
|
||||||
#define kModernTypeFlag1 0x0001
|
kModernTypeFlag1 = 0x0001,
|
||||||
#define kModernTypeFlag2 0x0002
|
kModernTypeFlag2 = 0x0002,
|
||||||
#define kModernTypeFlag3 0x0003
|
kModernTypeFlag3 = 0x0003,
|
||||||
#define kModernTypeFlag4 0x0004
|
kModernTypeFlag4 = 0x0004,
|
||||||
|
|
||||||
#define kMaxRandomizeRetries 16
|
kMaxRandomizeRetries = 16,
|
||||||
#define kPercFull 100
|
kPercFull = 100,
|
||||||
#define kCondRange 100
|
kCondRange = 100,
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
BEGIN_BLD_NS
|
BEGIN_BLD_NS
|
||||||
|
|
||||||
#define kPQueueSize 1024
|
enum { kPQueueSize = 1024 };
|
||||||
|
|
||||||
template <typename T> struct queueItem
|
template <typename T> struct queueItem
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ class F2DDrawer;
|
||||||
|
|
||||||
BEGIN_BLD_NS
|
BEGIN_BLD_NS
|
||||||
|
|
||||||
#define kQavOrientationLeft 4096
|
enum { kQavOrientationLeft = 4096 };
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ enum
|
||||||
kSBarNumberArmor3 = 9270,
|
kSBarNumberArmor3 = 9270,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define kFontNum 5
|
enum { kFontNum = 5 };
|
||||||
|
|
||||||
extern FFont *gFont[kFontNum];
|
extern FFont *gFont[kFontNum];
|
||||||
extern VIEWPOS gViewPos;
|
extern VIEWPOS gViewPos;
|
||||||
|
|
Loading…
Reference in a new issue