X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fconstants.qh;h=c1ea1c6c61dcab81aa2df27e52f5b10377605d4e;hb=ceb2e95db8d8a5d2fb4f80e3b1d9436a9b5e5a02;hp=1d4cc55232382a6fcd7f2491325b6364ec5a9736;hpb=ea48961feb50159e05ef56f38b7fd0ebc15cc64e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/constants.qh b/qcsrc/server/constants.qh index 1d4cc5523..c1ea1c6c6 100644 --- a/qcsrc/server/constants.qh +++ b/qcsrc/server/constants.qh @@ -1,15 +1,14 @@ #ifndef SERVER_CONSTANTS_H #define SERVER_CONSTANTS_H -const int FL_WEAPON = 8192; -const int FL_POWERUP = 16384; -const int FL_PROJECTILE = 32768; -const int FL_TOSSED = 65536; -const int FL_NO_WEAPON_STAY = 131072; -const int FL_SPAWNING = 262144; +const int FL_WEAPON = BIT(13); +const int FL_POWERUP = BIT(14); +const int FL_PROJECTILE = BIT(15); +const int FL_TOSSED = BIT(16); +const int FL_NO_WEAPON_STAY = BIT(17); +const int FL_SPAWNING = BIT(18); +const int FL_PICKUPITEMS = BIT(19); -const int SVC_SOUND = 6; -const int SVC_STOPSOUND = 16; const int SVC_SETVIEW = 5; const int RESPAWN_FORCE = 1; @@ -17,11 +16,8 @@ const int RESPAWN_SILENT = 2; #define EFMASK_CHEAP (EF_ADDITIVE | EF_DOUBLESIDED | EF_FULLBRIGHT | EF_NODEPTHTEST | EF_NODRAW | EF_NOGUNBOB | EF_NOSHADOW | EF_LOWPRECISION | EF_SELECTABLE | EF_TELEPORT_BIT) -const int MSG_ENTITY = 5; // csqc - const int NUM_PLAYERSKINS_TEAMPLAY = 3; const int ASSAULT_VALUE_INACTIVE = 1000; -const int DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag #endif