Xonotic
constants.qh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const int CVAR_NOTIFY = BIT(1)
 
const int CVAR_READONLY = BIT(2)
 
const int CVAR_SAVE = BIT(0)
 
const int FRAGS_PLAYER = 0
 
const int FRAGS_PLAYER_OUT_OF_GAME = -616
 
const int FRAGS_SPECTATOR = -666
 
const int SERVERFLAG_ALLOW_FULLBRIGHT = BIT(0)
 
const int SERVERFLAG_PLAYERSTATS = BIT(2)
 
const int SERVERFLAG_PLAYERSTATS_CUSTOM = BIT(3)
 
const int SERVERFLAG_TEAMPLAY = BIT(1)
 
const int SPECIES_ALIEN = 2
 
const int SPECIES_ANIMAL = 3
 
const int SPECIES_HUMAN = 0
 
const int SPECIES_RESERVED = 15
 
const int SPECIES_ROBOT_RUSTY = 4
 
const int SPECIES_ROBOT_SHINY = 5
 
const int SPECIES_ROBOT_SOLID = 1
 

Variable Documentation

◆ CVAR_NOTIFY

const int CVAR_NOTIFY = BIT(1)

Definition at line 11 of file constants.qh.

◆ CVAR_READONLY

const int CVAR_READONLY = BIT(2)

Definition at line 12 of file constants.qh.

◆ CVAR_SAVE

const int CVAR_SAVE = BIT(0)

Definition at line 10 of file constants.qh.

◆ FRAGS_PLAYER

const int FRAGS_PLAYER = 0

◆ FRAGS_PLAYER_OUT_OF_GAME

const int FRAGS_PLAYER_OUT_OF_GAME = -616

Definition at line 5 of file constants.qh.

Referenced by ca_isEliminated(), lms_RemovePlayer(), and MUTATOR_HOOKFUNCTION().

◆ FRAGS_SPECTATOR

◆ SERVERFLAG_ALLOW_FULLBRIGHT

const int SERVERFLAG_ALLOW_FULLBRIGHT = BIT(0)

Definition at line 15 of file constants.qh.

Referenced by readlevelcvars(), and View_NightVision().

◆ SERVERFLAG_PLAYERSTATS

const int SERVERFLAG_PLAYERSTATS = BIT(2)

Definition at line 17 of file constants.qh.

Referenced by HUD_Vote(), and XonoticServerList_drawListBoxItem().

◆ SERVERFLAG_PLAYERSTATS_CUSTOM

const int SERVERFLAG_PLAYERSTATS_CUSTOM = BIT(3)

Definition at line 18 of file constants.qh.

Referenced by XonoticServerList_drawListBoxItem().

◆ SERVERFLAG_TEAMPLAY

const int SERVERFLAG_TEAMPLAY = BIT(1)

Definition at line 16 of file constants.qh.

Referenced by GameRules_teams().

◆ SPECIES_ALIEN

const int SPECIES_ALIEN = 2

Definition at line 22 of file constants.qh.

Referenced by get_model_parameters().

◆ SPECIES_ANIMAL

const int SPECIES_ANIMAL = 3

Definition at line 23 of file constants.qh.

Referenced by get_model_parameters().

◆ SPECIES_HUMAN

const int SPECIES_HUMAN = 0

Definition at line 20 of file constants.qh.

Referenced by get_model_parameters(), and player_getspecies().

◆ SPECIES_RESERVED

const int SPECIES_RESERVED = 15

Definition at line 26 of file constants.qh.

Referenced by get_model_parameters().

◆ SPECIES_ROBOT_RUSTY

const int SPECIES_ROBOT_RUSTY = 4

Definition at line 24 of file constants.qh.

Referenced by get_model_parameters().

◆ SPECIES_ROBOT_SHINY

const int SPECIES_ROBOT_SHINY = 5

Definition at line 25 of file constants.qh.

Referenced by get_model_parameters().

◆ SPECIES_ROBOT_SOLID

const int SPECIES_ROBOT_SOLID = 1

Definition at line 21 of file constants.qh.

Referenced by get_model_parameters().