mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
2f4063ce2e
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1757 fc73d0e0-1445-4013-8a0c-d673dee63da5
76 lines
No EOL
2.3 KiB
C++
76 lines
No EOL
2.3 KiB
C++
float FALSE = 0;
|
|
float TRUE = 1;
|
|
noref float false = FALSE;
|
|
float true = TRUE;
|
|
|
|
// edict.flags
|
|
float FL_FLY = 1;
|
|
float FL_SWIM = 2;
|
|
float FL_CLIENT = 8; // set for all client edicts
|
|
float FL_INWATER = 16; // for enter / leave water splash
|
|
float FL_MONSTER = 32;
|
|
float FL_GODMODE = 64; // player cheat
|
|
float FL_NOTARGET = 128; // player cheat
|
|
float FL_ITEM = 256; // extra wide size for bonus items
|
|
float FL_ONGROUND = 512; // standing on something
|
|
float FL_PARTIALGROUND = 1024; // not all corners are valid
|
|
float FL_WATERJUMP = 2048; // player jumping out of water
|
|
float FL_JUMPRELEASED = 4096; // for jump debouncing
|
|
|
|
// edict.solid values
|
|
float SOLID_TRIGGER = 1; // touch on edge, but not blocking
|
|
float SOLID_BBOX = 2; // touch on edge, block
|
|
float SOLID_SLIDEBOX = 3; // touch on edge, but not an onground
|
|
float SOLID_BSP = 4; // bsp clip, touch on edge, block
|
|
|
|
// edict.movetype values
|
|
float MOVETYPE_NONE = 0; // never moves
|
|
//float MOVETYPE_ANGLENOCLIP = 1;
|
|
//float MOVETYPE_ANGLECLIP = 2;
|
|
float MOVETYPE_WALK = 3; // players only
|
|
float MOVETYPE_STEP = 4; // discrete, not real time unless fall
|
|
float MOVETYPE_FLY = 5;
|
|
float MOVETYPE_TOSS = 6; // gravity
|
|
float MOVETYPE_PUSH = 7; // no clip to world, push and crush
|
|
float MOVETYPE_NOCLIP = 8;
|
|
float MOVETYPE_FLYMISSILE = 9; // fly with extra size against monsters
|
|
float MOVETYPE_BOUNCE = 10;
|
|
float MOVETYPE_BOUNCEMISSILE = 11; // bounce with extra size
|
|
|
|
float SOLID_NOT=0;
|
|
|
|
vector VEC_ORIGIN = '0 0 0';
|
|
vector VEC_HULL_MIN = '-16 -16 -24';
|
|
vector VEC_HULL_MAX = '16 16 32';
|
|
|
|
vector VEC_HULL2_MIN = '-32 -32 -24';
|
|
vector VEC_HULL2_MAX = '32 32 64';
|
|
|
|
// items
|
|
float IT_AXE = 4096;
|
|
float IT_SHOTGUN = 1;
|
|
float IT_SUPER_SHOTGUN = 2;
|
|
float IT_NAILGUN = 4;
|
|
float IT_SUPER_NAILGUN = 8;
|
|
float IT_GRENADE_LAUNCHER = 16;
|
|
float IT_ROCKET_LAUNCHER = 32;
|
|
float IT_LIGHTNING = 64;
|
|
float IT_EXTRA_WEAPON = 128;
|
|
|
|
float IT_SHELLS = 256;
|
|
float IT_NAILS = 512;
|
|
float IT_ROCKETS = 1024;
|
|
float IT_CELLS = 2048;
|
|
|
|
float IT_ARMOR1 = 8192;
|
|
float IT_ARMOR2 = 16384;
|
|
float IT_ARMOR3 = 32768;
|
|
float IT_SUPERHEALTH = 65536;
|
|
|
|
float IT_KEY1 = 131072;
|
|
float IT_KEY2 = 262144;
|
|
|
|
float IT_INVISIBILITY = 524288;
|
|
float IT_INVULNERABILITY = 1048576;
|
|
float IT_SUIT = 2097152;
|
|
float IT_QUAD = 4194304; |