Xonotic
|
#include "projectile.qh"
#include <client/mutators/_mod.qh>
#include <common/constants.qh>
#include <common/effects/all.qh>
#include <common/effects/effect.qh>
#include <common/mutators/mutator/nades/nades.qh>
#include <common/net_linked.qh>
#include <common/physics/movetypes/movetypes.qh>
#include <lib/csqcmodel/interpolate.qh>
#include <lib/warpzone/anglestransform.qh>
Go to the source code of this file.
Macros | |
#define | HANDLE(id) case PROJECTILE_##id: setmodel(this, MDL_PROJECTILE_##id); |
Functions | |
void | Ent_RemoveProjectile (entity this) |
void | loopsound (entity e, int ch, Sound samp, float vol, float attn) |
NET_HANDLE (ENT_CLIENT_PROJECTILE, bool isnew) | |
PRECACHE (Projectiles) | |
void | Projectile_Draw (entity this) |
void | Projectile_DrawTrail (entity this, vector to) |
void | Projectile_ResetTrail (entity this, vector to) |
void | SUB_Stop (entity this, entity toucher) |
Variables | |
float | alpha |
vector | colormod |
float | scale |
Referenced by NET_HANDLE().
Definition at line 177 of file projectile.qc.
References count, maxs, mins, MOVE_NORMAL, origin, Projectile_DrawTrail(), trace_endpos, and velocity.
Referenced by NET_HANDLE().
Definition at line 167 of file projectile.qc.
Referenced by NET_HANDLE().
NET_HANDLE | ( | ENT_CLIENT_PROJECTILE | , |
bool | isnew | ||
) |
Definition at line 186 of file projectile.qc.
References ATTEN_NORM, avelocity, BIT, bouncefactor, bouncestop, CH_SHOTS_SINGLE, cnt, colormap, colormapPaletteColor, colormod, count, EFFECT_ROCKETMINSTA_LASER(), Ent_RemoveProjectile(), error(), fade_rate, fade_time, flags, func_null(), g_drawables, glowmod, gravity, HANDLE, IFLAG_ANGLES, IFLAG_AUTOANGLES, IFLAG_INTERNALMASK, IFLAG_ORIGIN, iflags, IL_PUSH(), InterpolateOrigin_Note(), InterpolateOrigin_Reset(), InterpolateOrigin_Undo(), loopsound(), max(), maxs, mins, modelindex, move_movetype, move_nomonsters, move_time, MOVE_WORLDONLY, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FLY, MOVETYPE_TOSS, MUTATOR_CALLHOOK, origin, PROJECTILE_ARC_BOLT, PROJECTILE_CRYLINK_BOUNCING, Projectile_Draw(), PROJECTILE_ELECTRO, PROJECTILE_FIREBALL, PROJECTILE_FIREMINE, PROJECTILE_FLAC, PROJECTILE_GRENADE, PROJECTILE_GRENADE_BOUNCING, PROJECTILE_HAGAR_BOUNCING, PROJECTILE_MINE, PROJECTILE_PORTO_BLUE, PROJECTILE_PORTO_RED, PROJECTILE_RAPTORBOMB, PROJECTILE_RAPTORBOMBLET, PROJECTILE_RAPTORCANNON, PROJECTILE_ROCKET, PROJECTILE_RPC, PROJECTILE_SEEKER, PROJECTILE_SHAMBLER_LIGHTNING, PROJECTILE_SPIDERROCKET, PROJECTILE_TAG, PROJECTILE_WAKIROCKET, randomvec(), scale, set_movetype(), SET_ONGROUND, setorigin(), solid, SOLID_TRIGGER, spawntime, SUB_Stop(), team, teamplay, ticrate, time, UNSET_ONGROUND, velocity, VOL_BASE, WEP_CVAR, and WEP_CVAR_SEC.
PRECACHE | ( | Projectiles | ) |
Definition at line 49 of file projectile.qc.
References alpha, angles, AnglesTransform_FromAngles(), AnglesTransform_Multiply(), AnglesTransform_ToAngles(), autocvar_cl_projectiles_sloppy, avelocity, bound(), cnt, count, drawmask, fade_rate, fade_time, FL_ONGROUND, flags, IFLAG_VALID, iflags, InterpolateOrigin_Do(), IS_ONGROUND, makevectors, MASK_NORMAL, max(), move_movetype, MOVETYPE_FLY, MOVETYPE_NONE, Movetype_Physics_MatchServer(), Movetype_Physics_NoMatchServer(), origin, Projectile_DrawTrail(), PROJECTILE_GRENADE, PROJECTILE_GRENADE_BOUNCING, PROJECTILE_HOOKBOMB, Projectile_ResetTrail(), PROJECTILE_ROCKET, renderflags, spawntime, time, v_forward, v_right, v_up, vectoangles(), vector(), and velocity.
Referenced by NET_HANDLE().
Definition at line 29 of file projectile.qc.
References alpha, cnt, entity(), particleeffectnum, particles_alphamax, particles_alphamin, PARTICLES_DRAWASTRAIL, particles_fade, PARTICLES_USEALPHA, PARTICLES_USEFADE, PROJECTILE_FIREMINE, REGISTRY_GET, sqrt(), time, to, vector(), and velocity.
Referenced by CSQCModel_Effects_Apply(), Ent_RemoveProjectile(), and Projectile_Draw().
Definition at line 23 of file projectile.qc.
Referenced by CSQCModel_Effects_Apply(), CSQCModel_Effects_PostUpdate(), and Projectile_Draw().
Definition at line 17 of file projectile.qc.
References avelocity, MOVETYPE_NONE, set_movetype(), and velocity.
Referenced by NET_HANDLE().
float alpha |
Definition at line 13 of file projectile.qc.
Referenced by Projectile_Draw(), and Projectile_DrawTrail().
vector colormod |
Definition at line 15 of file projectile.qc.
Referenced by NET_HANDLE().
float scale |
Definition at line 14 of file projectile.qc.
Referenced by ball_customize(), buff_Init(), DelayThink(), DrawAmmoItem(), Monster_Sound(), Monster_Spawn(), NET_HANDLE(), Nexposee_calc(), Nexposee_Calc_Scale(), ons_CaptureShield_Spawn(), PutObserverInServer(), PutPlayerInServer(), SpawnBall(), spawnfunc(), UpdatePlayerSounds(), W_Model(), WarpZone_Projectile_Touch(), WarpZone_Touch(), and WarpZoneLib_ExactTrigger_Init().