|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "movetypes.qh"Go to the source code of this file.
Macros | |
| #define | X(s) |
| #define | X(v) |
| #define X | ( | s | ) |
| #define X | ( | v | ) |
Referenced by _Movetype_UnstickEntity(), and Movetype_Physics_MatchTicrate().
Definition at line 620 of file movetypes.qc.
References _Movetype_LinkEdict(), _Movetype_TestEntityPosition(), _Movetype_UnstickEntity(), entity(), oldorigin, origin, UNSTICK_FINE, UNSTICK_FIXED, UNSTICK_STUCK, and vector.
Referenced by _Movetype_Physics_ClientFrame(), and _Movetype_Physics_Walk().
Definition at line 334 of file movetypes.qc.
References CONTENT_EMPTY, DPCONTENTS_LIQUIDSMASK, entity(), maxs, mins, Mod_Q1BSP_SuperContentsFromNativeContents(), origin, vector, view_ofs, waterlevel, WATERLEVEL_NONE, WATERLEVEL_SUBMERGED, WATERLEVEL_SWIMMING, WATERLEVEL_WETFEET, and watertype.
Referenced by _Movetype_Physics_ClientFrame(), _Movetype_Physics_Frame(), _Movetype_Physics_Walk(), PM_ClientMovement_UpdateStatus(), and StrafeHUD_DetermineWaterLevel().
Definition at line 368 of file movetypes.qc.
References CONTENT_EMPTY, CONTENT_WATER, entity(), and GAMEPLAYFIX_WATERTRANSITION.
Referenced by _Movetype_Physics_Step(), and _Movetype_Physics_Toss().
Definition at line 639 of file movetypes.qc.
References vector.
Referenced by _Movetype_FlyMove(), and _Movetype_Physics_Toss().
Definition at line 530 of file movetypes.qc.
References DPCONTENTS_BODY, DPCONTENTS_CORPSE, DPCONTENTS_MONSTERCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, entity(), FL_MONSTER, flags, solid, SOLID_CORPSE, SOLID_SLIDEBOX, and SOLID_TRIGGER.
Referenced by _Movetype_TestEntityPosition().
| int _Movetype_FlyMove | ( | entity | this, |
| float | dt, | ||
| bool | applygravity, | ||
| bool | applystepnormal, | ||
| float | stepheight ) |
Definition at line 120 of file movetypes.qc.
References _Movetype_ClipVelocity(), _Movetype_PushEntity(), cross, dir, entity(), FL_WATERJUMP, flags, GAMEPLAYFIX_EASIERWATERJUMP, GAMEPLAYFIX_GRAVITYUNAFFECTEDBYTICRATE, GAMEPLAYFIX_NOGRAVITYONGROUND, gravity, groundentity, IS_ONGROUND, MAX_CLIP_PLANES, move_didgravity, move_stepnormal, normalize(), NULL, org, origin, PHYS_GRAVITY, PHYS_WALLCLIP, planes, pm_time, SET_ONGROUND, trace_allsolid, trace_endpos, trace_ent, trace_fraction, trace_plane_normal, trace_startsolid, vec3, vector, and velocity.
Referenced by _Movetype_Physics_Step(), and _Movetype_Physics_Walk().
Definition at line 401 of file movetypes.qc.
References entity(), gettouch, solid, SOLID_NOT, string_null, toucher, trace_allsolid, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_inopen, trace_inwater, trace_plane_dist, trace_plane_normal, trace_startsolid, and vector.
Referenced by _Movetype_PushEntity().
Definition at line 516 of file movetypes.qc.
References _Movetype_LinkEdict_TouchAreaGrid(), absmax, absmin, autocvar__movetype_debug, entity(), maxs, mins, and origin.
Referenced by _Movetype_CheckStuck(), _Movetype_Physics_ClientFrame(), _Movetype_Physics_Follow(), _Movetype_Physics_Frame(), _Movetype_Physics_Step(), _Movetype_Physics_Walk(), _Movetype_PushEntity(), _Movetype_PushMove(), and _Movetype_UnstickEntity().
Definition at line 449 of file movetypes.qc.
References absmax, absmin, boxesoverlap(), entity(), FOREACH_ENTITY_RADIUS_ORDERED, gettouch, MOVE_NOMONSTERS, MOVE_WORLDONLY, solid, SOLID_NOT, SOLID_TRIGGER, string_null, trace_allsolid, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_inopen, trace_inwater, trace_plane_dist, trace_plane_normal, trace_startsolid, vector, and vlen().
Referenced by _Movetype_LinkEdict().
Definition at line 19 of file movetypes.qc.
References dir, entity(), MOVE_NOMONSTERS, origin, SOLID_BSP, trace_endpos, trace_ent, trace_fraction, trace_plane_normal, trace_startsolid, and vector.
Referenced by _Movetype_PushMove().
Definition at line 737 of file movetypes.qc.
References _Movetype_CheckStuck(), _Movetype_CheckWater(), _Movetype_LinkEdict(), _Movetype_Physics_Follow(), _Movetype_Physics_Step(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), angles, avelocity, entity(), GAMEPLAYFIX_UNSTICKPLAYERS, LOG_DEBUG, move_didgravity, move_movetype, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FAKEPUSH, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MOVETYPE_PHYSICS, MOVETYPE_PUSH, MOVETYPE_STEP, MOVETYPE_TOSS, MOVETYPE_WALK, origin, and velocity.
Referenced by Movetype_Physics_NoMatchTicrate().
Definition at line 698 of file movetypes.qc.
References _Movetype_CheckWater(), _Movetype_LinkEdict(), _Movetype_Physics_Follow(), _Movetype_Physics_Push(), _Movetype_Physics_Step(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), angles, avelocity, entity(), move_didgravity, move_movetype, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FAKEPUSH, MOVETYPE_FLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, MOVETYPE_PHYSICS, MOVETYPE_PUSH, MOVETYPE_STEP, MOVETYPE_TOSS, MOVETYPE_WALK, origin, and velocity.
Referenced by Movetype_Physics_MatchTicrate(), Movetype_Physics_NoMatchServer(), and Movetype_Physics_NoMatchTicrate().
Definition at line 668 of file movetypes.qc.
References _Movetype_Impact(), _Movetype_LinkEdict(), _Movetype_PushEntityTrace(), entity(), groundentity, IS_ONGROUND, move_nomonsters, MOVE_WORLDONLY, origin, solid, SOLID_TRIGGER, trace_endpos, trace_ent, trace_fraction, trace_startsolid, and vector.
Referenced by _Movetype_FlyMove(), _Movetype_Physics_Toss(), _Movetype_Physics_Walk(), and _Movetype_PushMove().
Definition at line 650 of file movetypes.qc.
References entity(), max(), maxs, mins, MOVE_MISSILE, move_movetype, MOVE_NOMONSTERS, move_nomonsters, MOVE_NORMAL, MOVE_WORLDONLY, MOVETYPE_FLY_WORLDONLY, MOVETYPE_FLYMISSILE, origin, solid, SOLID_NOT, SOLID_TRIGGER, and vector.
Referenced by _Movetype_PushEntity(), and Movetype_Physics_MatchTicrate().
Definition at line 555 of file movetypes.qc.
References _Movetype_ContentsMask(), _Movetype_TestEntityPosition_ent, entity(), maxs, mins, move_movetype, MOVE_NOMONSTERS, MOVE_WORLDONLY, MOVETYPE_FLY_WORLDONLY, org, origin, trace_dpstartcontents, trace_endpos, trace_startsolid, vector, and vlen2.
Referenced by _Movetype_CheckStuck(), _Movetype_TestEntityPosition_Offset(), and _Movetype_UnstickEntity().
Definition at line 576 of file movetypes.qc.
References _Movetype_TestEntityPosition().
Referenced by _Movetype_UnstickEntity().
Definition at line 593 of file movetypes.qc.
References _Movetype_LinkEdict(), _Movetype_TestEntityPosition(), _Movetype_TestEntityPosition_ent, _Movetype_TestEntityPosition_Offset(), classname, entity(), etof, LOG_DEBUGF, maxs, origin, rint(), UNSTICK_FINE, UNSTICK_FIXED, UNSTICK_STUCK, vtos(), and X.
Referenced by _Movetype_CheckStuck(), and _Movetype_Physics_Toss().
Definition at line 102 of file movetypes.qc.
References entity(), and vector.
Referenced by _Movetype_Physics_Walk().
Definition at line 817 of file movetypes.qc.
References entity(), Movetype_Physics_MatchTicrate(), and TICRATE.
Referenced by Projectile_Draw().
Definition at line 835 of file movetypes.qc.
References _Movetype_Physics_Frame(), _Movetype_PushEntityTrace(), angles, avelocity, bound(), entity(), FL_ONGROUND, flags, floor(), GAMEPLAYFIX_GRAVITYUNAFFECTEDBYTICRATE, gravity, move_didgravity, move_movetype, move_time, MOVETYPE_BOUNCE, MOVETYPE_NOCLIP, MOVETYPE_NONE, Movetype_Physics_NoMatchServer(), MOVETYPE_TOSS, origin, PHYS_GRAVITY, tic_angles, tic_avelocity, tic_flags, tic_origin, tic_saved_angles, tic_saved_avelocity, tic_saved_flags, tic_saved_origin, tic_saved_velocity, tic_velocity, time, trace_endpos, trace_startsolid, velocity, and X.
Referenced by Casing_Draw(), Gib_Draw(), Movetype_Physics_MatchServer(), RaptorCBShellfragDraw(), and turret_gib_draw().
Definition at line 805 of file movetypes.qc.
References _Movetype_Physics_Frame(), entity(), move_time, origin, and time.
Referenced by Movetype_Physics_MatchTicrate(), and Projectile_Draw().
Definition at line 779 of file movetypes.qc.
References _Movetype_Physics_ClientFrame(), _Movetype_Physics_Frame(), entity(), GAMEPLAYFIX_DELAYPROJECTILES, move_time, origin, and time.
Referenced by CSQCPlayer_Physics(), ItemDraw(), Physics_Frame(), and Player_Physics().
Definition at line 4 of file movetypes.qc.
References entity(), g_moveables, IL_CONTAINS(), IL_PUSH(), move_movetype, move_qcphysics, movetype, MOVETYPE_PHYSICS, MOVETYPE_QCENTITY, and use_engine_physics.
Referenced by buff_Init(), buff_Respawn(), bumblebee_exit(), bumblebee_gunner_enter(), bumblebee_gunner_exit(), bumblebee_pilot_frame(), CheatCommand(), CopyBody(), cpicon_construct(), ctf_CaptureShield_Spawn(), ctf_FlagSetup(), ctf_FlagThink(), ctf_Handle_Drop(), ctf_Handle_Pickup(), ctf_Handle_Retrieve(), ctf_Handle_Throw(), ctf_RespawnFlag(), door_spawnfield(), Drag_Begin(), Drag_Finish(), DropBall(), dynlight_find_aiment(), electro_orb_setup(), findtrajectorywithleading(), FireGrapplingHook(), follow_init(), follow_sameorigin(), g_clientmodel_init(), g_model_init(), generator_construct(), GiveBall(), GrapplingHook_Stop(), GrapplingHookThink(), InitBall(), InitMovingBrushTrigger(), InitSolidBSPTrigger(), InitTrigger(), jumppad_push(), ka_DropEvent(), ka_RespawnBall(), ka_SpawnBalls(), ka_TouchEvent(), kh_Key_Attach(), kh_Key_Detach(), LaunchDebris(), M_Golem_Attack_Lightning(), M_Golem_Attack_Lightning_Explode(), M_Mage_Attack_Spike(), M_Spider_Attack_Web(), Monster_Dead(), Monster_Move(), Monster_Spawn(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_darkness_boom(), nade_ice_boom(), nade_napalm_ball(), nade_napalm_boom(), nade_spawn_boom(), NET_HANDLE(), NET_HANDLE(), NET_HANDLE(), ObserverOrSpectatorThink(), ons_CaptureShield_Spawn(), ons_ControlPoint_Setup(), ons_generator_ray_spawn(), ons_GeneratorSetup(), orb_setup(), physical_item_think(), plat_spawn_inside_trigger(), player_clear_minigame(), PlayerDamage(), PutObserverInServer(), PutPlayerInServer(), RaceCarPhysics(), racer_blowup(), racer_exit(), racer_frame(), raptor_blowup(), raptor_bomb_burst(), raptor_bombdrop(), raptor_frame(), raptor_land(), RaptorCBShellfragToss(), RemoveGrapplingHooks(), RemoveHook(), ResetBall(), respawn(), sandbox_ObjectAttach_Set(), sandbox_ObjectPort_Load(), sandbox_ObjectSpawn(), SetMovetypeFollow(), spawn_item_key(), SpawnBall(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), SpectateSet(), spiderbot_blowup(), spiderbot_exit(), spiderbot_frame(), spiderbot_rocket_do(), StartItem(), SUB_CalcMove_Bezier(), SUB_Stop(), SV_OnEntityPreSpawnFunction(), sys_phys_pregame_hold(), tka_DropEvent(), tka_RespawnBall(), tka_SpawnBalls(), tka_TouchEvent(), toss_nade(), TossGib(), turret_construct(), turret_gibtoss(), turret_hk_missile_think(), turret_initialize(), turret_projectile(), UnsetMovetypeFollow(), vehicle_tossgib(), vehicles_enter(), vehicles_exit(), vehicles_projectile(), vehicles_spawn(), W_Arc_Attack_Bolt(), W_Arc_Beam(), W_Blaster_Think(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Devastator_Attack(), W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), W_Electro_Orb_ExplodeOverTime(), W_Electro_Orb_Follow_Think(), W_Electro_Orb_Stick(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_HLAC_Attack(), W_HLAC_Attack2(), W_Hook_Attack2(), W_Hook_Explode2(), W_MineLayer_Attack(), W_MineLayer_Damage(), W_MineLayer_Stick(), W_MineLayer_Think(), W_Mortar_Attack(), W_Mortar_Attack2(), W_Mortar_Grenade_Touch1(), W_Mortar_Grenade_Touch2(), W_Nexball_Attack2(), W_OverkillRocketPropelledChainsaw_Attack(), W_Porto_Attack(), W_RocketMinsta_Attack(), W_Seeker_Fire_Flac(), W_Seeker_Fire_Missile(), W_Seeker_Fire_Tag(), walker_fire_rocket(), and WarpZoneLib_ExactTrigger_Init().
| entity _Movetype_TestEntityPosition_ent |
Definition at line 554 of file movetypes.qc.
Referenced by _Movetype_TestEntityPosition(), and _Movetype_UnstickEntity().
Definition at line 515 of file movetypes.qc.
Referenced by _Movetype_LinkEdict().
| vector planes[MAX_CLIP_PLANES] |
Definition at line 119 of file movetypes.qc.
Referenced by _Movetype_FlyMove().
| vector tic_angles |
Definition at line 827 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_avelocity |
Definition at line 826 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| int tic_flags |
Definition at line 825 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_origin |
Definition at line 823 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_saved_angles |
Definition at line 834 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_saved_avelocity |
Definition at line 833 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| int tic_saved_flags |
Definition at line 832 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_saved_origin |
Definition at line 830 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_saved_velocity |
Definition at line 831 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().
| vector tic_velocity |
Definition at line 824 of file movetypes.qc.
Referenced by Movetype_Physics_MatchTicrate().