mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 19:50:45 +00:00
- use enums instead of #defines.
This commit is contained in:
parent
cc3e6b74f3
commit
eae355110f
1 changed files with 17 additions and 14 deletions
|
@ -70,22 +70,25 @@ enum
|
||||||
kCondRange = 100,
|
kCondRange = 100,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define kPatrolStateSize 42
|
enum
|
||||||
#define kPatrolAlarmSeeDist 10000
|
{
|
||||||
#define kPatrolAlarmHearDist 10000
|
kPatrolStateSize = 42,
|
||||||
#define kMaxPatrolVelocity 500000
|
kPatrolAlarmSeeDist = 10000,
|
||||||
#define kMaxPatrolCrouchVelocity (kMaxPatrolVelocity >> 1)
|
kPatrolAlarmHearDist = 10000,
|
||||||
#define kMaxPatrolSpotValue 500
|
kMaxPatrolVelocity = 500000,
|
||||||
#define kMinPatrolTurnDelay 8
|
kMaxPatrolCrouchVelocity = (kMaxPatrolVelocity >> 1),
|
||||||
#define kPatrolTurnDelayRange 20
|
kMaxPatrolSpotValue = 500,
|
||||||
|
kMinPatrolTurnDelay = 8,
|
||||||
|
kPatrolTurnDelayRange = 20,
|
||||||
|
|
||||||
#define kDudeFlagStealth 0x0001
|
kDudeFlagStealth = 0x0001,
|
||||||
#define kDudeFlagCrouch 0x0002
|
kDudeFlagCrouch = 0x0002,
|
||||||
|
|
||||||
#define kSlopeDist 0x20
|
kSlopeDist = 0x20,
|
||||||
#define kEffectGenCallbackBase 200
|
kEffectGenCallbackBase = 200,
|
||||||
#define kTriggerSpriteScreen 0x0001
|
kTriggerSpriteScreen = 0x0001,
|
||||||
#define kTriggerSpriteAim 0x0002
|
kTriggerSpriteAim = 0x0002,
|
||||||
|
};
|
||||||
|
|
||||||
// modern statnums
|
// modern statnums
|
||||||
enum {
|
enum {
|
||||||
|
|
Loading…
Reference in a new issue