mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +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,
|
||||
};
|
||||
|
||||
#define kPatrolStateSize 42
|
||||
#define kPatrolAlarmSeeDist 10000
|
||||
#define kPatrolAlarmHearDist 10000
|
||||
#define kMaxPatrolVelocity 500000
|
||||
#define kMaxPatrolCrouchVelocity (kMaxPatrolVelocity >> 1)
|
||||
#define kMaxPatrolSpotValue 500
|
||||
#define kMinPatrolTurnDelay 8
|
||||
#define kPatrolTurnDelayRange 20
|
||||
enum
|
||||
{
|
||||
kPatrolStateSize = 42,
|
||||
kPatrolAlarmSeeDist = 10000,
|
||||
kPatrolAlarmHearDist = 10000,
|
||||
kMaxPatrolVelocity = 500000,
|
||||
kMaxPatrolCrouchVelocity = (kMaxPatrolVelocity >> 1),
|
||||
kMaxPatrolSpotValue = 500,
|
||||
kMinPatrolTurnDelay = 8,
|
||||
kPatrolTurnDelayRange = 20,
|
||||
|
||||
#define kDudeFlagStealth 0x0001
|
||||
#define kDudeFlagCrouch 0x0002
|
||||
kDudeFlagStealth = 0x0001,
|
||||
kDudeFlagCrouch = 0x0002,
|
||||
|
||||
#define kSlopeDist 0x20
|
||||
#define kEffectGenCallbackBase 200
|
||||
#define kTriggerSpriteScreen 0x0001
|
||||
#define kTriggerSpriteAim 0x0002
|
||||
kSlopeDist = 0x20,
|
||||
kEffectGenCallbackBase = 200,
|
||||
kTriggerSpriteScreen = 0x0001,
|
||||
kTriggerSpriteAim = 0x0002,
|
||||
};
|
||||
|
||||
// modern statnums
|
||||
enum {
|
||||
|
|
Loading…
Reference in a new issue