/dports/games/alienblaster/alienblaster/src/ |
H A D | formation.cc | 63 vector<Vector2D> targetPos; in Formation() local 64 fillTargetPos( targetPos ); in Formation() 153 vector<Vector2D> targetPos; in moveEnemyInFormation() local 154 fillTargetPos( targetPos ); in moveEnemyInFormation() 189 fillTargetPosFormationV( targetPos ); in fillTargetPos() 210 targetPos.push_back( Vector2D(0,0) ); in fillTargetPos() 222 targetPos.push_back( Vector2D(0,0) ); in fillTargetPosFormationV() 280 targetPos.push_back( Vector2D(0,0) ); in fillTargetPosFormationV() 351 targetPos.push_back( Vector2D(0,0) ); in fillTargetPosFormationReverseV() 421 targetPos.push_back( Vector2D(0,0) ); in fillTargetPosFormationBlock() [all …]
|
H A D | formation.h | 54 void fillTargetPos( vector<Vector2D> &targetPos ); 55 void fillTargetPosFormationV( vector<Vector2D> &targetPos ); 56 void fillTargetPosFormationReverseV( vector<Vector2D> &targetPos ); 57 void fillTargetPosFormationBlock( vector<Vector2D> &targetPos ); 58 void fillTargetPosFormationLine( vector<Vector2D> &targetPos ); 59 void getBestMapping( vector<Vector2D> &targetPos, 63 float calcTestMapping( int *perm, vector<Vector2D> &targetPos,
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/he/moonbase/ |
H A D | ai_defenseunit.cpp | 104 targetPos->x = x; in createTargetPos() 105 targetPos->y = y; in createTargetPos() 120 return targetPos; in createTargetPos() 227 return targetPos; in createTargetPos() 295 return targetPos; in createTargetPos() 340 return targetPos; in createTargetPos() 404 return targetPos; in createTargetPos() 442 return targetPos; in createTargetPos() 488 return targetPos; in createTargetPos() 544 return targetPos; in createTargetPos() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/ |
H A D | ai_defenseunit.cpp | 104 targetPos->x = x; in createTargetPos() 105 targetPos->y = y; in createTargetPos() 120 return targetPos; in createTargetPos() 227 return targetPos; in createTargetPos() 295 return targetPos; in createTargetPos() 340 return targetPos; in createTargetPos() 404 return targetPos; in createTargetPos() 442 return targetPos; in createTargetPos() 488 return targetPos; in createTargetPos() 544 return targetPos; in createTargetPos() [all …]
|
/dports/devel/jna/jna-5.7.0/contrib/platform/src/com/sun/jna/platform/win32/ |
H A D | OaIdlUtil.java | 194 int targetPos = subIdx[dimIdx]; in toPrimitiveArray() local 211 Array.set(targetArray, targetPos, Array.getInt(dataArray, offset)); in toPrimitiveArray() 233 Array.set(targetArray, targetPos, null); in toPrimitiveArray() 236 Array.set(targetArray, targetPos, holder.booleanValue()); in toPrimitiveArray() 240 Array.set(targetArray, targetPos, holder.byteValue()); in toPrimitiveArray() 244 Array.set(targetArray, targetPos, holder.shortValue()); in toPrimitiveArray() 250 Array.set(targetArray, targetPos, holder.intValue()); in toPrimitiveArray() 256 Array.set(targetArray, targetPos, holder.floatValue()); in toPrimitiveArray() 259 Array.set(targetArray, targetPos, holder.doubleValue()); in toPrimitiveArray() 262 Array.set(targetArray, targetPos, holder.dateValue()); in toPrimitiveArray() [all …]
|
/dports/astro/stellarium/stellarium-0.21.3/src/gui/ |
H A D | Dialog.cpp | 43 QPoint targetPos = p->pos() + dpos; in mouseMoveEvent() local 49 if (targetPos.x() < leftBoundX) in mouseMoveEvent() 50 targetPos.setX(leftBoundX); in mouseMoveEvent() 51 else if (targetPos.x() > rightBoundX) in mouseMoveEvent() 52 targetPos.setX(rightBoundX); in mouseMoveEvent() 55 if (targetPos.y() < 0) in mouseMoveEvent() 56 targetPos.setY(0); in mouseMoveEvent() 57 else if (targetPos.y() > lowerBoundY) in mouseMoveEvent() 58 targetPos.setY(lowerBoundY); in mouseMoveEvent() 60 p->move(targetPos); in mouseMoveEvent()
|
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/ |
H A D | SwiftNativeInputStream.java | 300 public synchronized void seek(long targetPos) throws IOException { in seek() argument 301 if (targetPos < 0) { in seek() 307 long offset = targetPos - pos; in seek() 309 LOG.debug("Seek to " + targetPos + "; current pos =" + pos in seek() 326 pos, targetPos, offset, rangeOffset); in seek() 334 if (targetPos - pos == 0) { in seek() 345 innerClose("seeking to " + targetPos); in seek() 346 fillBuffer(targetPos); in seek() 356 private void fillBuffer(long targetPos) throws IOException { in fillBuffer() argument 357 long length = targetPos + bufferSize; in fillBuffer() [all …]
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/network/ |
H A D | network_interface.h | 96 Vec2i targetPos; 114 this->targetPos = targetPos; in MarkedCell() 121 MarkedCell(Vec2i targetPos,int factionIndex,string note, int playerIndex) { in MarkedCell() argument 122 this->targetPos = targetPos; in MarkedCell() 130 Vec2i getTargetPos() const { return targetPos; } in getTargetPos() 146 Vec2i targetPos; 155 UnMarkedCell(Vec2i targetPos,const Faction *faction) { in UnMarkedCell() argument 156 this->targetPos = targetPos; in UnMarkedCell() 160 UnMarkedCell(Vec2i targetPos,int factionIndex) { in UnMarkedCell() argument 161 this->targetPos = targetPos; in UnMarkedCell() [all …]
|
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/ |
H A D | Duck.cpp | 288 CoordsXY targetPos = pos; in Create() local 291 targetPos.x += offsetXY; in Create() 292 targetPos.y += offsetXY; in Create() 297 duck->target_x = targetPos.x; in Create() 298 duck->target_y = targetPos.y; in Create() 303 targetPos.x = 8191 - (scenario_rand() & 0x3F); in Create() 306 targetPos.y = scenario_rand() & 0x3F; in Create() 309 targetPos.x = scenario_rand() & 0x3F; in Create() 312 targetPos.y = 8191 - (scenario_rand() & 0x3F); in Create() 316 duck->MoveTo({ targetPos.x, targetPos.y, 496 }); in Create()
|
/dports/devel/bullet/bullet3-3.21/examples/BulletRobotics/ |
H A D | BoxStack.cpp | 102 float targetPos[3] = {-0.2, 0.8, 0.3}; in resetCamera() local 104 m_guiHelper->resetCamera(dist, yaw, pitch, targetPos[0], targetPos[1], targetPos[2]); in resetCamera() 111 …p->m_renderer->getActiveCamera()->setCameraTargetPosition(targetPos[0], targetPos[1], targetPos[2]… in resetCamera()
|
/dports/devel/py-bullet3/bullet3-3.21/examples/BulletRobotics/ |
H A D | BoxStack.cpp | 102 float targetPos[3] = {-0.2, 0.8, 0.3}; in resetCamera() local 104 m_guiHelper->resetCamera(dist, yaw, pitch, targetPos[0], targetPos[1], targetPos[2]); in resetCamera() 111 …p->m_renderer->getActiveCamera()->setCameraTargetPosition(targetPos[0], targetPos[1], targetPos[2]… in resetCamera()
|
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/cdogs/ |
H A D | ai_utils.c | 681 if (pos.x < targetPos.x) in AIHunt() 683 else if (pos.x > targetPos.x) in AIHunt() 688 if (pos.y < targetPos.y) in AIHunt() 690 else if (pos.y > targetPos.y) in AIHunt() 703 struct vec2 targetPos = actor->Pos; in AIHuntClosest() local 715 targetPos = a->Pos; in AIHuntClosest() 718 return AIHunt(actor, targetPos); in AIHuntClosest() 742 cmd = AIRetreatFrom(a, targetPos); in AIAttack() 752 cmd = AIHunt(a, targetPos); in AIAttack() 763 cmd = AIHunt(a, targetPos); in AIAttack() [all …]
|
/dports/games/spring/spring_98.0/rts/Sim/Weapons/ |
H A D | Weapon.cpp | 102 CR_MEMBER(targetPos), 180 targetPos(OnesVector) in CWeapon() 273 … " << weaponPos.y << " " << weaponPos.z << " " << targetPos.x << " " << targetPos.y << " " << targ… in Update() 314 …targetPos.y = std::max(targetPos.y, CGround::GetApproximateHeight(targetPos.x, targetPos.z) + 2.0f… in UpdateTargeting() 315 targetPos.y = std::max(targetPos.y, targetPos.y * weaponDef->waterweapon); in UpdateTargeting() 590 targetPos = newTargetPos; in AttackGround() 654 …targetPos.y = std::max(targetPos.y, CGround::GetApproximateHeight(targetPos.x, targetPos.z) + 2.0f… in AttackUnit() 796 targetPos = nextTargetPos; in AutoTarget() 876 targetPos = targetErrPos; in SlowUpdate() 883 targetPos = slavedTo->targetPos; in SlowUpdate() [all …]
|
H A D | BombDropper.cpp | 50 targetPos = targetUnit->pos; in Update() 53 predict = GetPredictedImpactTime(targetPos); in Update() 96 if (weaponPos.y <= targetPos.y) in CanFire() 118 const float torpDist = torpMoveRange * (owner->frontdir.dot(targetPos - owner->pos) > 0.0f); in CanFire() 120 return (dropPos.SqDistance2D(targetPos) < Square(dropDist + torpDist)); in CanFire() 127 targetPos = targetUnit->pos; in FireImpl() 135 launchSpeed = (targetPos - weaponPos).Normalize() * 5.0f; in FireImpl() 140 params.end = targetPos; in FireImpl() 149 float3 dif = (targetPos - weaponPos) * XZVector; in FireImpl()
|
/dports/deskutils/kmail/kmail-21.12.3/src/kontactplugin/summary/ |
H A D | summaryview_part.cpp | 282 int targetPos = mLeftColumn->indexOf(target); in drawLtoR() local 283 if (targetPos != -1) { in drawLtoR() 285 targetPos++; in drawLtoR() 288 mLeftColumn->insertWidget(targetPos, widget); in drawLtoR() 291 targetPos = mRightColumn->indexOf(target); in drawLtoR() 294 targetPos++; in drawLtoR() 340 int targetPos = mRightColumn->indexOf(target); in drawRtoL() local 341 if (targetPos != -1) { in drawRtoL() 343 targetPos++; in drawRtoL() 349 targetPos = mLeftColumn->indexOf(target); in drawRtoL() [all …]
|
/dports/multimedia/subtitlecomposer/subtitlecomposer-0.7.1/src/widgets/ |
H A D | attachablewidget.cpp | 140 QPoint targetPos = m_targetWidget->mapToGlobal(QPoint(0, 0)); in toggleVisible() local 143 …m_animFinalY = m_place == Top ? targetPos.y() : targetPos.y() + m_targetWidget->height() - height(… in toggleVisible() 147 …m_animFinalY = m_place == Top ? targetPos.y() - height() : targetPos.y() + m_targetWidget->height(… in toggleVisible() 153 move(targetPos.x(), m_animCurrentY); in toggleVisible() 159 move(targetPos.x(), m_animFinalY); in toggleVisible()
|
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/WeaponProjectiles/ |
H A D | WeaponProjectile.cpp | 24 CR_MEMBER(targetPos), 61 , targetPos(params.end) in CWeaponProjectile() 83 SetVelocityAndSpeed(targetPos - startPos); in CWeaponProjectile() 88 SetRadiusAndHeight((targetPos - startPos).Length(), 0.0f); in CWeaponProjectile() 138 interceptHandler.AddInterceptTarget(this, targetPos); in CWeaponProjectile() 192 impactDir = targetPos - startPos; in Collision() 200 impactPos = targetPos; in Collision() 201 impactDir = targetPos - startPos; in Collision() 216 impactDir = targetPos - startPos; in Collision() 247 targetPos = po->pos + po->speed; in UpdateInterception() [all …]
|
/dports/biology/mmseqs2/MMseqs2-13-45111/src/alignment/ |
H A D | MultipleAlignment.cpp | 54 size_t targetPos = 0; in computeQueryGaps() local 57 targetPos = alignment.dbStartPos; in computeQueryGaps() 63 ++targetPos; in computeQueryGaps() 71 ++targetPos; in computeQueryGaps() 109 unsigned int targetPos = result.dbStartPos; in updateGapsInSequenceSet() local 111 if(targetPos == UINT_MAX) { in updateGapsInSequenceSet() 142 targetPos++; in updateGapsInSequenceSet() 152 edgeSeqMSA[bufferPos] = subMat->num2aa[edgeSeq[targetPos]]; in updateGapsInSequenceSet() 155 targetPos++; in updateGapsInSequenceSet() 168 edgeSeqMSA[bufferPos] = subMat->num2aa[edgeSeq[targetPos]]; in updateGapsInSequenceSet() [all …]
|
/dports/games/spring/spring_98.0/rts/Game/ |
H A D | FPSUnitController.cpp | 25 , targetPos(FwdVector) in FPSUnitController() 58 targetPos = hitUnit->pos; in Update() 68 targetPos = pos + viewDir * targetDist; in Update() 75 if ((targetPos.y - CGround::GetHeightReal(targetPos.x, targetPos.z)) <= SQUARE_SIZE) { in Update() 76 controllee->AttackGround(targetPos, true, true, true); in Update()
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/BA/ |
H A D | defendbehaviour.lua | 90 local targetPos = self.target.position or BehaviourPosition(self.target.behaviour) 91 if targetPos == nil then return end 92 targetPos.y = 0 95 local guardPos = RandomAway(targetPos, guardDistance, false, self.guardAngle) 124 …if self.moving.x ~= targetPos.x or self.moving.z ~= targetPos.z or (self.unmoved > 5 and boredNow)… 126 self.moving.x = targetPos.x 127 self.moving.z = targetPos.z 174 self.targetPos = nil 184 self.targetPos = nil
|
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/gui/ |
H A D | gui.cpp | 473 Vec2i targetPos; in giveDefaultOrders() local 479 giveDefaultOrders(targetPos.x,targetPos.y,targetUnit,true); in giveDefaultOrders() 523 Vec2i targetPos; in giveTwoClickOrders() local 525 targetPos=Vec2i(x, y); in giveTwoClickOrders() 1204 targetPos=Vec2i(targetPos.x+x,targetPos.y+y); in computeTarget() 1227 int tx= targetPos.x; in computeTarget() 1228 int ty= targetPos.y; in computeTarget() 1260 targetPos= testIt; in computeTarget() 1279 targetPos= testIt; in computeTarget() 1298 targetPos= testIt; in computeTarget() [all …]
|
/dports/biology/seqan-apps/seqan-seqan-v2.4.0/apps/mason2/ |
H A D | genomic_variants.cpp | 66 return targetPos; in endPosition() 68 return targetPos; in endPosition() 92 query == targetPos || query == targetPos + 1); in nearBreakend() 95 query == targetPos || query == targetPos + 1); in nearBreakend() 124 << ", targetRId=" << record.targetRId << ", targetPos=" << record.targetPos in operator <<() 424 if (svRecord.targetPos != -1) in _materializeLargeVariants() 425 svRecord.targetPos = hostToVirtualPosition(journal, svRecord.targetPos); in _materializeLargeVariants() 539 SEQAN_ASSERT_GEQ(svRecord.targetPos, svRecord.pos + svRecord.size); in _materializeLargeVariants() 564 lastPos = svRecord.targetPos; in _materializeLargeVariants() 576 int bpRight = svRecord.targetPos; in _materializeLargeVariants() [all …]
|
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/gym/pybullet_examples/ |
H A D | snake.py | 124 targetPos = math.sin(phase) * scaleStart * m_waveAmplitude variable 127 if (m_steering > 0 and targetPos < 0): 128 targetPos *= 1.0 / (1.0 + m_steering) 130 if (m_steering < 0 and targetPos > 0): 131 targetPos *= 1.0 / (1.0 - m_steering) 137 targetPosition=targetPos + m_steering,
|
/dports/devel/py-bullet3/bullet3-3.21/examples/pybullet/examples/ |
H A D | snake.py | 124 targetPos = math.sin(phase) * scaleStart * m_waveAmplitude variable 127 if (m_steering > 0 and targetPos < 0): 128 targetPos *= 1.0 / (1.0 + m_steering) 130 if (m_steering < 0 and targetPos > 0): 131 targetPos *= 1.0 / (1.0 - m_steering) 137 targetPosition=targetPos + m_steering,
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/include/ |
H A D | mobj.h | 189 mobj_t *P_LaunchMissile(mobj_t *missile, angle_t angle, coord_t const targetPos[3], 209 …sileAtAngle2(mobj_t *mob, mobj_t *missile, angle_t angle, coord_t const targetPos[3], coord_t cons… 210 …sileAtAngle (mobj_t *mob, mobj_t *missile, angle_t angle, coord_t const targetPos[3], coord_t cons… 226 mobj_t *Mobj_LaunchMissile2(mobj_t *mob, mobj_t *missile, coord_t const targetPos[3], coord_t const… 227 mobj_t *Mobj_LaunchMissile (mobj_t *mob, mobj_t *missile, coord_t const targetPos[3], coord_t const…
|