|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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, entity(), glowmod, team, and Team_ColorRGB().
Referenced by NET_HANDLE().
Definition at line 147 of file cl_generator.qc.
References alpha, classname, drawmask, entity(), g_drawables, g_onsgenerators, generator_draw(), GENERATOR_MAX, GENERATOR_MIN, IL_PUSH(), MASK_NORMAL, move_time, MOVETYPE_NOCLIP, netname, origin, set_movetype(), setmodel, solid, SOLID_BBOX, and time.
Referenced by NET_HANDLE().
Definition at line 119 of file cl_generator.qc.
References entity(), 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, entity(), GetResource(), max_health, maxs, mins, move_time, ons_generator_ray_spawn(), org, origin, pointparticles, random(), randompos(), 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, ReadByte(), ReadVector, SetResourceExplicit(), and team.
Definition at line 8 of file cl_generator.qc.
References alpha, count, entity(), 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(), org, random(), randomvec(), set_movetype(), setmodel, time, and vector.
Referenced by generator_draw().
| float alpha |
Definition at line 3 of file cl_generator.qc.
| int count |
Definition at line 5 of file cl_generator.qc.
| vector glowmod |
Definition at line 171 of file cl_generator.qc.
| float max_health |
Definition at line 6 of file cl_generator.qc.
| float scale |
Definition at line 4 of file cl_generator.qc.