2006-12-02 15:38:50 +00:00
|
|
|
|
2006-11-29 16:20:22 +00:00
|
|
|
// Flags for A_CustomMissile
|
|
|
|
const int CMF_AIMOFFSET = 1;
|
|
|
|
const int CMF_AIMDIRECTION = 2;
|
|
|
|
const int CMF_TRACKOWNER = 4;
|
|
|
|
const int CMF_CHECKTARGETDEAD = 8;
|
|
|
|
|
|
|
|
// Flags for A_SpawnItemEx
|
|
|
|
const int SXF_TRANSFERTRANSLATION=1;
|
|
|
|
const int SXF_ABSOLUTEPOSITION=2;
|
|
|
|
const int SXF_ABSOLUTEANGLE=4;
|
|
|
|
const int SXF_ABSOLUTEMOMENTUM=8;
|
2009-06-30 20:57:51 +00:00
|
|
|
const int SXF_ABSOLUTEVELOCITY=8;
|
2006-11-29 16:20:22 +00:00
|
|
|
const int SXF_SETMASTER=16;
|
2006-12-06 10:38:47 +00:00
|
|
|
const int SXF_NOCHECKPOSITION = 32;
|
2007-09-12 00:20:11 +00:00
|
|
|
const int SXF_TELEFRAG=64;
|
2008-12-31 12:02:08 +00:00
|
|
|
const int SXF_CLIENTSPAWN=128; // only used by Skulltag
|
2008-09-22 18:55:29 +00:00
|
|
|
const int SXF_TRANSFERAMBUSHFLAG=256;
|
2009-05-30 08:56:40 +00:00
|
|
|
const int SXF_TRANSFERPITCH=512;
|
2009-06-07 20:10:05 +00:00
|
|
|
const int SXF_TRANSFERPOINTERS=1024;
|
2006-11-29 16:20:22 +00:00
|
|
|
|
2007-01-05 22:08:57 +00:00
|
|
|
// Flags for A_Chase
|
|
|
|
const int CHF_FASTCHASE = 1;
|
|
|
|
const int CHF_NOPLAYACTIVE = 2;
|
|
|
|
const int CHF_NIGHTMAREFAST = 4;
|
|
|
|
const int CHF_RESURRECT = 8;
|
2007-10-29 20:27:40 +00:00
|
|
|
const int CHF_DONTMOVE = 16;
|
2007-01-05 22:08:57 +00:00
|
|
|
|
2007-12-20 20:37:06 +00:00
|
|
|
// Flags for A_LookEx
|
|
|
|
const int LOF_NOSIGHTCHECK = 1;
|
|
|
|
const int LOF_NOSOUNDCHECK = 2;
|
|
|
|
const int LOF_DONTCHASEGOAL = 4;
|
|
|
|
const int LOF_NOSEESOUND = 8;
|
|
|
|
const int LOF_FULLVOLSEESOUND = 16;
|
2008-09-21 18:02:38 +00:00
|
|
|
|
2009-06-30 21:24:29 +00:00
|
|
|
// Flags for A_ChangeVelocity
|
|
|
|
const int CVF_RELATIVE = 1;
|
|
|
|
const int CVF_REPLACE = 2;
|
|
|
|
|
2009-07-06 15:48:31 +00:00
|
|
|
// Flags for A_WeaponReady
|
2009-07-16 22:40:04 +00:00
|
|
|
const int WRF_NOBOB = 1;
|
|
|
|
const int WRF_NOFIRE = 12;
|
|
|
|
const int WRF_NOSWITCH = 2;
|
|
|
|
const int WRF_NOPRIMARY = 4;
|
|
|
|
const int WRF_NOSECONDARY = 8;
|
2009-07-06 15:48:31 +00:00
|
|
|
|
2008-09-21 18:02:38 +00:00
|
|
|
// Morph constants
|
|
|
|
const int MRF_ADDSTAMINA = 1;
|
|
|
|
const int MRF_FULLHEALTH = 2;
|
|
|
|
const int MRF_UNDOBYTOMEOFPOWER = 4;
|
|
|
|
const int MRF_UNDOBYCHAOSDEVICE = 8;
|
|
|
|
const int MRF_FAILNOTELEFRAG = 16;
|
|
|
|
const int MRF_FAILNOLAUGH = 32;
|
|
|
|
const int MRF_WHENINVULNERABLE = 64;
|
|
|
|
const int MRF_LOSEACTUALWEAPON = 128;
|
|
|
|
const int MRF_NEWTIDBEHAVIOUR = 256;
|
|
|
|
const int MRF_UNDOBYDEATH = 512;
|
|
|
|
const int MRF_UNDOBYDEATHFORCED = 1024;
|
|
|
|
const int MRF_UNDOBYDEATHSAVES = 2048;
|
2008-10-19 21:43:36 +00:00
|
|
|
|
2009-07-04 18:17:44 +00:00
|
|
|
const int RGF_SILENT = 1;
|
|
|
|
const int RGF_NOPIERCING = 2;
|
|
|
|
|
2009-04-14 09:06:03 +00:00
|
|
|
// constants for A_PlaySound
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
CHAN_AUTO = 0,
|
|
|
|
CHAN_WEAPON = 1,
|
|
|
|
CHAN_VOICE = 2,
|
|
|
|
CHAN_ITEM = 3,
|
|
|
|
CHAN_BODY = 4,
|
|
|
|
|
|
|
|
// modifier flags
|
|
|
|
CHAN_LISTENERZ = 8,
|
|
|
|
CHAN_MAYBE_LOCAL = 16,
|
|
|
|
CHAN_UI = 32,
|
|
|
|
CHAN_NOPAUSE = 64
|
|
|
|
};
|
|
|
|
|
|
|
|
// sound attenuation values
|
|
|
|
const float ATTN_NONE = 0;
|
|
|
|
const float ATTN_NORM = 1;
|
|
|
|
const float ATTN_IDLE = 1.001;
|
|
|
|
const float ATTN_STATIC = 3;
|
|
|
|
|
|
|
|
|
2008-10-19 21:43:36 +00:00
|
|
|
// This is only here to provide one global variable for testing.
|
|
|
|
native int testglobalvar;
|