|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Definition at line 25 of file common.qc.
References entity(), and WarpZone_Accumulator_AddTransform().
Referenced by WarpZone_RefSys_AddIncrementally(), and WarpZone_Trace_AddTransform().
Definition at line 37 of file common.qc.
References entity(), and WarpZone_Accumulator_AddInverseTransform().
Definition at line 29 of file common.qc.
References AnglesTransform_Invert(), AnglesTransform_PrePostShift_GetPostShift(), entity(), vector, and WarpZone_Accumulator_AddTransform().
Referenced by WarpZone_Accumulator_AddInverse(), WarpZone_RefSys_AddIncrementally(), and WarpZone_RefSys_AddInverseTransform().
Definition at line 17 of file common.qc.
References AnglesTransform_Multiply(), AnglesTransform_Multiply_GetPostShift(), entity(), and vector.
Referenced by WarpZone_Accumulator_Add(), WarpZone_Accumulator_AddInverseTransform(), and WarpZone_RefSys_AddTransform().
Definition at line 12 of file common.qc.
References entity().
Referenced by WarpZone_RefSys_CheckCreate(), and WarpZone_Trace_InitTransform().
Definition at line 80 of file common.qc.
References ang, entity(), makevectors, maxs, mins, org, origin, trace_endpos, vdist, vector, warpzone_angles, warpzone_fadeend, warpzone_fadestart, and warpzone_origin.
Referenced by WarpZone_Camera_SetUp().
Definition at line 93 of file common.qc.
References entity(), setcamera_transform, vector, and WarpZone_Camera_camera_transform().
Referenced by NET_HANDLE(), WarpZoneCamera_InitStep_FindTarget(), and WarpZoneCamera_Think().
Definition at line 42 of file common.qc.
References ang, entity(), maxs, mins, MOVE_NOMONSTERS, NULL, org, origin, v_forward, v_right, v_up, vdist, vector, warpzone_fadeend, warpzone_fadestart, warpzone_targetorigin, WarpZone_TransformOrigin(), and WarpZone_TransformVelocity().
Referenced by WarpZone_SetUp().
Definition at line 167 of file common.qc.
References entity(), g_warpzones, IL_EACH, NULL, vector, warpzone_warpzones_exist, and WarpZoneLib_BoxTouchesBrush().
Referenced by WarpZone_FixNearClip(), WarpZone_FixPMove(), WarpZone_FixView(), WarpZone_StartFrame(), WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
Definition at line 686 of file common.qc.
References chain, entity(), findchainfloat(), FOREACH_LIST, org, vector, WarpZone_findradius_hit, and WarpZone_FindRadius_Recurse().
Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), napalm_damage(), PlayerUseKey(), RadiusDamageForSource(), W_Crylink_Touch_WouldHitFriendly(), W_Devastator_DoRemoteExplode(), W_Electro_Bolt_Think(), W_Electro_TriggerCombo(), W_Fireball_LaserPlay(), W_MineLayer_ProximityExplode(), W_MineLayer_RemoteExplode(), and W_MineLayer_Think().
| void WarpZone_FindRadius_Recurse | ( | vector | org, |
| float | rad, | ||
| vector | org0, | ||
| vector | transform, | ||
| vector | shift, | ||
| bool | needlineofsight ) |
| org | blast origin of current search |
| org0 | original blast origin |
| transform | how to untransform (victim to blast system) |
Definition at line 620 of file common.qc.
References AnglesTransform_Multiply(), AnglesTransform_Multiply_GetPostShift(), bound(), entity(), FOREACH_ENTITY_RADIUS, MOVE_NOMONSTERS, NULL, org, trace_endpos, trace_fraction, vector, vlen(), vlen2, WarpZone_FindRadius_Recurse(), WarpZone_TransformOrigin(), WarpZoneLib_BadEntity(), and WarpZoneLib_NearestPointOnBox().
Referenced by WarpZone_FindRadius(), and WarpZone_FindRadius_Recurse().
| void WarpZone_MakeAllOther | ( | ) |
Definition at line 189 of file common.qc.
References g_warpzones, IL_EACH, SOLID_TRIGGER, and warpzone_warpzones_exist.
Referenced by WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| void WarpZone_MakeAllSolid | ( | ) |
Definition at line 179 of file common.qc.
References g_warpzones, IL_EACH, SOLID_BSP, and warpzone_warpzones_exist.
Referenced by WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
Definition at line 499 of file common.qc.
References entity(), and vector.
Referenced by WarpZone_FixNearClip(), WarpZone_StartFrame(), and WarpZone_Touch().
Definition at line 731 of file common.qc.
References entity(), and WarpZone_RefSys_AddTransform().
Referenced by WarpZone_Teleport().
Definition at line 749 of file common.qc.
References entity(), WarpZone_Accumulator_Add(), and WarpZone_Accumulator_AddInverseTransform().
Referenced by GrapplingHookThink().
Definition at line 743 of file common.qc.
References entity(), and WarpZone_RefSys_AddInverseTransform().
Referenced by ctf_Handle_Throw(), and Monster_Enemy_Check().
Definition at line 735 of file common.qc.
References entity(), vector, WarpZone_Accumulator_AddInverseTransform(), and WarpZone_RefSys_CheckCreate().
Referenced by WarpZone_RefSys_AddInverse().
Definition at line 723 of file common.qc.
References entity(), vector, WarpZone_Accumulator_AddTransform(), and WarpZone_RefSys_CheckCreate().
Referenced by WarpZone_RefSys_Add().
Definition at line 760 of file common.qc.
References entity().
Referenced by GrapplingHookTouch().
Definition at line 704 of file common.qc.
References entity(), setthink, time, WarpZone_Accumulator_Clear(), and WarpZone_RefSys_GC().
Referenced by WarpZone_RefSys_AddInverseTransform(), WarpZone_RefSys_AddTransform(), and WarpZone_RefSys_Copy().
Definition at line 797 of file common.qc.
References entity(), WarpZone_RefSys_CheckCreate(), and WarpZone_RefSys_Clear().
Referenced by ctf_Handle_Throw(), Monster_Enemy_Check(), and WarpZone_RefSys_SpawnSameRefSys().
Definition at line 808 of file common.qc.
References entity(), spawn, and WarpZone_RefSys_Copy().
Referenced by FireGrapplingHook(), W_Devastator_Attack(), and W_MineLayer_Attack().
Definition at line 781 of file common.qc.
References ang, entity(), vector, WarpZone_TransformAngles(), and WarpZone_UnTransformAngles().
Definition at line 765 of file common.qc.
References entity(), org, vector, WarpZone_TransformOrigin(), and WarpZone_UnTransformOrigin().
Referenced by ctf_FlagThink(), ctf_Handle_Throw(), GrapplingHookThink(), Monster_Enemy_Check(), Monster_Move_Target(), W_Crylink_LinkJoin(), and W_Devastator_Think().
Definition at line 789 of file common.qc.
References ang, entity(), vector, WarpZone_TransformVAngles(), and WarpZone_UnTransformVAngles().
Definition at line 773 of file common.qc.
References entity(), vector, WarpZone_TransformVelocity(), and WarpZone_UnTransformVelocity().
Referenced by GrapplingHookThink(), W_Crylink_LinkJoin(), and W_Devastator_Think().
Definition at line 64 of file common.qc.
References AnglesTransform_PrePostShift_GetPostShift(), AnglesTransform_RightDivide(), AnglesTransform_TurnDirectionFR(), entity(), FIXED_MAKE_VECTORS, setcamera_transform, vector, and WarpZone_camera_transform().
Referenced by NET_HANDLE(), and WarpZone_InitStep_FinalizeTransform().
Definition at line 504 of file common.qc.
References entity(), and vector.
Referenced by WarpZone_Teleport().
Definition at line 207 of file common.qc.
References entity(), WarpZone_Accumulator_Add(), and WarpZone_trace_transform.
Referenced by WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| void WarpZone_Trace_InitTransform | ( | ) |
Definition at line 199 of file common.qc.
References new_pure, WarpZone_Accumulator_Clear(), and WarpZone_trace_transform.
Referenced by WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| void WarpZone_TraceBox | ( | vector | org, |
| vector | mi, | ||
| vector | ma, | ||
| vector | end, | ||
| float | nomonsters, | ||
| entity | forent ) |
Definition at line 343 of file common.qc.
References entity(), NULL, org, vector, WarpZone_trace_callback_t_null, and WarpZone_TraceBox_ThroughZone().
Referenced by CommonCommand_editmob(), tracebox_antilag_force_wz(), View_EventChase(), and WarpZone_TraceLine().
| void WarpZone_TraceBox_ThroughZone | ( | vector | org, |
| vector | mi, | ||
| vector | ma, | ||
| vector | end, | ||
| float | nomonsters, | ||
| entity | forent, | ||
| entity | zone, | ||
| WarpZone_trace_callback_t | cb ) |
Definition at line 212 of file common.qc.
References BITCLR_ASSIGN, BITSET_ASSIGN, DPCONTENTS_SOLID, entity(), LABEL, LOG_TRACE, MOVE_NOMONSTERS, MOVE_NOTHING, MOVE_WORLDONLY, normalize(), NULL, org, trace_dphitcontents, trace_endpos, trace_ent, trace_fraction, trace_startsolid, v_forward, v_right, v_up, vector, WarpZone_Find(), WarpZone_MakeAllOther(), WarpZone_MakeAllSolid(), WarpZone_Trace_AddTransform(), WarpZone_trace_firstzone, WarpZone_trace_forent, WarpZone_Trace_InitTransform(), WarpZone_trace_lastzone, WarpZone_TransformOrigin(), and warpzone_warpzones_exist.
Referenced by Draw_ArcBeam(), Draw_GrapplingHook(), fireBullet_falloff(), WarpZone_TraceBox(), WarpZone_TrailParticles(), and WarpZone_TrailParticles_WithMultiplier().
Definition at line 348 of file common.qc.
References entity(), org, vector, and WarpZone_TraceBox().
Referenced by CommonCommand_editmob(), ctf_CalculatePassVelocity(), ctf_FlagThink(), Draw_ArcBeam(), HUD_Crosshair(), Monster_Enemy_Check(), RadiusDamageForSource(), sandbox_ObjectSpawn(), View_EventChase(), W_Electro_TriggerCombo(), and W_SetupShot_Dir_ProjectileSize_Range().
Definition at line 462 of file common.qc.
References entity(), NULL, WarpZone_trace_callback_t_null, and WarpZone_TraceToss_ThroughZone().
| void WarpZone_TraceToss_ThroughZone | ( | entity | e, |
| entity | forent, | ||
| entity | zone, | ||
| WarpZone_trace_callback_t | cb ) |
Definition at line 353 of file common.qc.
References cvar(), entity(), LABEL, LOG_TRACE, NULL, org, trace_endpos, trace_ent, trace_fraction, v_forward, v_right, v_up, vector, vlen(), WarpZone_Find(), WarpZone_MakeAllOther(), WarpZone_MakeAllSolid(), WarpZone_Trace_AddTransform(), WarpZone_trace_firstzone, WarpZone_trace_forent, WarpZone_Trace_InitTransform(), WarpZone_trace_lastzone, WarpZone_tracetoss_time, WarpZone_tracetoss_velocity, WarpZone_TransformOrigin(), WarpZone_TransformVelocity(), and warpzone_warpzones_exist.
Referenced by WarpZone_TraceToss().
Definition at line 474 of file common.qc.
References entity(), MOVE_NOMONSTERS, NULL, org, vector, WarpZone_TraceBox_ThroughZone(), WarpZone_TrailParticles_trace_callback(), WarpZone_TrailParticles_trace_callback_eff, and WarpZone_TrailParticles_trace_callback_own.
Referenced by ctf_Handle_Throw().
Definition at line 469 of file common.qc.
References vector, WarpZone_TrailParticles_trace_callback_eff, and WarpZone_TrailParticles_trace_callback_own.
Referenced by WarpZone_TrailParticles().
| void WarpZone_TrailParticles_WithMultiplier | ( | entity | own, |
| float | eff, | ||
| vector | org, | ||
| vector | end, | ||
| float | f, | ||
| int | boxflags ) |
Definition at line 489 of file common.qc.
References entity(), MOVE_NOMONSTERS, NULL, org, PARTICLES_DRAWASTRAIL, vector, WarpZone_TraceBox_ThroughZone(), WarpZone_TrailParticles_trace_callback_eff, WarpZone_TrailParticles_trace_callback_f, WarpZone_TrailParticles_trace_callback_flags, WarpZone_TrailParticles_trace_callback_own, and WarpZone_TrailParticles_WithMultiplier_trace_callback().
Referenced by NET_HANDLE().
| void WarpZone_TrailParticles_WithMultiplier_trace_callback | ( | vector | from, |
| vector | endpos, | ||
| vector | to ) |
Definition at line 484 of file common.qc.
References vector, WarpZone_TrailParticles_trace_callback_eff, WarpZone_TrailParticles_trace_callback_f, WarpZone_TrailParticles_trace_callback_flags, and WarpZone_TrailParticles_trace_callback_own.
Referenced by WarpZone_TrailParticles_WithMultiplier().
Definition at line 519 of file common.qc.
References AnglesTransform_ApplyToAngles(), entity(), and vector.
Referenced by WarpZone_RefSys_TransformAngles(), and WarpZone_Teleport().
Definition at line 509 of file common.qc.
References AnglesTransform_Apply(), entity(), and vector.
Referenced by Draw_ArcBeam(), Draw_ArcBeam_callback(), Draw_GrapplingHook(), Draw_GrapplingHook_trace_callback(), fireBullet_falloff(), W_Arc_Beam_Think(), WarpZone_camera_transform(), WarpZone_FindRadius_Recurse(), WarpZone_FixPMove(), WarpZone_FixView(), WarpZone_RefSys_TransformOrigin(), WarpZone_Teleport(), WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
Definition at line 524 of file common.qc.
References ang, AnglesTransform_ApplyToVAngles(), AnglesTransform_CancelRoll(), AnglesTransform_Normalize(), entity(), and vector.
Referenced by NET_HANDLE(), View_EventChase(), WarpZone_FixPMove(), WarpZone_FixView(), WarpZone_PlayerPhysics_FixVAngle(), WarpZone_RefSys_TransformVAngles(), and WarpZone_Teleport().
Definition at line 514 of file common.qc.
References AnglesTransform_Apply(), entity(), and vector.
Referenced by Draw_ArcBeam(), fireBullet_falloff(), FireImoBeam(), FireRailgunBullet(), W_Arc_Beam_Think(), WarpZone_camera_transform(), WarpZone_RefSys_TransformVelocity(), WarpZone_Teleport(), and WarpZone_TraceToss_ThroughZone().
Definition at line 555 of file common.qc.
References AnglesTransform_ApplyToAngles(), AnglesTransform_Invert(), entity(), and vector.
Referenced by WarpZone_RefSys_TransformAngles().
Definition at line 545 of file common.qc.
References AnglesTransform_Apply(), AnglesTransform_Invert(), entity(), and vector.
Referenced by Draw_ArcBeam(), Draw_ArcBeam_callback(), fireBullet_falloff(), FireImoBeam(), FireRailgunBullet(), MUTATOR_HOOKFUNCTION(), napalm_damage(), RadiusDamageForSource(), SendCSQCVaporizerBeamParticle(), SendCSQCVortexBeamParticle(), W_Arc_Beam_Think(), W_Fireball_LaserPlay(), W_SetupShot_Dir_ProjectileSize_Range(), W_Vaporizer_Attack(), W_Vortex_Attack(), and WarpZone_RefSys_TransformOrigin().
Definition at line 560 of file common.qc.
References ang, AnglesTransform_ApplyToVAngles(), AnglesTransform_CancelRoll(), AnglesTransform_Invert(), AnglesTransform_Normalize(), entity(), and vector.
Referenced by WarpZone_RefSys_TransformVAngles().
Definition at line 550 of file common.qc.
References AnglesTransform_Apply(), AnglesTransform_Invert(), entity(), and vector.
Referenced by WarpZone_RefSys_TransformVelocity().
Definition at line 591 of file common.qc.
References entity(), is_pure, and startsWith.
Referenced by WarpZone_FindRadius_Recurse().
Definition at line 133 of file common.qc.
References entity(), Q3COMPAT_COMMON, SOLID_BSP, vector, WarpZoneLib_BoxTouchesBrush_Recurse(), and world.
Referenced by havocbot_moveto(), Teleport_Find(), WarpZone_Find(), and WarpZoneLib_ExactTrigger_Touch().
Definition at line 102 of file common.qc.
References entity(), LOG_TRACE, MOVE_NOMONSTERS, SOLID_NOT, trace_ent, trace_networkentity, vector, and WarpZoneLib_BoxTouchesBrush_Recurse().
Referenced by WarpZoneLib_BoxTouchesBrush(), and WarpZoneLib_BoxTouchesBrush_Recurse().
Definition at line 815 of file common.qc.
References absmax, absmin, boxesoverlap(), entity(), Q3COMPAT_COMMON, toucher, vector, and WarpZoneLib_BoxTouchesBrush().
Referenced by conveyor_think(), func_ladder_think(), SV_PlayerPhysics(), swamp_think(), viewloc_think(), and WarpZone_StartFrame().
Definition at line 848 of file common.qc.
References entity(), eX, eY, eZ, MOVE_WORLDONLY, trace_startsolid, vector, and WarpZoneLib_MoveOutOfSolid_Expand().
Referenced by CheckEngineExtensions(), and WarpZone_Teleport().
Definition at line 834 of file common.qc.
References entity(), MOVE_WORLDONLY, trace_fraction, trace_startsolid, and vector.
Referenced by WarpZoneLib_MoveOutOfSolid().
| float WarpZone_findradius_hit |
Definition at line 618 of file common.qc.
Referenced by WarpZone_FindRadius().
| float WarpZone_TrailParticles_trace_callback_eff |
Definition at line 468 of file common.qc.
Referenced by WarpZone_TrailParticles(), WarpZone_TrailParticles_trace_callback(), WarpZone_TrailParticles_WithMultiplier(), and WarpZone_TrailParticles_WithMultiplier_trace_callback().
| float WarpZone_TrailParticles_trace_callback_f |
Definition at line 482 of file common.qc.
Referenced by WarpZone_TrailParticles_WithMultiplier(), and WarpZone_TrailParticles_WithMultiplier_trace_callback().
| float WarpZone_TrailParticles_trace_callback_flags |
Definition at line 483 of file common.qc.
Referenced by WarpZone_TrailParticles_WithMultiplier(), and WarpZone_TrailParticles_WithMultiplier_trace_callback().
| entity WarpZone_TrailParticles_trace_callback_own |
Definition at line 467 of file common.qc.
Referenced by WarpZone_TrailParticles(), WarpZone_TrailParticles_trace_callback(), WarpZone_TrailParticles_WithMultiplier(), and WarpZone_TrailParticles_WithMultiplier_trace_callback().