From: Nick S Date: Thu, 27 Jan 2022 15:41:54 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/morosophos/enlarge-rankings-cnt' into morosophos... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=553d006ab66b7be3db30e2864941673acd7b4237;p=xonotic%2Fxonotic-data.pk3dir.git Merge remote-tracking branch 'origin/morosophos/enlarge-rankings-cnt' into morosophos/server-current4 --- 553d006ab66b7be3db30e2864941673acd7b4237 diff --cc qcsrc/common/constants.qh index 2c43d12d9,b9d16f86f..10431aa71 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@@ -1,31 -1,6 +1,31 @@@ #pragma once +const int FRAGS_PLAYER = 0; +const int FRAGS_SPECTATOR = -666; +const int FRAGS_PLAYER_OUT_OF_GAME = -616; + +/////////////////////////// +// cvar constants + +const int CVAR_SAVE = 1; +const int CVAR_NOTIFY = 2; +const int CVAR_READONLY = 4; + +// server flags +const int SERVERFLAG_ALLOW_FULLBRIGHT = 1; +const int SERVERFLAG_TEAMPLAY = 2; +const int SERVERFLAG_PLAYERSTATS = 4; + +const int SPECIES_HUMAN = 0; +const int SPECIES_ROBOT_SOLID = 1; +const int SPECIES_ALIEN = 2; +const int SPECIES_ANIMAL = 3; +const int SPECIES_ROBOT_RUSTY = 4; +const int SPECIES_ROBOT_SHINY = 5; +const int SPECIES_RESERVED = 15; + +#ifdef GAMEQC - const int RANKINGS_CNT = 99; + const int RANKINGS_CNT = 256; /////////////////////////// // keys pressed