]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote-tracking branch 'origin/morosophos/enlarge-rankings-cnt' into morosophos...
authorNick S <nick@teichisma.info>
Thu, 27 Jan 2022 15:41:54 +0000 (17:41 +0200)
committerNick S <nick@teichisma.info>
Thu, 27 Jan 2022 15:41:54 +0000 (17:41 +0200)
1  2 
qcsrc/common/constants.qh

index 2c43d12d98ec3a178ef470fa0d09b962938e078e,b9d16f86f4d38b5124b45bd9a9b2bb966876219e..10431aa714694f373b16641361a6b52b96133110
@@@ -1,31 -1,6 +1,31 @@@
  #pragma once
  
- const int RANKINGS_CNT = 99;
 +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 = 256;
  
  ///////////////////////////
  // keys pressed