X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fconstants.qh;h=18ea6d7d16f6204d2b3e6df82e40b851d865af53;hb=21ee6d1fc12df7d542031df804f0c2e73b13c879;hp=6fd6fe9c7e97233023d7a530a812462140659e8e;hpb=71963d96e2432f053ed6048dc40f0bc51458d804;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 6fd6fe9c7..18ea6d7d1 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -2,10 +2,6 @@ const int RANKINGS_CNT = 15; -const int SPRITERULE_DEFAULT = 0; -const int SPRITERULE_TEAMPLAY = 1; -const int SPRITERULE_SPECTATOR = 2; - /////////////////////////// // keys pressed const int KEY_FORWARD = BIT(0); @@ -34,8 +30,6 @@ const int HUD_BUMBLEBEE_GUN = 25; // # of maps, I'll use arrays for them :P const int MAPVOTE_COUNT = 30; -// game mode specific indices are not in common/, but in server/scores_rules.qc! - const int SPECIES_HUMAN = 0; const int SPECIES_ROBOT_SOLID = 1; const int SPECIES_ALIEN = 2; @@ -50,44 +44,15 @@ const int FRAGS_LMS_LOSER = -616; const int FRAGS_PLAYER_NONSOLID = FRAGS_LMS_LOSER; // we can use this frags value for both -// water levels -const int WATERLEVEL_NONE = 0; -const int WATERLEVEL_WETFEET = 1; -const int WATERLEVEL_SWIMMING = 2; -const int WATERLEVEL_SUBMERGED = 3; - // server flags const int SERVERFLAG_ALLOW_FULLBRIGHT = 1; const int SERVERFLAG_TEAMPLAY = 2; const int SERVERFLAG_PLAYERSTATS = 4; -#ifdef SVQC -// FIXME/EXPLAINME: why? Mario: because -vector autocvar_sv_player_maxs = '16 16 45'; -vector autocvar_sv_player_mins = '-16 -16 -24'; -vector autocvar_sv_player_viewoffset = '0 0 35'; -vector autocvar_sv_player_crouch_maxs = '16 16 25'; -vector autocvar_sv_player_crouch_mins = '-16 -16 -24'; -vector autocvar_sv_player_crouch_viewoffset = '0 0 20'; -//vector autocvar_sv_player_headsize = '24 24 12'; - -// temporary array used to dump weapon and turret settings -const int MAX_CONFIG_SETTINGS = 256; -string config_queue[MAX_CONFIG_SETTINGS]; - -#endif - - // a bit more constant const vector PL_MAX_CONST = '16 16 45'; const vector PL_MIN_CONST = '-16 -16 -24'; -// spawnpoint prios -const int SPAWN_PRIO_NEAR_TEAMMATE_FOUND = 200; -const int SPAWN_PRIO_NEAR_TEAMMATE_SAMETEAM = 100; -const int SPAWN_PRIO_RACE_PREVIOUS_SPAWN = 50; -const int SPAWN_PRIO_GOOD_DISTANCE = 10; - // gametype vote flags const int GTV_FORBIDDEN = 0; // Cannot be voted const int GTV_AVAILABLE = 1; // Can be voted