/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Activities/ |
H A D | HarvestResource.cs | 30 readonly CPos targetCell; field in OpenRA.Mods.Common.Activities.HarvestResource 33 public HarvestResource(Actor self, CPos targetCell) in HarvestResource() argument 42 this.targetCell = targetCell; in HarvestResource() 51 claimLayer.TryClaimCell(self, targetCell); in OnFirstRun() 60 if (self.Location != targetCell) in Tick() 63 n.MovingToResources(self, targetCell); in Tick() 65 QueueChild(move.MoveTo(targetCell, 0)); in Tick() 112 yield return new TargetLineNode(Target.FromCell(self.World, targetCell), Color.Crimson); in TargetLineNodes()
|
H A D | Resupply.cs | 123 var targetCell = self.World.Map.CellContaining(host.Actor.CenterPosition); in Tick() 130 QueueChild(move.MoveTo(targetCell)); in Tick() 135 transport.RequestTransport(self, targetCell); in Tick()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/ |
H A D | Wanders.cs | 77 var targetCell = PickTargetLocation(); in TickIdle() 78 if (targetCell != CPos.Zero) in TickIdle() 79 DoAction(self, targetCell); in TickIdle() 90 var targetCell = self.World.Map.CellContaining(target); in PickTargetLocation() 92 if (!self.World.Map.Contains(targetCell)) in PickTargetLocation() 104 return targetCell; in PickTargetLocation() 107 public virtual void DoAction(Actor self, CPos targetCell) in DoAction() argument 109 move.ResolveOrder(self, new Order("Move", self, Target.FromCell(self.World, targetCell), false)); in DoAction()
|
H A D | AttackWander.cs | 33 public override void DoAction(Actor self, CPos targetCell) in DoAction() argument 35 ….ResolveOrder(self, new Order("AttackMove", self, Target.FromCell(self.World, targetCell), false)); in DoAction()
|
H A D | CarryableHarvester.cs | 32 void INotifyHarvesterAction.MovingToResources(Actor self, CPos targetCell) in INotifyHarvesterAction.MovingToResources() argument 35 t.RequestTransport(self, targetCell); in INotifyHarvesterAction.MovingToResources()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Warheads/ |
H A D | FireClusterWarhead.cs | 54 var targetCell = map.CellContaining(target.CenterPosition); in DoImpact() 57 var targetCells = CellsMatching(targetCell, false); in DoImpact() 63 var randomTargetCells = CellsMatching(targetCell, true); in DoImpact() 71 …void FireProjectileAtCell(Map map, Actor firedBy, Target target, CPos targetCell, IEnumerable<int>… in FireProjectileAtCell() argument 73 var tc = Target.FromCell(firedBy.World, targetCell); in FireProjectileAtCell() 81 Facing = (map.CenterOfCell(targetCell) - target.CenterPosition).Yaw.Facing, in FireProjectileAtCell() 90 PassiveTarget = map.CenterOfCell(targetCell), in FireProjectileAtCell()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/ |
H A D | XcosRoute.java | 70 mxICell targetCell = link.getTarget(); in updateRoute() local 72 if (sourceCell != null && targetCell != null) { in updateRoute() 98 if (!(sourceCell instanceof BasicPort) || !(targetCell instanceof BasicPort)) { in computeRoute() 117 state = graph.getView().getState(targetCell); in computeRoute() 121 BasicPort targetPort = (BasicPort) targetCell; in computeRoute() 130 if (targetCell.getParent() instanceof SplitBlock) { in computeRoute() 131 tgtx = targetCell.getParent().getGeometry().getCenterX(); in computeRoute() 132 tgty = targetCell.getParent().getGeometry().getCenterY(); in computeRoute() 153 if (targetCell.getParent() instanceof SplitBlock) { in computeRoute() 155 targetPortOrien = ((BasicPort) targetCell).getOrientation(); in computeRoute() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/ |
H A D | battle_pathfinding.cpp | 53 bool ArenaPathfinder::hexIsPassable( int targetCell ) const in hexIsPassable() 55 const size_t index = static_cast<size_t>( targetCell ); in hexIsPassable() 78 Indexes ArenaPathfinder::buildPath( int targetCell ) const in buildPath() 82 if ( static_cast<size_t>( targetCell ) >= _cache.size() ) in buildPath() 85 int currentNode = targetCell; in buildPath() 96 Indexes ArenaPathfinder::findTwoMovesOverlap( int targetCell, uint32_t movementRange ) const in findTwoMovesOverlap() argument 99 if ( static_cast<size_t>( targetCell ) >= _cache.size() ) in findTwoMovesOverlap() 102 const uint32_t pathCost = _cache[targetCell]._cost; in findTwoMovesOverlap() 106 int currentNode = targetCell; in findTwoMovesOverlap()
|
H A D | battle_pathfinding.h | 62 Indexes buildPath( int targetCell ) const; 63 Indexes findTwoMovesOverlap( int targetCell, uint32_t movementRange ) const; 64 bool hexIsPassable( int targetCell ) const;
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/BA/ |
H A D | reclaimbehaviour.lua | 82 self.targetCell = nil 97 self.targetResurrection, self.targetCell = ai.targethandler:WreckToResurrect(unit) 99 self.targetCell = ai.targethandler:GetBestReclaimCell(unit) 106 if self.targetCell ~= nil then 116 if self.targetCell ~= nil then 117 local cell = self.targetCell
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/SupportPowers/ |
H A D | ChronoshiftPower.cs | 85 var targetCell = target.Location + targetDelta; in Activate() 87 if (self.Owner.Shroud.IsExplored(targetCell) && cs.CanChronoshiftTo(target, targetCell)) in Activate() 88 cs.Teleport(target, targetCell, info.Duration, info.KillCargo, self); in Activate() 285 var targetCell = unit.Location + (xy - sourceLocation); in RenderAboveShroud() 286 var canEnter = manager.Self.Owner.Shroud.IsExplored(targetCell) && in RenderAboveShroud() 287 unit.Trait<Chronoshiftable>().CanChronoshiftTo(unit, targetCell); in RenderAboveShroud() 289 …yield return new SpriteRenderable(tile, wr.World.Map.CenterOfCell(targetCell), WVec.Zero, -511, pa… in RenderAboveShroud() 330 var targetCell = unit.Location + (xy - sourceLocation); in IsValidTarget() 331 …manager.Self.Owner.Shroud.IsExplored(targetCell) && unit.Trait<Chronoshiftable>().CanChronoshiftTo… in IsValidTarget()
|
/dports/graphics/heimer/Heimer-3.0.0/src/ |
H A D | layout_optimizer.cpp | 147 newCost -= change.targetCell->getCost(); in optimize() 155 newCost += change.targetCell->getCost(); in optimize() 245 std::shared_ptr<Cell> targetCell; member 258 change.sourceRow->cells.at(change.sourceIndex) = change.targetCell; in doChange() 263 change.targetCell->pushRect(); in doChange() 264 …change.targetCell->rect.x = change.sourceRow->rect.x + static_cast<int>(change.sourceIndex) * Cons… in doChange() 265 change.targetCell->rect.y = change.sourceRow->rect.y; in doChange() 271 change.targetRow->cells.at(change.targetIndex) = change.targetCell; in undoChange() 273 change.targetCell->popRect(); in undoChange() 302 change.targetCell = change.targetRow->cells.at(change.targetIndex); in planChange() [all …]
|
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/ |
H A D | SyncTable.java | 458 Cell targetCell = targetCells.nextCellInRow(); in syncRowCells() local 459 while (sourceCell != null || targetCell != null) { in syncRowCells() 479 LOG.debug("Source missing cell: " + targetCell); in syncRowCells() 489 delete.addColumn(CellUtil.cloneFamily(targetCell), in syncRowCells() 490 CellUtil.cloneQualifier(targetCell), targetCell.getTimestamp()); in syncRowCells() 493 targetCell = targetCells.nextCellInRow(); in syncRowCells() 496 if (CellUtil.matchingValue(sourceCell, targetCell)) { in syncRowCells() 504 LOG.debug(" target cell: " + targetCell in syncRowCells() 505 + " value: " + Bytes.toHex(targetCell.getValueArray(), in syncRowCells() 506 targetCell.getValueOffset(), targetCell.getValueLength())); in syncRowCells() [all …]
|
/dports/java/jgraph/jgraph-java-5.13.0.4/examples/com/jgraph/example/adapter/ |
H A D | JGraphSQLQueryPane.java | 197 Object targetCell = bm in JGraphSQLQueryPane() 199 if (targetCell == null in JGraphSQLQueryPane() 202 targetCell = ((JGraphSQLBackend) bm in JGraphSQLQueryPane() 209 targetCell, in JGraphSQLQueryPane() 219 newCells.add(targetCell); in JGraphSQLQueryPane() 222 targetCell, 0), false); in JGraphSQLQueryPane()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/ |
H A D | ai_normal_battle.cpp | 107 int32_t targetCell = -1; in FindMoveToRetreat() local 127 if ( targetCell == -1 || cellThreatLevel < lowestThreat ) { in FindMoveToRetreat() 129 targetCell = moveIndex; in FindMoveToRetreat() 132 return targetCell; in FindMoveToRetreat() 138 int32_t targetCell = -1; in FindNextTurnAttackMove() local 154 …if ( targetCell == -1 || cellThreatLevel < lowestThreat || std::fabs( cellThreatLevel ) < 0.001 ) { in FindNextTurnAttackMove() 156 targetCell = moveIndex; in FindNextTurnAttackMove() 159 return targetCell; in FindNextTurnAttackMove() 716 int targetCell = -1; in berserkTurn() local 720 targetCell = cell; in berserkTurn() [all …]
|
H A D | ai_normal.h | 62 …void updateOutcome( const double potentialValue, const int32_t targetCell, const bool isMassEffect… 69 cell = targetCell;
|
/dports/science/libgeodecomp/libgeodecomp-0.4.0/src/examples/ants/ |
H A D | main.cpp | 57 Cell targetCell = neighborhood[target]; in update() local 58 if ((targetCell.state == EMPTY) || in update() 59 (targetCell.state == FOOD && in update() 63 if (targetCell.state == FOOD && state == BUSY_ANT) { in update()
|
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/ |
H A D | TestSyncTable.java | 144 Cell targetCell = targetCells[j]; in assertEqualTables() local 146 if (!CellUtil.matchingRow(sourceCell, targetCell)) { in assertEqualTables() 149 if (!CellUtil.matchingFamily(sourceCell, targetCell)) { in assertEqualTables() 152 if (!CellUtil.matchingQualifier(sourceCell, targetCell)) { in assertEqualTables() 155 if (!CellUtil.matchingTimestamp(sourceCell, targetCell)) { in assertEqualTables() 158 if (!CellUtil.matchingValue(sourceCell, targetCell)) { in assertEqualTables() 162 LOG.debug("Source cell: " + sourceCell + " target cell: " + targetCell); in assertEqualTables()
|
/dports/editors/calligra/calligra-3.2.1/sheets/dialogs/ |
H A D | GoalSeekDialog.cpp | 58 Cell targetCell; member in GoalSeekDialog::Private 170 d->targetCell = Cell(target.firstSheet(), target.firstRange().topLeft()); in accept() 181 if (!d->targetCell.isFormula()) { in accept() 243 resultA = numToDouble(d->targetCell.value().asFloat()) - _goal; in startCalc() 250 const Formula formula = d->targetCell.formula(); in startCalc()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/SupportPowers/ |
H A D | SelectDirectionalTarget.cs | 35 CPos targetCell; field in OpenRA.Mods.Common.Traits.SelectDirectionalTarget 68 targetCell = cell; in IOrderGenerator.Order() 96 …yield return new Order(order, manager.Self, Target.FromCell(manager.Self.World, targetCell), false) in IOrderGenerator.Order()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/World/ |
H A D | PathFinder.cs | 108 var targetCell = world.Map.CellContaining(target); in FindUnitPathToRange() 115 var tilesInRange = world.Map.FindTilesInCircle(targetCell, range.Length / 1024 + 1) in FindUnitPathToRange() 131 …using (var fromDest = PathSearch.FromPoint(world, locomotor, self, source, targetCell, check).Reve… in FindUnitPathToRange()
|
/dports/science/libgeodecomp/libgeodecomp-0.4.0/src/examples/latticegas/ |
H A D | cell.h | 314 const Cell& targetCell = in update() local 318 if ((cCell.state == solid1) && (targetCell.state == liquid)) in update() 320 if ((cCell.state == solid1) && (targetCell.state == solid3)) in update() 322 if ((cCell.state == solid2) && (targetCell.state == solid1)) in update() 324 if ((cCell.state == solid3) && (targetCell.state == solid2)) in update()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/model/ |
H A D | XcosCell.java | 221 mxICell targetCell = getTarget(); in setMVCGeometry() local 225 if (targetCell != null && targetCell.getGeometry() != null) { in setMVCGeometry() 226 …targetPoint = new mxPoint(targetCell.getGeometry().getCenterX(), targetCell.getGeometry().getCente… in setMVCGeometry()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.D2k/Traits/ |
H A D | Sandworm.cs | 61 public override void DoAction(Actor self, CPos targetCell) in DoAction() argument 70 …self.QueueActivity(mobile.MoveWithinRange(Target.FromCell(self.World, targetCell, SubCell.Any), WD… in DoAction()
|
/dports/games/openra/OpenRA-release-20200503/mods/ra/maps/fort-lonestar/ |
H A D | fort-lonestar.lua | 102 SendUnits = function(entryCell, unitTypes, targetCell, extraData) 106 a.Move(targetCell) 111 a.AttackMove(targetCell)
|