Xonotic
Nade Class Reference
+ Inheritance diagram for Nade:
+ Collaboration diagram for Nade:

Public Member Functions

virtual void Nade ::display ()
 

Public Attributes

float m_alpha = 1
 
vector m_color = '0 0 0'
 
string m_icon = "nade_normal"
 
int m_id = 0
 
string m_name = _("Grenade")
 
int m_projectile [2]
 
entity m_trail [2]
 

Detailed Description

Definition at line 96 of file nades.qh.

Member Function Documentation

◆ Nade ::display()

virtual void Nade::Nade ::display ( )
inlinevirtual

Definition at line 104 of file nades.qh.

References cvar_string(), ENDCLASS, REGISTER_NADE, and REGISTRY_DEFINE_GET.

104  {
105  returns(this.m_name, sprintf("/gfx/hud/%s/%s", cvar_string("menu_skin"), this.m_icon));
106  }
string m_name
Definition: nades.qh:99
string m_icon
Definition: nades.qh:100
+ Here is the call graph for this function:

Member Data Documentation

◆ m_alpha

float Nade::m_alpha = 1

Definition at line 101 of file nades.qh.

◆ m_color

vector Nade::m_color = '0 0 0'

Definition at line 98 of file nades.qh.

◆ m_icon

string Nade::m_icon = "nade_normal"

Definition at line 100 of file nades.qh.

◆ m_id

int Nade::m_id = 0

Definition at line 97 of file nades.qh.

◆ m_name

string Nade::m_name = _("Grenade")

Definition at line 99 of file nades.qh.

◆ m_projectile

int Nade::m_projectile[ 2]

Definition at line 102 of file nades.qh.

◆ m_trail

entity Nade::m_trail[ 2]

Definition at line 103 of file nades.qh.


The documentation for this class was generated from the following file: