|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "darkness.qh"Go to the source code of this file.
Functions | |
| void | HUD_DarkBlinking () |
| MUTATOR_HOOKFUNCTION (cl_nades, HUD_Draw_overlay) | |
| void | nade_darkness_boom (entity this) |
| void | nade_darkness_think (entity this) |
Variables | |
| bool | darkness_fadealpha |
| void HUD_DarkBlinking | ( | ) |
Definition at line 113 of file darkness.qc.
References darkness_fadealpha, drawfill, DRAWFLAG_NORMAL, vec2, vector, vid_conheight, and vid_conwidth.
Referenced by MUTATOR_HOOKFUNCTION().
| MUTATOR_HOOKFUNCTION | ( | cl_nades | , |
| HUD_Draw_overlay | ) |
Definition at line 119 of file darkness.qc.
References ATTEN_NORM, CH_PAIN, csqcplayer, darkness_fadealpha, frametime, HUD_DarkBlinking(), M_ARGV, max(), min(), sound, STAT, time, and VOL_BASE.
Definition at line 71 of file darkness.qc.
References angles, autocvar_g_nades_darkness_explode, autocvar_g_nades_darkness_time, colormap, entity(), glowmod, MOVETYPE_TOSS, nade_darkness_think(), nade_lifetime, nade_timer_think(), origin, owner, realowner, set_movetype(), setmodel, setthink, team, time, and timer.
Referenced by nade_boom().
Definition at line 5 of file darkness.qc.
References ATTEN_NORM, autocvar_g_nades_darkness_explode, autocvar_g_nades_darkness_teamcheck, autocvar_g_nades_nade_radius, CH_SHOTS, cos(), entity(), exp(), FOREACH_ENTITY_RADIUS, GetResource(), IS_DEAD, IS_REAL_CLIENT, ltime, M_PI, nade_normal_boom(), nade_special_time, nades_PlayerColor(), nextthink, NULL, origin, random(), realowner, round_handler_IsActive, round_handler_IsRoundStarted, SAME_TEAM, Send_Effect(), Send_Effect_Except(), sin(), sound, STAT, time, vector, and VOL_BASE.
Referenced by nade_darkness_boom().
| bool darkness_fadealpha |
Definition at line 111 of file darkness.qc.
Referenced by HUD_DarkBlinking(), and MUTATOR_HOOKFUNCTION().