Xonotic
|
#include "cl_generator.qh"
Go to the source code of this file.
Functions | |
void | generator_changeteam (entity this) |
void | generator_construct (entity this, bool isnew) |
void | generator_damage (entity this, float hp) |
void | generator_draw (entity this) |
NET_HANDLE (ENT_CLIENT_GENERATOR, bool isnew) | |
void | ons_generator_ray_draw (entity this) |
void | ons_generator_ray_spawn (vector org) |
Variables | |
float | alpha |
int | count |
vector | glowmod |
float | max_health |
float | scale |
Definition at line 172 of file cl_generator.qc.
References colormap, glowmod, team, and Team_ColorRGB().
Referenced by NET_HANDLE().
Definition at line 147 of file cl_generator.qc.
References alpha, classname, drawmask, g_drawables, generator_draw(), GENERATOR_MAX, GENERATOR_MIN, IL_PUSH(), MASK_NORMAL, move_time, MOVETYPE_NOCLIP, netname, origin, set_movetype(), setmodel, setorigin(), solid, SOLID_BBOX, and time.
Referenced by NET_HANDLE().
Definition at line 119 of file cl_generator.qc.
References GENERATOR_MAX, GENERATOR_MIN, max_health, and setmodel.
Referenced by NET_HANDLE().
Definition at line 46 of file cl_generator.qc.
References ATTEN_NORM, CH_TRIGGER, count, GetResource(), max_health, maxs, mins, move_time, ons_generator_ray_spawn(), origin, pointparticles, random(), randompos(), RES_HEALTH, sound, time, vector(), and VOL_BASE.
Referenced by generator_construct().
NET_HANDLE | ( | ENT_CLIENT_GENERATOR | , |
bool | isnew | ||
) |
Definition at line 188 of file cl_generator.qc.
References count, generator_changeteam(), generator_construct(), generator_damage(), GetResource(), GSF_SETUP, GSF_STATUS, max_health, origin, RES_HEALTH, setorigin(), SetResourceExplicit(), and team.
Definition at line 8 of file cl_generator.qc.
References alpha, count, g_drawables, IL_REMOVE(), move_time, scale, and time.
Referenced by ons_generator_ray_spawn().
Definition at line 31 of file cl_generator.qc.
References entity(), g_drawables, IL_PUSH(), MASK_NORMAL, MOVETYPE_NONE, ons_generator_ray_draw(), random(), randomvec(), set_movetype(), setmodel, setorigin(), and time.
Referenced by generator_draw().
float alpha |
Definition at line 3 of file cl_generator.qc.
Referenced by generator_construct(), and ons_generator_ray_draw().
int count |
Definition at line 5 of file cl_generator.qc.
Referenced by generator_draw(), NET_HANDLE(), and ons_generator_ray_draw().
vector glowmod |
Definition at line 171 of file cl_generator.qc.
Referenced by generator_changeteam().
float max_health |
Definition at line 6 of file cl_generator.qc.
Referenced by generator_damage(), generator_draw(), and NET_HANDLE().
float scale |
Definition at line 4 of file cl_generator.qc.
Referenced by ons_generator_ray_draw().