|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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/_mod.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) |
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 |
| vector | glowmod |
| float | scale |
| #define HANDLE | ( | id | ) |
Referenced by NET_HANDLE().
Definition at line 209 of file projectile.qc.
References count, entity(), maxs, mins, MOVE_NORMAL, origin, Projectile_DrawTrail(), trace_endpos, and velocity.
Referenced by NET_HANDLE().
Definition at line 199 of file projectile.qc.
References entity(), sound, and TC.
Referenced by MUTATOR_HOOKFUNCTION(), NET_HANDLE(), and NET_HANDLE().
| NET_HANDLE | ( | ENT_CLIENT_PROJECTILE | , |
| bool | isnew ) |
Definition at line 218 of file projectile.qc.
References ATTEN_NORM, avelocity, BIT, bouncefactor, bouncestop, CH_SHOTS_SINGLE, cnt, colormap, colormapPaletteColor, colormod, count, Ent_RemoveProjectile(), error, fade_rate, fade_time, fadetime, FL_PROJECTILE, 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_GOLEM_LIGHTNING, 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_ROCKETMINSTA_LASER, PROJECTILE_RPC, PROJECTILE_SEEKER, PROJECTILE_SPIDERROCKET, PROJECTILE_TAG, PROJECTILE_WAKIROCKET, randomvec(), ReadByte(), ReadVector, scale, set_movetype(), SET_ONGROUND, settouch, silent, 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 542 of file projectile.qc.
References MUTATOR_CALLHOOK.
Definition at line 80 of file projectile.qc.
References alpha, ang, angles, AnglesTransform_FromAngles(), AnglesTransform_Multiply(), AnglesTransform_ToAngles(), autocvar_cl_projectiles_sloppy, avelocity, bound(), cnt, count, drawmask, entity(), 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_isnade(), Projectile_ResetTrail(), PROJECTILE_ROCKET, renderflags, spawntime, time, v_forward, v_right, v_up, vectoangles(), vector, and velocity.
Referenced by NET_HANDLE().
Definition at line 30 of file projectile.qc.
References alpha, cnt, colormod, entity(), particleeffectnum, particles_alphamax, particles_alphamin, particles_colormax, particles_colormin, PARTICLES_DRAWASTRAIL, particles_fade, PARTICLES_USEALPHA, PARTICLES_USECOLOR, PARTICLES_USEFADE, pow, PROJECTILE_FIREMINE, REGISTRY_GET, time, vector, and velocity.
Referenced by CSQCModel_Effects_Apply(), Ent_RemoveProjectile(), and Projectile_Draw().
Definition at line 24 of file projectile.qc.
References entity(), time, and vector.
Referenced by CSQCModel_Effects_Apply(), CSQCModel_Effects_PostUpdate(), and Projectile_Draw().
Definition at line 18 of file projectile.qc.
References avelocity, entity(), MOVETYPE_NONE, set_movetype(), toucher, and velocity.
Referenced by NET_HANDLE().
| float alpha |
Definition at line 13 of file projectile.qc.
| vector colormod |
Definition at line 15 of file projectile.qc.
| vector glowmod |
Definition at line 16 of file projectile.qc.
| float scale |
Definition at line 14 of file projectile.qc.
Referenced by _GlobalSound(), ball_customize(), beam_think(), buff_Init(), classfield(), DrawAmmoItem(), drawcharacter(), drawcolorcodedstring(), drawcolorcodedstring2(), drawstring(), electro_orb_draw(), float(), float(), float(), Frozen_ice_create(), g_clientmodel_genericsendentity(), HUD_Mod_LMS_Draw(), ka_TouchEvent(), laser_SendEntity(), ModelEffect_Draw(), modeleffect_SendEntity(), Monster_Sound(), Monster_Spawn(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), Nexposee_calc(), Nexposee_Calc_Scale(), ons_CaptureShield_Spawn(), ons_generator_ray_draw(), orb_draw(), PutObserverInServer(), PutPlayerInServer(), Scoreboard_Draw(), SpawnBall(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), tka_TouchEvent(), trigger_common_write(), vector(), W_MuzzleFlash_Model_Think(), WarpZone_Camera_Send(), WarpZone_Send(), and WarpZoneLib_ExactTrigger_Init().