trace_t Struct Reference

#include <q_shared.h>


Data Fields

byte allsolid
byte startsolid
short entityNum
float fraction
vec3_t endpos
cplane_t plane
int surfaceFlags
int contents


Field Documentation

byte trace_t::allsolid
 

Definition at line 1895 of file q_shared.h.

Referenced by BG_VehicleAdjustBBoxForOrientation(), BG_VehTraceFromCamPos(), CanGetToVector(), CanGetToVectorTravel(), CG_CalcEntityLerpPositions(), CG_DrawAutoMap(), CG_G2TraceCollide(), CG_RagDoll(), CG_ReflectVelocity(), ConnectTrail(), Do_Strike(), EntityVisibleBox(), EWeb_Create(), EWebPositionUser(), FireVehicleWeapon(), ForceShootDrain(), ForceShootLightning(), ForceTelepathyCheckDirectNPCTarget(), ForceThrow(), G_CheckInSolid(), G_ClearTrace(), G_ExpandPointToBBox(), G_ItemUsable(), G_RunExPhys(), G_RunMissile(), G_RunObject(), maglock_link(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_StackedCanyon(), NAV_TestBestNode(), NAVNEW_PushBlocker(), NAVNEW_SidestepBlocker(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_CheckInSolid(), NPC_ClearShot(), NPC_FindCombatPoint(), NPC_MoveDirClear(), NPC_Spawn_Do(), OrgVisibleBox(), OrgVisibleCurve(), pas_adjust_enemy(), PlaceShield(), PM_AdjustAngleForWallRunUp(), PM_CheckFixMins(), PM_ItemUsable(), PM_SlideMove(), PM_StepSlideMove(), PM_WeaponLightsaber(), Rancor_CheckDropVictim(), SaberCombatHandling(), SeekerDroneUpdate(), SP_emplaced_gun(), TryUse(), turret_base_think(), turretG2_base_think(), VEH_TryEject(), VEH_TurretThink(), W_TraceSetStart(), WP_LobFire(), WP_SaberPositionUpdate(), and WP_SaberStartMissileBlockCheck().

int trace_t::contents
 

Definition at line 1903 of file q_shared.h.

Referenced by Jedi_CheckFlipEvasions(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_StackedCanyon(), NAV_TestBestNode(), and PM_HoverTrace().

vec3_t trace_t::endpos
 

Definition at line 1900 of file q_shared.h.

Referenced by BG_VehTraceFromCamPos(), Boba_FireDecide(), Boba_FireFlameThrower(), CalcEntitySpot(), CanGetToVectorTravel(), CanShoot(), CG_AddFragment(), CG_AddSaberBlade(), CG_BloodPool(), CG_DrawAutoMap(), CG_EntityEvent(), CG_FragmentBounceSound(), CG_G2MarkEvent(), CG_G2SaberEffects(), CG_G2TraceCollide(), CG_ReflectVelocity(), CG_SaberCompWork(), ConnectTrail(), Do_Strike(), EWeb_Create(), EWebPositionUser(), FinishSpawningItem(), FireVehicleWeapon(), ForceShootDrain(), ForceShootLightning(), ForceTelepathyCheckDirectNPCTarget(), G_BounceItem(), G_BounceMissile(), G_BounceObject(), G_CheckInSolid(), G_ClearLineOfSight(), G_ClearLOS(), G_EstimateCamPos(), G_ItemUsable(), G_MissileImpact(), G_RMGPathing(), G_RunExPhys(), G_RunItem(), G_RunMissile(), G_RunObject(), Howler_TryDamage(), maglock_link(), MeleeCombatHandling(), MineMonster_TryDamage(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_TestBestNode(), NPC_BSAdvanceFight(), NPC_BSGM_Attack(), NPC_CheckCanAttack(), NPC_ClearPathToGoal(), NPC_MoveDirClear(), NPC_ShotEntity(), NPC_Spawn_Do(), NPC_SpawnType(), PlaceShield(), PM_AdjustAngleForWallRunUp(), PM_FootSlopeTrace(), PM_GroundDistance(), PM_HoverTrace(), PM_ItemUsable(), PM_RocketLock(), PM_SlideMove(), PM_StepSlideMove(), PM_WalkableGroundDistance(), SaberCombatHandling(), saberFirstThrown(), Seeker_Strafe(), ShotThroughGlass(), SP_emplaced_gun(), SP_misc_ammo_floor_unit(), SP_misc_holocron(), SP_misc_shield_floor_unit(), target_laser_think(), touchLaserTrap(), VEH_TryEject(), W_TraceSetStart(), WP_DisruptorAltFire(), WP_FireMelee(), WP_FireStunBaton(), WP_LobFire(), and WP_VehCheckTraceFromCamPos().

short trace_t::entityNum
 

Definition at line 1897 of file q_shared.h.

Referenced by BG_VehTraceFromCamPos(), Boba_FireFlameThrower(), BotTrace_Jump(), CanDamage(), CanShoot(), CG_AddSaberBlade(), CG_CheckThirdPersonAlpha(), CG_EntityEvent(), CG_G2MarkEvent(), CG_G2SaberEffects(), CG_G2Trace(), CG_G2TraceCollide(), CG_Rag_Trace(), CG_SaberCompWork(), CG_Trace(), CheckForFriendInLOF(), CheckForFunc(), ClientCommand(), Cmd_EngageDuel_f(), CTFFlagMovement(), Do_Strike(), DoGripAction(), DoorBlockingSection(), EntityVisibleBox(), EWeb_Create(), FinishSpawningItem(), FireVehicleWeapon(), FlagObjects(), ForceGrip(), ForceShootDrain(), ForceShootLightning(), ForceTelepathy(), ForceTelepathyCheckDirectNPCTarget(), ForceThrow(), G_BounceItem(), G_ClearLineOfSight(), G_ClearLOS(), G_ItemUsable(), G_MissileImpact(), G_PortalifyEntities(), G_RMGPathing(), G_RunExPhys(), G_RunMissile(), G_RunObject(), G_TestEntityPosition(), GetNearestBadThing(), HolocronTouch(), Howler_TryDamage(), Jedi_CheckFlipEvasions(), Jedi_FindEnemyInCone(), laserTrapThink(), maglock_link(), MineMonster_TryDamage(), NAV_AvoidCollision(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_TestBestNode(), NAVNEW_AvoidCollision(), NAVNEW_ClearPathBetweenPoints(), NAVNEW_TestNodeConnectionBlocked(), NPC_BSAdvanceFight(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_CheckCanAttack(), NPC_ClearShot(), NPC_MoveDirClear(), NPC_ShotEntity(), pas_adjust_enemy(), PlaceShield(), PM_CanBackstab(), PM_CheckStabDown(), PM_ItemUsable(), PM_RocketLock(), PM_SlideMove(), PM_SomeoneInFront(), PM_StepSlideMove(), PM_VehicleImpact(), ShotThroughGlass(), SiegeTakesPriority(), Sniper_FaceEnemy(), SP_misc_ammo_floor_unit(), SP_misc_shield_floor_unit(), target_laser_think(), touchLaserTrap(), TryUse(), turret_base_think(), turretG2_base_think(), ValidBloodPool(), VEH_TurretThink(), WP_DisruptorAltFire(), WP_FireMelee(), WP_FireStunBaton(), WP_LobFire(), WP_SaberStartMissileBlockCheck(), and WPOrgVisible().

float trace_t::fraction
 

Definition at line 1899 of file q_shared.h.

Referenced by BG_VehicleTurnRateForSpeed(), BG_VehTraceFromCamPos(), BotFallbackNavigation(), BotSurfaceNear(), BotTrace_Duck(), BotTrace_Jump(), BotTrace_Strafe(), CalcEntitySpot(), CanDamage(), CanGetToVector(), CanGetToVectorTravel(), CanSee(), CG_AddFragment(), CG_AddSaberBlade(), CG_BracketEntity(), CG_CalcEntityLerpPositions(), CG_EntityEvent(), CG_G2Trace(), CG_G2TraceCollide(), CG_Rag_Trace(), CG_RagDoll(), CG_ReflectVelocity(), CG_SaberClashFlare(), CG_Trace(), CheckForFriendInLOF(), CheckForFunc(), ClientCommand(), ClientThink_real(), Cmd_EngageDuel_f(), CreateShield(), CTFFlagMovement(), DoGripAction(), DoorBlockingSection(), EntityVisibleBox(), EWeb_Create(), EWebPositionUser(), FighterOverValidLandingSurface(), FireVehicleWeapon(), FlagObjects(), ForceGrip(), ForceShootDrain(), ForceShootLightning(), ForceTelepathy(), ForceTelepathyCheckDirectNPCTarget(), ForceThrow(), G_BounceItem(), G_BounceMissile(), G_BounceObject(), G_CheckInSolid(), G_ClearLineOfSight(), G_ClearLOS(), G_ClearTrace(), G_Damage(), G_EstimateCamPos(), G_ExpandPointToBBox(), G_ItemUsable(), G_PortalifyEntities(), G_RecursiveConnection(), G_RunExPhys(), G_RunItem(), G_RunMissile(), G_RunObject(), GetNearestBadThing(), GetNewFlagPoint(), ImperialProbe_Strafe(), ImperialProbe_Wait(), Interrogator_Strafe(), Jedi_CheckFlipEvasions(), Jedi_FindEnemyInCone(), maglock_link(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_Steer(), NAV_TestBestNode(), NAVNEW_PushBlocker(), NAVNEW_SidestepBlocker(), NAVNEW_TestNodeConnectionBlocked(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_ClearPathToGoal(), NPC_MoveDirClear(), NPC_Probe_Pain(), NPC_Spawn_Do(), OrgVisible(), OrgVisibleBox(), OrgVisibleCurve(), pas_adjust_enemy(), Pickup_Powerup(), pitch_roll_for_slope(), PlaceShield(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_AdjustAngleForWallRunUp(), PM_CanBackstab(), PM_CheckFixMins(), PM_HoverTrace(), PM_ItemUsable(), PM_pitch_roll_for_slope(), PM_RocketLock(), PM_SlideMove(), PM_SomeoneInFront(), PM_StepSlideMove(), PM_VehicleImpact(), PM_WeaponLightsaber(), Rancor_CheckDropVictim(), Remote_Strafe(), SaberCombatHandling(), Seeker_Strafe(), SeekerDroneUpdate(), Sentry_Strafe(), SiegeTakesPriority(), SP_emplaced_gun(), StrafeTracing(), TryUse(), ValidBloodPool(), VEH_TryEject(), W_TraceSetStart(), waypoint_testDirection(), WP_LobFire(), WP_SaberPositionUpdate(), WP_SaberStartMissileBlockCheck(), WP_VehCheckTraceFromCamPos(), and WPOrgVisible().

cplane_t trace_t::plane
 

Definition at line 1901 of file q_shared.h.

Referenced by BG_VehicleTurnRateForSpeed(), CG_AddSaberBlade(), CG_G2SaberEffects(), CG_G2TraceCollide(), CG_ReflectVelocity(), CG_SaberCompWork(), charge_stick(), FighterOverValidLandingSurface(), ForceTelepathyCheckDirectNPCTarget(), G_BounceItem(), G_BounceMissile(), G_BounceObject(), G_MissileImpact(), G_RunExPhys(), G_RunObject(), Jedi_CheckFlipEvasions(), maglock_link(), pitch_roll_for_slope(), PM_AdjustAngleForWallJump(), PM_AdjustAngleForWallRun(), PM_AdjustAngleForWallRunUp(), PM_FootSlopeTrace(), PM_HoverTrace(), PM_pitch_roll_for_slope(), PM_SlideMove(), PM_StepSlideMove(), PM_VehicleImpact(), PM_WalkableGroundDistance(), touchLaserTrap(), WP_DisruptorAltFire(), WP_FireStunBaton(), and WP_LobFire().

byte trace_t::startsolid
 

Definition at line 1896 of file q_shared.h.

Referenced by BG_VehicleAdjustBBoxForOrientation(), BG_VehTraceFromCamPos(), CanGetToVector(), CanGetToVectorTravel(), CanShoot(), CG_AddFragment(), CG_CalcEntityLerpPositions(), CG_DrawAutoMap(), CG_G2TraceCollide(), CG_RagDoll(), ClientCommand(), ClientThink_real(), ConnectTrail(), CreateShield(), Do_Strike(), EntityVisibleBox(), EWeb_Create(), EWebPositionUser(), FinishSpawningItem(), FireVehicleWeapon(), ForceShootDrain(), ForceShootLightning(), ForceTelepathyCheckDirectNPCTarget(), ForceThrow(), G_CheckInSolid(), G_ClearTrace(), G_ExpandPointToBBox(), G_ItemUsable(), G_RunExPhys(), G_RunItem(), G_RunMissile(), G_RunObject(), G_TestEntityPosition(), laserTrapThink(), maglock_link(), NAV_CheckAhead(), NAV_ClearPathToPoint(), NAV_StackedCanyon(), NAV_TestBestNode(), NAVNEW_PushBlocker(), NAVNEW_SidestepBlocker(), NPC_BSGM_Attack(), NPC_BSGM_Default(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_CheckInSolid(), NPC_ClearShot(), NPC_FindCombatPoint(), NPC_MoveDirClear(), NPC_Spawn_Do(), OrgVisibleBox(), OrgVisibleCurve(), pas_adjust_enemy(), PlaceShield(), PM_AdjustAngleForWallRunUp(), PM_CheckFixMins(), PM_ItemUsable(), PM_WeaponLightsaber(), Rancor_CheckDropVictim(), SaberCombatHandling(), SeekerDroneUpdate(), ShieldGoSolid(), SiegeItemTouch(), SP_emplaced_gun(), SP_misc_ammo_floor_unit(), SP_misc_holocron(), SP_misc_shield_floor_unit(), TryUse(), turret_base_think(), turretG2_base_think(), ValidBloodPool(), VEH_TryEject(), VEH_TurretThink(), W_TraceSetStart(), WP_LobFire(), WP_SaberPositionUpdate(), and WP_SaberStartMissileBlockCheck().

int trace_t::surfaceFlags
 

Definition at line 1902 of file q_shared.h.

Referenced by CG_AddSaberBlade(), G_MissileImpact(), G_RunMissile(), and WP_DisruptorAltFire().


The documentation for this struct was generated from the following file: