1 #ifndef SERVER_CONSTANTS_H
2 #define SERVER_CONSTANTS_H
7 #include "../common/util-pre.qh"
9 #include "../dpdefs/progsdefs.qc"
10 #include "../dpdefs/dpextensions.qc"
11 #include "sys-post.qh"
12 #include "../warpzonelib/anglestransform.qh"
13 #include "../warpzonelib/mathlib.qh"
14 #include "../warpzonelib/common.qh"
15 #include "../warpzonelib/util_server.qh"
16 #include "../warpzonelib/server.qh"
17 #include "../common/constants.qh"
18 #include "../common/stats.qh"
19 #include "../common/teams.qh"
20 #include "../common/util.qh"
21 #include "../common/nades.qh"
22 #include "../common/buffs.qh"
23 #include "../common/test.qh"
24 #include "../common/counting.qh"
25 #include "../common/urllib.qh"
26 #include "../common/command/markup.qh"
27 #include "../common/command/rpn.qh"
28 #include "../common/command/generic.qh"
29 #include "../common/command/shared_defs.qh"
30 #include "../common/net_notice.qh"
31 #include "../common/animdecide.qh"
32 #include "../common/monsters/monsters.qh"
33 #include "../common/monsters/sv_monsters.qh"
34 #include "../common/monsters/spawn.qh"
35 #include "../common/weapons/config.qh"
36 #include "../common/weapons/weapons.qh"
37 #include "weapons/accuracy.qh"
38 #include "weapons/common.qh"
39 #include "weapons/csqcprojectile.qh"
40 #include "weapons/hitplot.qh"
41 #include "weapons/selection.qh"
42 #include "weapons/spawning.qh"
43 #include "weapons/throwing.qh"
44 #include "weapons/tracing.qh"
45 #include "weapons/weaponstats.qh"
46 #include "weapons/weaponsystem.qh"
48 #include "autocvars.qh"
51 const float FL_WEAPON = 8192;
52 const float FL_POWERUP = 16384;
53 const float FL_PROJECTILE = 32768;
54 const float FL_TOSSED = 65536;
55 const float FL_NO_WEAPON_STAY = 131072;
56 const float FL_SPAWNING = 262144;
58 const float SVC_SOUND = 6;
59 const float SVC_STOPSOUND = 16;
60 const float SVC_SETVIEW = 5;
62 const float RESPAWN_FORCE = 1;
63 const float RESPAWN_SILENT = 2;
65 #define EFMASK_CHEAP (EF_ADDITIVE | EF_DOUBLESIDED | EF_FULLBRIGHT | EF_NODEPTHTEST | EF_NODRAW | EF_NOGUNBOB | EF_NOSHADOW | EF_LOWPRECISION | EF_SELECTABLE | EF_TELEPORT_BIT)
67 const float MSG_ENTITY = 5; // csqc
69 const float NUM_PLAYERSKINS_TEAMPLAY = 3;
71 const float ASSAULT_VALUE_INACTIVE = 1000;
73 const float DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag