/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/Runtime/ |
H A D | MiscHelpers.cpp | 478 Int32 distToTarget = *(Int32 *)&pCode[1]; variable 479 UInt8 * target = pCode + 5 + distToTarget; 505 Int32 distToTarget = *(Int32 *)&pCode[1]; variable 506 UInt8 * pTarget = pCode + 5 + distToTarget; 541 Int32 distToTarget = GetThumb2BlRel24(pCode); variable 566 return (UInt8 *)pCode + distToTarget; 594 Int32 distToTarget = *(Int32 *)&pCode[1]; in FOREACH_MODULE() local 595 UInt8 * target = pCode + 5 + distToTarget; in FOREACH_MODULE() 607 Int32 distToTarget = *(Int32 *)&pCode[1]; in FOREACH_MODULE() local 608 UInt8 * pTarget = pCode + 5 + distToTarget; in FOREACH_MODULE() [all …]
|
/dports/games/sdb/sdb-1.0.2/src/ |
H A D | enemies.cpp | 65 distToTarget = dist(currLevelObjs[object]->Pos(), currLevelObjs[target]->Pos()); in distanceCalculation() 67 distToTarget = dist(currLevelObjs[object]->Pos(), moveTarget); in distanceCalculation() 297 if (distToTarget < 1) in nodeFollowBehavior() 306 …if (currLevelObjs[target]->isActive() && (distToTarget < alertDistance) && (fabs(angleDiff) < tora… in targetDetect() 384 …if (currLevelObjs[target]->isActive() && distToTarget < alertDistance && fabs(angleDiff) < torad(f… in update() 415 …if (currLevelObjs[target]->isActive() && distToTarget < alertDistance && fabs(angleDiff) < torad(f… in update() 431 …if (!(currLevelObjs[target]->isActive() && distToTarget < alertDistance && fabs(angleDiff) < torad… in update() 473 …if (currLevelObjs[target]->isActive() && (distToTarget < alertDistance) && (fabs(angleDiff) < tora… in targetDetect() 502 if (distToTarget <= 1.0 && task == AIT_INVESTIGATE) in update() 592 if (distToTarget >= closestDistance/anger) in move() [all …]
|
H A D | enemies.h | 85 float distToTarget; variable
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/ |
H A D | aicombat.cpp | 231 float distToTarget = MWBase::Environment::get().getWorld()->getHitDistance(actor, target); in attack() local 233 …storage.mReadyToAttack = (currentAction->isAttackingOrSpell() && distToTarget <= rangeAttack && st… in attack() 254 storage.startCombatMove(isRangedCombat, distToTarget, rangeAttack, actor, target); in attack() 462 …void AiCombatStorage::startCombatMove(bool isDistantCombat, float distToTarget, float rangeAttack,… in startCombatMove() argument 491 …if (targetUsesRanged || distToTarget > rangeAttackOfTarget*1.5) // Don't back up if the target is … in startCombatMove() 535 … else if (distToTarget <= rangeAttackOfTarget && Misc::Rng::rollClosedProbability() < 0.25) in startCombatMove() 699 float distToTarget = vDirToTarget.length(); in AimDirToMovingTarget() local 724 projDistDiff = std::sqrt(distToTarget * distToTarget - projDistDiff * projDistDiff); in AimDirToMovingTarget()
|
H A D | aipackage.cpp | 114 const float distToTarget = distance(position, dest); in pathTo() local 115 const bool isDestReached = (distToTarget <= destTolerance); in pathTo() 346 const float distToTarget = osg::Vec2f(endPoint.x(), endPoint.y()).length(); in checkWayIsClearForActor() local 348 const float offsetXY = distToTarget > maxAvoidDist*1.5? maxAvoidDist : maxAvoidDist/2; in checkWayIsClearForActor()
|
H A D | aisequence.hpp | 102 bool canAddTarget(const ESM::Position& actorPos, float distToTarget) const;
|
H A D | aicombat.hpp | 84 …void startCombatMove(bool isDistantCombat, float distToTarget, float rangeAttack, const MWWorld::P…
|
/dports/cad/magic/magic-8.3.245/gcr/ |
H A D | gcrUnsplit.c | 457 int distToTarget; local 468 distToTarget=abs(from-to); 503 if(distToTarget>abs(runTo-to))
|
/dports/games/scourge/scourge/src/ |
H A D | projectile.cpp | 105 distToTarget = Constants::distance( startX, startY, in commonInit() 148 float a = ( 179.0f * steps ) / distToTarget; in move() 194 distToTarget = Constants::distance( startX, startY, in move()
|
H A D | projectile.h | 53 float startX, startY, distToTarget; variable
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/BA/ |
H A D | attackhandler.lua | 269 local distToTarget = Distance(midPos, squad.target) 270 local reached = distToTarget < twiceMaxRange
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ai/ |
H A D | aicode.cpp | 5671 float distToTarget = vm_vec_dist(&enemy_objp->pos, &objp->pos); in ai_fire_primary_weapon() local 5673 float distanceFactor = 1.0f - distToTarget/weaponRange; in ai_fire_primary_weapon()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ai/ |
H A D | aicode.cpp | 5992 float distToTarget = vm_vec_dist(&enemy_objp->pos, &objp->pos); in ai_fire_primary_weapon() local 5994 float distanceFactor = 1.0f - distToTarget/weaponRange; in ai_fire_primary_weapon()
|