X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fconstants.qh;h=62a15f680c1cb8117c68385a5f6e4119a50c16d3;hb=139a594d29f65508e5d6001e90d4ee4fad82ca66;hp=961b001d7914a1085994bc7f6680cebcc1cfd584;hpb=05bd68edc9b6d5dc11b248445a495da97d974e1b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/constants.qh b/qcsrc/server/constants.qh index 961b001d7..62a15f680 100644 --- a/qcsrc/server/constants.qh +++ b/qcsrc/server/constants.qh @@ -1,5 +1,4 @@ -#ifndef SERVER_CONSTANTS_H -#define SERVER_CONSTANTS_H +#pragma once const int FL_WEAPON = BIT(13); const int FL_POWERUP = BIT(14); @@ -9,19 +8,12 @@ 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; -const int RESPAWN_SILENT = 2; +const int RESPAWN_FORCE = BIT(0); +const int RESPAWN_SILENT = BIT(1); +const int RESPAWN_DENY = BIT(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; - -#endif