X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fconstants.qh;h=1d4cc55232382a6fcd7f2491325b6364ec5a9736;hp=ada2acd1adf3a183c76aed99298521e4711a8b83;hb=390d33b5f587dc807ae08ffe39adc1d762fc7f4c;hpb=1ea3b0365fd6fbb31c38cf6d22ee0b952e9010c1 diff --git a/qcsrc/server/constants.qh b/qcsrc/server/constants.qh index ada2acd1a..1d4cc5523 100644 --- a/qcsrc/server/constants.qh +++ b/qcsrc/server/constants.qh @@ -1,23 +1,27 @@ -const float FL_WEAPON = 8192; -const float FL_POWERUP = 16384; -const float FL_PROJECTILE = 32768; -const float FL_TOSSED = 65536; -const float FL_NO_WEAPON_STAY = 131072; -const float FL_SPAWNING = 262144; +#ifndef SERVER_CONSTANTS_H +#define SERVER_CONSTANTS_H -const float SVC_SOUND = 6; -const float SVC_STOPSOUND = 16; -const float SVC_SETVIEW = 5; +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 float RESPAWN_FORCE = 1; -const float RESPAWN_SILENT = 2; +const int SVC_SOUND = 6; +const int SVC_STOPSOUND = 16; +const int SVC_SETVIEW = 5; + +const int RESPAWN_FORCE = 1; +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 float MSG_ENTITY = 5; // csqc +const int MSG_ENTITY = 5; // csqc -const float NUM_PLAYERSKINS_TEAMPLAY = 3; +const int NUM_PLAYERSKINS_TEAMPLAY = 3; -const float ASSAULT_VALUE_INACTIVE = 1000; +const int ASSAULT_VALUE_INACTIVE = 1000; -const float DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag +const int DOOR_NOSPLASH = 256; // generic anti-splashdamage spawnflag +#endif