|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| void | nade_Effect (entity player, entity eff, int eff_cnt) |
| Network nade effect data to player. | |
| NET_HANDLE (Nade_Orb, bool isNew) | |
| NET_HANDLE (Nade_Orb_Effect, bool isNew) | |
| void | orb_draw (entity this) |
| void | orb_draw2d (entity this) |
| bool | orb_send (entity this, entity to, int sf) |
| void | orb_setup (entity orb) |
Network nade effect data to player.
Definition at line 147 of file net.qc.
References BITS, entity(), etof, min(), MSG_BROADCAST, time, WriteByte(), and WriteHeader.
Referenced by nade_ammo_touch(), and nade_heal_touch().
| NET_HANDLE | ( | Nade_Orb | , |
| bool | isNew ) |
Definition at line 80 of file net.qc.
References colormod, lifetime, ltime, orb_setup(), radius, ReadByte(), ReadFloat, ReadRegistered, ReadVector, SF_NADEORB_LIFETIME_FLOAT, and SF_NADEORB_RADIUS_FLOAT.
| NET_HANDLE | ( | Nade_Orb_Effect | , |
| bool | isNew ) |
Definition at line 133 of file net.qc.
References CENTER_OF_ENT, CSQCModel_server2csqc(), entity(), org, particleeffectnum, particles_alphamax, particles_alphamin, PARTICLES_USEALPHA, ReadByte(), vec2, and vector.
Definition at line 10 of file net.qc.
References alpha, angles, animstate_endtime, avelocity, entity(), height, lifetime, ltime, radius, scale, sqrt(), time, and update_time.
Referenced by orb_setup().
Definition at line 30 of file net.qc.
References absmax, absmin, alpha, autocvar_hud_colorflash_alpha, boxesoverlap(), colormod, drawfill, DRAWFLAG_ADDITIVE, entity(), time, vec2, vid_conheight, vid_conwidth, and view_origin.
Referenced by orb_setup().
Definition at line 101 of file net.qc.
References BIT, entity(), floor(), lifetime, ltime, MSG_ENTITY, origin, radius, REGISTRY_GET, rint(), SF_NADEORB_LIFETIME_FLOAT, SF_NADEORB_RADIUS_FLOAT, STAT, WriteByte(), WriteHeader, and WriteRegistered.
Referenced by nades_spawn_orb().
Definition at line 44 of file net.qc.
References cos(), entity(), g_drawables, g_drawables_2d, IL_PUSH(), M_PI, MASK_NORMAL, min(), MOVETYPE_NONE, orb_draw(), orb_draw2d(), random(), RF_ADDITIVE, set_movetype(), setmodel, SetResourceExplicit(), sin(), size, SOLID_NOT, time, and vector.
Referenced by NET_HANDLE().