|
Xonotic
|
Inheritance diagram for DamageText:
Collaboration diagram for DamageText:Public Member Functions | |
| DamageText ::~ DamageText () | |
| DamageText ::DamageText (int _group, vector _origin, bool _screen_coords, int _health, int _armor, int _potential_damage, int _deathtype, bool _friendlyfire) | |
| void | DamageText_draw2d (DamageText this) |
| void | DamageText_update (DamageText this, vector _origin, int _health, int _armor, int _potential_damage, int _deathtype) |
| void (DamageText) draw2d | |
Public Attributes | |
| float | alpha = autocvar_cl_damagetext_alpha_start |
| float | fade_rate = 0 |
| float | hit_time = 0 |
| int | m_armordamage = 0 |
| vector | m_color = autocvar_cl_damagetext_color |
| vector | m_color_friendlyfire = autocvar_cl_damagetext_friendlyfire_color |
| int | m_deathtype = 0 |
| bool | m_friendlyfire = false |
| int | m_group = 0 |
| int | m_healthdamage = 0 |
| int | m_potential_damage = 0 |
| bool | m_screen_coords = false |
| float | m_shrink_rate = 0 |
| float | m_size = autocvar_cl_damagetext_size_min |
| string | text = string_null |
Static Public Attributes | |
| static int | screen_count = 0 |
| static DamageText | screen_first = NULL |
Definition at line 43 of file cl_damagetext.qc.
|
inline |
|
inline |
Definition at line 176 of file cl_damagetext.qc.
References CONSTRUCT, fade_rate, g_drawables_2d, and IL_PUSH().
Here is the call graph for this function:
|
inline |
Definition at line 63 of file cl_damagetext.qc.
References ATTRIB, DEATH_WEAPONOF, DRAWFLAG_NORMAL, drawfontscale, fade_rate, origin, project_3d_to_2d(), size, time, view_angles, and Weapon::wpcolor.
Here is the call graph for this function:
|
inline |
Definition at line 107 of file cl_damagetext.qc.
References almost_equals_eps(), alpha, DAMAGETEXT_PRECISION_MULTIPLIER, health, map_bound_ranges(), rint(), setorigin(), strcat(), strcpy, strlen(), strstrofs, substring(), substring_range(), and time.
Here is the call graph for this function:| DamageText::void | ( | DamageText | ) |
| float DamageText::alpha = autocvar_cl_damagetext_alpha_start |
Definition at line 47 of file cl_damagetext.qc.
| float DamageText::fade_rate = 0 |
Definition at line 48 of file cl_damagetext.qc.
| float DamageText::hit_time = 0 |
Definition at line 56 of file cl_damagetext.qc.
| int DamageText::m_armordamage = 0 |
Definition at line 53 of file cl_damagetext.qc.
| vector DamageText::m_color = autocvar_cl_damagetext_color |
Definition at line 44 of file cl_damagetext.qc.
| vector DamageText::m_color_friendlyfire = autocvar_cl_damagetext_friendlyfire_color |
Definition at line 45 of file cl_damagetext.qc.
| int DamageText::m_deathtype = 0 |
Definition at line 55 of file cl_damagetext.qc.
Definition at line 51 of file cl_damagetext.qc.
| int DamageText::m_group = 0 |
Definition at line 50 of file cl_damagetext.qc.
| int DamageText::m_healthdamage = 0 |
Definition at line 52 of file cl_damagetext.qc.
| int DamageText::m_potential_damage = 0 |
Definition at line 54 of file cl_damagetext.qc.
Definition at line 58 of file cl_damagetext.qc.
| float DamageText::m_shrink_rate = 0 |
Definition at line 49 of file cl_damagetext.qc.
| float DamageText::m_size = autocvar_cl_damagetext_size_min |
Definition at line 46 of file cl_damagetext.qc.
|
static |
Definition at line 61 of file cl_damagetext.qc.
|
static |
Definition at line 60 of file cl_damagetext.qc.
| string DamageText::text = string_null |
Definition at line 57 of file cl_damagetext.qc.