|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "devastator.qh"#include <common/items/item/ammo.qh>#include <common/mutators/mutator/rocketflying/rocketflying.qh>#include "vortex.qh"Go to the source code of this file.
Functions | |
| void | W_Devastator_Attack (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Devastator_Damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | W_Devastator_DoRemoteExplode (entity this,.entity weaponentity) |
| void | W_Devastator_Explode (entity this, entity directhitentity) |
| void | W_Devastator_Explode_think (entity this) |
| void | W_Devastator_RemoteExplode (entity this,.entity weaponentity) |
| vector | W_Devastator_SteerTo (vector thisdir, vector goaldir, float maxturn_cos) |
| void | W_Devastator_Think (entity this) |
| void | W_Devastator_Touch (entity this, entity toucher) |
| void | W_Devastator_Unregister (entity this) |
Variables | |
| entity | lastrocket |
Definition at line 312 of file devastator.qc.
References ammo, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, getthink, health, IL_PUSH(), lastrocket, lifetime, Weapon::m_id, MIF_SPLASH, MOVETYPE_FLY, MUTATOR_CALLHOOK, PROJECTILE_MAKETRIGGER, PROJECTILE_ROCKET, set_movetype(), SetResourceExplicit(), setthink, settouch, time, v_forward, vectoangles(), W_DecreaseAmmo(), W_Devastator_Damage(), W_Devastator_Think(), W_Devastator_Touch(), W_MuzzleFlash(), W_SetupProjVelocity_Basic, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, WarpZone_RefSys_SpawnSameRefSys(), and WEP_CVAR.
| void W_Devastator_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 297 of file devastator.qc.
References angles, entity(), GetResource(), TakeResource(), vectoangles(), vector, velocity, W_CheckProjectileDamage(), W_Devastator_Explode_think(), and W_PrepareExplosionByDamage().
Referenced by W_Devastator_Attack().
Definition at line 73 of file devastator.qc.
References ammo, Weapon::ammo_type, ATTACK_FINISHED, bound(), DAMAGE_NO, entity(), func_null(), GetResource(), HITTYPE_BOUNCE, IT_UNLIMITED_AMMO, M_ARGV, Weapon::m_id, m_switchweapon, MUTATOR_CALLHOOK, NULL, origin, projectiledeathtype, RadiusDamage(), realowner, takedamage, time, vdist, W_Devastator_Unregister(), w_getbestweapon, WarpZone_FindRadius(), weaponentity_fld, and WEP_CVAR.
Referenced by W_Devastator_RemoteExplode().
Definition at line 17 of file devastator.qc.
References ammo, Weapon::ammo_type, ATTACK_FINISHED, DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), GetResource(), IS_DEAD, IS_PLAYER, IsFlying(), IT_UNLIMITED_AMMO, Weapon::m_id, m_switchweapon, NULL, origin, projectiledeathtype, radius, RadiusDamageForSource(), realowner, Send_Notification(), takedamage, time, vector, velocity, W_Devastator_Unregister(), w_getbestweapon, weaponentity_fld, and WEP_CVAR.
Referenced by W_Devastator_Explode_think(), W_Devastator_Think(), and W_Devastator_Touch().
Definition at line 68 of file devastator.qc.
References entity(), NULL, and W_Devastator_Explode().
Referenced by W_Devastator_Damage().
Definition at line 164 of file devastator.qc.
References entity(), IS_DEAD, NearestPointOnBox(), origin, realowner, spawnshieldtime, time, vdist, W_Devastator_DoRemoteExplode(), and WEP_CVAR.
Referenced by W_Devastator_Think().
Definition at line 179 of file devastator.qc.
References normalize(), solve_quadratic(), and vector.
Referenced by W_Devastator_Think().
Definition at line 212 of file devastator.qc.
References angles, ATTN_NORM, bound(), CH_WEAPON_B, cnt, cos(), count, csqcprojectile_clientanimate, DEG2RAD, entity(), frametime, HITTYPE_BOUNCE, IS_DEAD, makevectors, min(), movedir, nextthink, normalize(), NULL, origin, PHYS_INPUT_BUTTON_ATCK2, projectiledeathtype, pushltime, realowner, rl_detonate_later, Send_Effect(), sound, speed, time, UpdateCSQCProjectile(), v_forward, v_right, v_up, vectoangles(), vector, velocity, vlen(), VOL_BASE, W_Devastator_Explode(), W_Devastator_RemoteExplode(), W_Devastator_SteerTo(), W_DualWielding(), W_WeaponSpeedFactor(), WarpZone_RefSys_TransformOrigin(), WarpZone_RefSys_TransformVelocity(), weaponentity_fld, and WEP_CVAR.
Referenced by W_Devastator_Attack().
Definition at line 285 of file devastator.qc.
References entity(), toucher, W_Devastator_Explode(), W_Devastator_Unregister(), and WarpZone_Projectile_Touch().
Referenced by W_Devastator_Attack().
Definition at line 7 of file devastator.qc.
References entity(), lastrocket, MAX_WEAPONSLOTS, NULL, realowner, and weaponentities.
Referenced by W_Devastator_DoRemoteExplode(), W_Devastator_Explode(), and W_Devastator_Touch().
| entity lastrocket |
Definition at line 5 of file devastator.qc.
Referenced by W_Devastator_Attack(), and W_Devastator_Unregister().