|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | BITCLR(a, b) |
| #define | BITCLR_ASSIGN(a, b) |
| #define | BITSET(a, b) |
| #define | BITSET_ASSIGN(a, b) |
| #define | BITXOR(a, b) |
| #define | BITXOR_ASSIGN(a, b) |
| #define | EXACTTRIGGER_INIT WarpZoneLib_ExactTrigger_Init(this, true) |
| #define | EXACTTRIGGER_TOUCH(e, t) |
| #define | MOVE_NOTHING -1 |
| #define | move_out_of_solid(e) |
Typedefs | |
| using | WarpZone_trace_callback_t = void(vector start, vector hit, vector end) |
| #define BITCLR_ASSIGN | ( | a, | |
| b ) |
Definition at line 101 of file common.qh.
Referenced by WarpZone_TeleportPlayer(), and WarpZone_TraceBox_ThroughZone().
| #define BITSET_ASSIGN | ( | a, | |
| b ) |
Definition at line 104 of file common.qh.
Referenced by ctf_DelayedInit(), func_ladder_init(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), target_push_link(), trigger_common_write(), WarpZone_Camera_Send(), WarpZone_Send(), and WarpZone_TraceBox_ThroughZone().
| #define BITXOR_ASSIGN | ( | a, | |
| b ) |
Definition at line 107 of file common.qh.
Referenced by anim_set(), animdecide_setframes(), CheatCommand(), TeleportPlayer(), and WarpZone_TeleportPlayer().
| #define EXACTTRIGGER_INIT WarpZoneLib_ExactTrigger_Init(this, true) |
Definition at line 116 of file common.qh.
Referenced by spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), SpawnGoal(), and target_checkpoint_setup().
| #define EXACTTRIGGER_TOUCH | ( | e, | |
| t ) |
Definition at line 115 of file common.qh.
Referenced by checkpoint_touch(), GoalTouch(), multi_touch(), penalty_touch(), target_items_use(), Teleport_Touch(), trigger_gravity_touch(), trigger_heal_touch(), trigger_hurt_touch(), trigger_impulse_touch_accel(), trigger_impulse_touch_directional(), trigger_impulse_touch_radial(), trigger_push_touch(), trigger_push_velocity_touch(), trigger_secret_touch(), and WarpZone_Touch().
| #define MOVE_NOTHING -1 |
Definition at line 33 of file common.qh.
Referenced by Draw_GrapplingHook(), and WarpZone_TraceBox_ThroughZone().
| #define move_out_of_solid | ( | e | ) |
Definition at line 110 of file common.qh.
Referenced by CheatCommand(), nade_translocate_boom(), Portal_FindSafeOrigin(), relocate_nexball(), relocate_spawnpoint(), and waypoint_spawn().
| using WarpZone_trace_callback_t = void(vector start, vector hit, vector end) |
| STATIC_INIT | ( | g_warpzones | ) |
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 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().
| 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 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().
| void WarpZone_TraceBox | ( | vector | org, |
| vector | min, | ||
| vector | max, | ||
| 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 | min, | ||
| vector | max, | ||
| 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 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 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 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().
| IntrusiveList g_warpzones |
Definition at line 6 of file common.qh.
Referenced by NET_HANDLE(), spawnfunc(), STATIC_INIT(), WarpZone_Find(), WarpZone_MakeAllOther(), and WarpZone_MakeAllSolid().
| vector warpzone_angles |
Definition at line 15 of file common.qh.
Referenced by WarpZone_Camera_camera_transform(), WarpZone_InitStep_FinalizeTransform(), WarpZone_InitStep_UpdateTransform(), and WarpZone_Send().
| float warpzone_cameras_exist |
Definition at line 10 of file common.qh.
Referenced by NET_HANDLE(), and WarpZoneCamera_InitStep_FindTarget().
| float warpzone_fadeend |
Definition at line 22 of file common.qh.
Referenced by NET_HANDLE(), NET_HANDLE(), WarpZone_Camera_camera_transform(), WarpZone_Camera_Send(), WarpZone_camera_transform(), WarpZone_Fade_PreDraw(), and WarpZone_Send().
| float warpzone_fadestart |
Definition at line 21 of file common.qh.
Referenced by NET_HANDLE(), NET_HANDLE(), WarpZone_Camera_camera_transform(), WarpZone_Camera_Send(), WarpZone_camera_transform(), WarpZone_Fade_PreDraw(), and WarpZone_Send().
| float warpzone_isboxy |
Definition at line 12 of file common.qh.
Referenced by conveyor_send(), NET_HANDLE(), trigger_common_write(), WarpZone_Send(), and WarpZoneLib_ExactTrigger_Init().
| vector warpzone_origin |
Definition at line 14 of file common.qh.
Referenced by WarpZone_Camera_camera_transform(), WarpZone_InitStep_FinalizeTransform(), WarpZone_InitStep_UpdateTransform(), and WarpZone_Send().
| vector warpzone_targetangles |
Definition at line 18 of file common.qh.
Referenced by WarpZone_Send().
| vector warpzone_targetorigin |
Definition at line 17 of file common.qh.
Referenced by WarpZone_camera_transform(), and WarpZone_Send().
| var WarpZone_trace_callback_t WarpZone_trace_callback_t_null |
Definition at line 36 of file common.qh.
Referenced by WarpZone_TraceBox(), and WarpZone_TraceToss().
| entity WarpZone_trace_firstzone |
Definition at line 38 of file common.qh.
Referenced by FireImoBeam(), FireRailgunBullet(), WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| entity WarpZone_trace_forent |
Definition at line 34 of file common.qh.
Referenced by fireBullet_falloff(), fireBullet_trace_callback(), WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| entity WarpZone_trace_lastzone |
Definition at line 39 of file common.qh.
Referenced by WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().
| entity WarpZone_trace_transform |
Definition at line 37 of file common.qh.
Referenced by Draw_ArcBeam(), Draw_ArcBeam_callback(), Draw_GrapplingHook(), Draw_GrapplingHook_trace_callback(), fireBullet_falloff(), FireImoBeam(), FireRailgunBullet(), SendCSQCVaporizerBeamParticle(), SendCSQCVortexBeamParticle(), View_EventChase(), W_Arc_Beam_Think(), W_SetupShot_Dir_ProjectileSize_Range(), W_Vaporizer_Attack(), W_Vortex_Attack(), WarpZone_Trace_AddTransform(), and WarpZone_Trace_InitTransform().
| float WarpZone_tracetoss_time |
Definition at line 41 of file common.qh.
Referenced by WarpZone_TraceToss_ThroughZone().
| vector WarpZone_tracetoss_velocity |
Definition at line 40 of file common.qh.
Referenced by WarpZone_TraceToss_ThroughZone().
| vector warpzone_transform |
Definition at line 20 of file common.qh.
Referenced by NET_HANDLE().
| float warpzone_warpzones_exist |
Definition at line 9 of file common.qh.
Referenced by ItemDraw(), NET_HANDLE(), WarpZone_Find(), WarpZone_InitStep_FinalizeTransform(), WarpZone_MakeAllOther(), WarpZone_MakeAllSolid(), WarpZone_StartFrame(), WarpZone_TraceBox_ThroughZone(), and WarpZone_TraceToss_ThroughZone().