Home
last modified time | relevance | path

Searched refs:getTargetPosition (Results 1 – 25 of 85) sorted by relevance

1234

/dports/games/scorched3d/scorched/src/common/landscapemap/
H A DMovementMap.cpp271 FixedVector offset = position - target->getLife().getTargetPosition(); in inShield()
324 if (waterHeight > tanket_->getLife().getTargetPosition()[2] - fixed(true, 1000)) in getWaterHeight()
326 waterHeight = tanket_->getLife().getTargetPosition()[2] - fixed(true, 1000); in getWaterHeight()
350 tanket_->getLife().getTargetPosition()[0], in tankBurried()
351 tanket_->getLife().getTargetPosition()[1]); in tankBurried()
353 tanket_->getLife().getTargetPosition()[2]; in tankBurried()
437 tanket_->getLife().getTargetPosition()[0].asInt(); in calculatePosition()
439 tanket_->getLife().getTargetPosition()[1].asInt(); in calculatePosition()
506 tanket_->getLife().getTargetPosition()[0].asInt(); in calculateAllPositions()
508 tanket_->getLife().getTargetPosition()[1].asInt(); in calculateAllPositions()
/dports/games/scorched3d/scorched/src/server/tankai/
H A DTankAICurrentMove.cpp309 Vector directTarget = targetTanket->getLife().getTargetPosition().asVector(); in makeProjectileShot()
366 (actualPosition - tanket->getLife().getTargetPosition().asVector()).Magnitude(); in makeProjectileShot()
490 Vector directTarget = targetTanket->getLife().getTargetPosition().asVector(); in makeSniperShot()
578 Vector directTarget = targetTanket->getLife().getTargetPosition().asVector(); in makeLaserSniperShot()
624 tanket->getLife().getTargetPosition(), targetTanket->getLife().getTargetPosition(), in makeBurriedShot()
749 Vector targetPos = target->getLife().getTargetPosition().asVector(); in makeMoveShot()
750 Vector tankPos = tanket->getLife().getTargetPosition().asVector(); in makeMoveShot()
848 (tanket->getLife().getTargetPosition().asVector() - in makeGroupShot()
861 (to->getLife().getTargetPosition().asVector() - in makeGroupShot()
1010 record.position = tanket->getLife().getTargetPosition().asVector(); in shotAtTank()
[all …]
H A DTankAIAimGuesser.cpp99 tanket->getLife().getTargetPosition(), in initialShot()
131 float dist = (currentPos - tanket->getLife().getTargetPosition().asVector()).Magnitude2d(); in refineShot()
132 float wanteddist = (wantedPos - tanket->getLife().getTargetPosition().asVector()).Magnitude2d(); in refineShot()
H A DTankAISniperGuesser.cpp45 FixedVector shotPosition = tanket->getLife().getTargetPosition(); in guess()
H A DTankAICurrentTarget.cpp203 ((currentTanket->getLife().getTargetPosition() - in getTargets()
204 thisTanket->getLife().getTargetPosition()).Magnitude()).asFloat(), currentTanket)); in getTargets()
/dports/games/scorched3d/scorched/src/client/dialogs/
H A DProfileDialog.cpp148 FixedVector startPosition = currentTank->getLife().getTargetPosition() - tankDirection * 25; in drawLandscape()
179 FixedVector tankPosition = currentTank->getLife().getTargetPosition(); in drawAIM()
206 FixedVector tankPosition = currentTank->getLife().getTargetPosition(); in drawTanks()
226 FixedVector thisTankDir = (tank->getLife().getTargetPosition() - tankPosition); in drawTanks()
233 FixedVector AP = tank->getLife().getTargetPosition() - startPosition; in drawTanks()
246 fixed tankheight = tank->getLife().getTargetPosition()[2]; in drawTanks()
/dports/games/scorched3d/scorched/src/common/simactions/
H A DTankDefenseSimAction.cpp83 batSound, tanket->getLife().getTargetPosition().asVector()); in invokeAction()
112 activateSound, tanket->getLife().getTargetPosition().asVector()); in invokeAction()
150 paraSound, tanket->getLife().getTargetPosition().asVector()); in invokeAction()
H A DTankNewGameSimAction.cpp60 FixedVector tankPos = tank->getLife().getTargetPosition(); in invokeAction()
/dports/games/scorched3d/scorched/src/common/actions/
H A DTanketMovement.cpp88 startPosition_ = tanket->getLife().getTargetPosition(); in init()
111 moveSoundSource_->setPosition(tanket->getLife().getTargetPosition().asVector()); in init()
292 DeformLandscape::flattenArea(*context_, tanket->getLife().getTargetPosition()); in simulationMove()
382 tanket->getLife().getTargetPosition(), 3, collisionTargets, false); in moveTanket()
408 tanket->getLife().getTargetPosition(), in moveTanket()
H A DTeleport.cpp69 tank->getLife().getTargetPosition().asVector(), in init()
100 activateSound, tank->getLife().getTargetPosition().asVector()); in simulate()
H A DTargetFalling.cpp75 tankStartPosition_ = current->getLife().getTargetPosition(); in init()
185 current->getLife().getTargetPosition(), 3, collisionTargets, false); in collision()
H A DLaser.cpp125 FixedVector offset = current->getLife().getTargetPosition() - pos; in simulate()
139 FixedVector offset = current->getLife().getTargetPosition() - pos; in simulate()
/dports/graphics/opencv/opencv-4.5.3/modules/video/src/tracking/
H A Dtracker_mil.cpp116 …Rect lastBoundingBox((int)lastLocation->getTargetPosition().x, (int)lastLocation->getTargetPositio… in update()
157 …boundingBox = Rect((int)currentState->getTargetPosition().x, (int)currentState->getTargetPosition(… in update()
/dports/games/scorched3d/scorched/src/client/tankgraph/
H A DTargetRendererImplTank.cpp250 Vector &position = tank_->getLife().getTargetPosition().asVector(); in drawNames()
291 tank_->getLife().getTargetPosition().asVector() - bilX; in drawNames()
319 FixedVector &targetPosition = tank_->getLife().getTargetPosition(); in drawSight()
534 tank_->getLife().getTargetPosition()[0].asFloat(), in drawOldSight()
535 tank_->getLife().getTargetPosition()[1].asFloat(), in drawOldSight()
536 tank_->getLife().getTargetPosition()[2].asFloat() + in drawOldSight()
630 Vector &position = tank_->getLife().getTargetPosition().asVector(); in drawArrow()
676 Vector &position = tank_->getLife().getTargetPosition().asVector(); in drawLife()
706 Vector &position = tank_->getLife().getTargetPosition().asVector(); in drawLifeBar()
H A DTankKeyboardControlUtil.cpp65 elevateSound_->setPosition(tank->getLife().getTargetPosition().asVector()); in keyboardCheck()
68 rotateSound_->setPosition(tank->getLife().getTargetPosition().asVector()); in keyboardCheck()
71 startSound_->setPosition(tank->getLife().getTargetPosition().asVector()); in keyboardCheck()
74 powerSound_->setPosition(tank->getLife().getTargetPosition().asVector()); in keyboardCheck()
243 Vector &position = tank->getLife().getTargetPosition().asVector(); in autoAim()
/dports/games/scorched3d/scorched/src/common/target/
H A DTargetSpace.cpp101 int x = target->getLife().getTargetPosition()[0].asInt(); in getSquares()
102 int y = target->getLife().getTargetPosition()[1].asInt(); in getSquares()
198 FixedVector direction = position - target->getLife().getTargetPosition(); in getCollision()
221 result->getLife().getTargetPosition().asQuickString())); in getCollision()
305 itor->second->getLife().getTargetPosition().asQuickString())); in getCollisionSet()
H A DTargetGroup.cpp47 return target_->getLife().getTargetPosition(); in getPosition()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/tracking/src/
H A DtrackerBoosting.cpp219 …Rect lastBoundingBox( (int)lastLocation->getTargetPosition().x, (int)lastLocation->getTargetPositi… in updateImpl()
264 …boundingBox = Rect( (int)currentState->getTargetPosition().x, (int)currentState->getTargetPosition in updateImpl()
/dports/games/scorched3d/scorched/src/common/placement/
H A DPlacementType.cpp105 fixed distx = target->getLife().getTargetPosition()[0] - position[0]; in checkCloseness()
106 fixed disty = target->getLife().getTargetPosition()[1] - position[1]; in checkCloseness()
H A DPlacementTankPosition.cpp108 if ((tankPos - thisTarget->getLife().getTargetPosition()).Magnitude() < closeness) in tankTargetCloseness()
135 thisTank->getLife().getTargetPosition().asQuickString())); in tankTargetCloseness()
140 if ((tankPos - thisTank->getLife().getTargetPosition()).Magnitude() < tankCloseness) in tankTargetCloseness()
/dports/games/scorched3d/scorched/src/common/engine/
H A DSimulator.cpp175 tank->getLife().getTargetPosition().asQuickString())); in newLevel()
190 target->getLife().getTargetPosition().asQuickString())); in newLevel()
H A DPhysicsParticleObject.cpp554 FixedVector offset = shotTank->getLife().getTargetPosition() - in getShieldCollision()
555 target->getLife().getTargetPosition(); in getShieldCollision()
564 FixedVector direction = position_ - target->getLife().getTargetPosition(); in getShieldCollision()
589 collision.normal = (position_ - target->getLife().getTargetPosition()).Normalize(); in getShieldCollision()
/dports/games/scorched3d/scorched/src/common/movement/
H A DBoid2.cpp42 if (target_) return target_->getLife().getTargetPosition(); in getPosition()
128 target_->getLife().getTargetPosition().asQuickString(), in update()
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/spaceObjects/
H A DwormHole.cpp33 REGISTER_SCRIPT_CLASS_FUNCTION(WormHole, getTargetPosition); in REGISTER_SCRIPT_SUBCLASS()
182 sf::Vector2f WormHole::getTargetPosition() in getTargetPosition() function in WormHole
/dports/games/scorched3d/scorched/src/common/weapons/
H A DWeaponTankPosition.cpp74 FixedVector newPosition = tanket->getLife().getTargetPosition(); in fireWeapon()

1234