|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "modeleffects.qh"Go to the source code of this file.
Functions | |
| classfield (ModelEffect) .float frame1time | |
| entityclass (ModelEffect) | |
| void | ModelEffect_Draw (entity this) |
| bool | modeleffect_SendEntity (entity this, entity to, int sf) |
| void | modeleffect_spawn (string m, float s, float f, vector o, vector v, vector ang, vector angv, float s0, float s2, float a, float t1, float t2) |
| NET_HANDLE (ENT_CLIENT_MODELEFFECT, bool isnew) | |
Variables | |
| float | alpha |
| float | cnt |
| fadetime | |
| float | scale |
| float | scale2 |
| classfield | ( | ModelEffect | ) |
References frame1time.
| entityclass | ( | ModelEffect | ) |
Definition at line 88 of file modeleffects.qc.
References alpha, ALPHA_MIN_VISIBLE, angles, avelocity, bound(), cnt, drawmask, entity(), frametime, lifetime, MASK_NORMAL, origin, scale, teleport_time, time, and velocity.
Referenced by NET_HANDLE().
Definition at line 9 of file modeleffects.qc.
References alpha, angles, avelocity, entity(), fade_time, frame, modelindex, MSG_ENTITY, origin, scale, scale2, skin, teleport_time, velocity, WriteByte(), WriteHeader, and WriteShort().
Referenced by modeleffect_spawn().
| void modeleffect_spawn | ( | string | m, |
| float | s, | ||
| float | f, | ||
| vector | o, | ||
| vector | v, | ||
| vector | ang, | ||
| vector | angv, | ||
| float | s0, | ||
| float | s2, | ||
| float | a, | ||
| float | t1, | ||
| float | t2 ) |
Definition at line 48 of file modeleffects.qc.
References ang, entity(), max(), modeleffect_SendEntity(), Net_LinkEntity(), s2, and vector.
Referenced by W_Fireball_Explode().
| NET_HANDLE | ( | ENT_CLIENT_MODELEFFECT | , |
| bool | isnew ) |
Definition at line 107 of file modeleffects.qc.
References entity(), g_drawables, IL_PUSH(), make_pure, ModelEffect_Draw(), ReadAngleVector, ReadByte(), ReadVector, and time.
| float alpha |
Definition at line 86 of file modeleffects.qc.
| float cnt |
Definition at line 84 of file modeleffects.qc.
| fadetime |
Definition at line 80 of file modeleffects.qc.
Referenced by classfield(), Draw_WaypointSprite(), Ent_WaypointSprite(), HUD_Weapons(), img_select(), NET_HANDLE(), StrafeHUD_DrawTextIndicator(), WaypointSprite_Disown(), and Weapons_Draw().
| float scale |
Definition at line 85 of file modeleffects.qc.
| scale2 |
Definition at line 7 of file modeleffects.qc.
Referenced by modeleffect_SendEntity().