Xonotic
buffs.qc
Go to the documentation of this file.
1 #include "buffs.qh"
2 
3 string BUFF_NAME(int i)
4 {
5  Buff b = REGISTRY_GET(StatusEffect, i);
6  return strcat(rgb_to_hexcolor(b.m_color), b.m_name);
7 }
8 
9 #ifdef GAMEQC
10 REPLICATE(cvar_cl_buffs_autoreplace, bool, "cl_buffs_autoreplace");
11 #endif
#define REGISTRY_GET(id, i)
Definition: registry.qh:43
REPLICATE(cvar_cl_casings, bool, "cl_casings")
string m_name
Definition: buffs.qh:27
Definition: buffs.qh:20
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
ERASEABLE string rgb_to_hexcolor(vector rgb)
Definition: color.qh:183
string BUFF_NAME(int i)
Definition: buffs.qc:3
vector m_color
Definition: buffs.qh:26