Home
last modified time | relevance | path

Searched refs:obstruction (Results 1 – 25 of 536) sorted by relevance

12345678910>>...22

/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/textlayout/
H A DRunAroundHelper.cpp52 void RunAroundHelper::updateObstruction(KoTextLayoutObstruction *obstruction) in updateObstruction() argument
54 QRectF obstructionLineRect = obstruction->cropToLine(m_lineRect); in updateObstruction()
128 foreach (KoTextLayoutObstruction *obstruction, m_obstructions) { in validateObstructions()
129 validateObstruction(obstruction); in validateObstructions()
135 QRectF obstructionLineRect = obstruction->cropToLine(m_lineRect); in validateObstruction()
137 m_validObstructions.append(obstruction); in validateObstruction()
174 if (obstruction->noTextAround()) { in createLineParts()
177 } else if (obstruction->textOnLeft()) { in createLineParts()
179 } else if (obstruction->textOnRight()) { in createLineParts()
181 } else if (obstruction->textOnEnoughSides()) { in createLineParts()
[all …]
H A DRunAroundHelper.h37 void updateObstruction(KoTextLayoutObstruction *obstruction);
51 void validateObstruction(KoTextLayoutObstruction *obstruction);
/dports/editors/calligra/calligra-3.2.1/libs/textlayout/
H A DRunAroundHelper.cpp56 void RunAroundHelper::updateObstruction(KoTextLayoutObstruction *obstruction) in updateObstruction() argument
58 QRectF obstructionLineRect = obstruction->cropToLine(m_lineRect); in updateObstruction()
136 foreach (KoTextLayoutObstruction *obstruction, m_obstructions) { in validateObstructions()
137 validateObstruction(obstruction); in validateObstructions()
143 QRectF obstructionLineRect = obstruction->cropToLine(m_lineRect); in validateObstruction()
145 m_validObstructions.append(obstruction); in validateObstruction()
182 if (obstruction->noTextAround()) { in createLineParts()
185 } else if (obstruction->textOnLeft()) { in createLineParts()
187 } else if (obstruction->textOnRight()) { in createLineParts()
189 } else if (obstruction->textOnEnoughSides()) { in createLineParts()
[all …]
H A DRunAroundHelper.h37 void updateObstruction(KoTextLayoutObstruction *obstruction);
51 void validateObstruction(KoTextLayoutObstruction *obstruction);
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/components/
H A DCCmpUnitMotion.cpp1475 CFixedVector2D halfSize(obstruction.hw, obstruction.hh); in IsInPointRange()
1476 …Geometry::DistanceToSquare(pos - CFixedVector2D(obstruction.x, obstruction.z), obstruction.u, obst… in IsInPointRange()
1569 CFixedVector2D halfSize(obstruction.hw, obstruction.hh); in MoveToTargetRange()
1571 goal.x = obstruction.x; in MoveToTargetRange()
1572 goal.z = obstruction.z; in MoveToTargetRange()
1574 …Geometry::DistanceToSquare(pos - CFixedVector2D(obstruction.x, obstruction.z), obstruction.u, obst… in MoveToTargetRange()
1581 …Geometry::DistanceToSquare(pos - CFixedVector2D(obstruction.x, obstruction.z), obstruction.u, obst… in MoveToTargetRange()
1600 goal.u = obstruction.u; in MoveToTargetRange()
1694 CFixedVector2D halfSize(obstruction.hw, obstruction.hh); in IsInTargetRange()
1695 …Geometry::DistanceToSquare(pos - CFixedVector2D(obstruction.x, obstruction.z), obstruction.u, obst… in IsInTargetRange()
[all …]
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/helpers/
H A DLongPathfinder.cpp89 void Get(int x, int& xp, bool& obstruction) in Get()
93 obstruction = data[x] & 1; in Get()
110 Interval(int x0, int x1, bool obstruction) in Interval()
138 data.emplace_back(x0, x1, obstruction); in SetRange()
180 void Get(int x, int& xp, bool& obstruction) in Get()
196 obstruction = interval.obstruction(); in Get()
328 bool obstruction; in GetJumpPointRight() local
341 bool obstruction; in GetJumpPointLeft() local
352 bool obstruction; in GetJumpPointUp() local
353 m_JumpPointsUp[i].Get(j, jp, obstruction); in GetJumpPointUp()
[all …]
/dports/games/openage/openage-0.3.0-1262-ga554ab49/doc/code/
H A Dpathfinding.md11 Query obstruction manager for collisions:
16 If obstruction manager detects no collision: unit walks the line.
18 find the 0. collision point (=c0), find way on outline around obstruction:
20 The new paths go to the each side of the obstruction,
/dports/games/avp/avp-20170505/src/avp/
H A Dbh_paq.c813 NPC_OBSTRUCTIONREPORT obstruction; in Execute_PAQNS_Approach() local
814 NPC_IsObstructed(sbPtr,&(paqStatusPointer->moveData),&obstruction,&destructableObject); in Execute_PAQNS_Approach()
815 if(obstruction.environment) in Execute_PAQNS_Approach()
825 if(obstruction.destructableObject) in Execute_PAQNS_Approach()
835 NPC_OBSTRUCTIONREPORT obstruction = {1,0,0}; in Execute_PAQNS_Approach() local
1022 NPC_OBSTRUCTIONREPORT obstruction; in Execute_PAQNS_Avoidance() local
1024 if(obstruction.anySingleObstruction) in Execute_PAQNS_Avoidance()
1101 NPC_OBSTRUCTIONREPORT obstruction; in Execute_PAQNS_Wander() local
1103 if((obstruction.environment)||(obstruction.otherCharacter)) in Execute_PAQNS_Wander()
1113 if(obstruction.destructableObject) in Execute_PAQNS_Wander()
[all …]
H A Dbh_near.c1150 NPC_OBSTRUCTIONREPORT obstruction; in AlienNearState_Approach() local
1152 if(obstruction.environment) in AlienNearState_Approach()
1164 } else if ((obstruction.anySingleObstruction)&&(!obstruction.otherCharacter)) { in AlienNearState_Approach()
1423 NPC_OBSTRUCTIONREPORT obstruction; in AlienNearState_Wander() local
1425 if((obstruction.environment)||(obstruction.otherCharacter)) in AlienNearState_Wander()
1437 if(obstruction.destructableObject) in AlienNearState_Wander()
1562 NPC_OBSTRUCTIONREPORT obstruction; in AlienNearState_Avoidance() local
1697 NPC_OBSTRUCTIONREPORT obstruction; in AlienNearState_Retreat() local
1699 if((obstruction.environment)||(obstruction.otherCharacter)) in AlienNearState_Retreat()
1711 if(obstruction.destructableObject) in AlienNearState_Retreat()
[all …]
H A Dbh_pred.c620 predatorStatus->obstruction.environment=0; in CreatePredoBot()
622 predatorStatus->obstruction.otherCharacter=0; in CreatePredoBot()
815 predatorStatus->obstruction.environment=0; in InitPredatorBehaviour()
817 predatorStatus->obstruction.otherCharacter=0; in InitPredatorBehaviour()
3977 …if((predatorStatusPointer->obstruction.environment)||(predatorStatusPointer->obstruction.otherChar… in Execute_PNS_Hunt()
4119 …if((predatorStatusPointer->obstruction.environment)||(predatorStatusPointer->obstruction.otherChar… in Execute_PNS_Retreat()
5788 …if((predatorStatusPointer->obstruction.environment)||(predatorStatusPointer->obstruction.otherChar… in Execute_PNS_Pathfinder()
5954 …if((predatorStatusPointer->obstruction.environment)||(predatorStatusPointer->obstruction.otherChar… in Execute_PNS_Return()
6989 NPC_OBSTRUCTIONREPORT obstruction; member
7083 COPYELEMENT_LOAD(obstruction) in LoadStrategy_Predator()
[all …]
H A Dbh_fhug.c670 NPC_OBSTRUCTIONREPORT obstruction; in Execute_FHNS_Approach() local
671 NPC_IsObstructed(sbPtr,&(fhugStatusPointer->moveData),&obstruction,&destructableObject); in Execute_FHNS_Approach()
672 if(obstruction.environment) in Execute_FHNS_Approach()
676 NPCGetAvoidanceDirection(sbPtr, &(fhugStatusPointer->moveData.avoidanceDirn),&obstruction); in Execute_FHNS_Approach()
682 if(obstruction.destructableObject) in Execute_FHNS_Approach()
698 NPC_OBSTRUCTIONREPORT obstruction = {1,0,0}; in Execute_FHNS_Approach() local
700 NPCGetAvoidanceDirection(sbPtr, &(fhugStatusPointer->moveData.avoidanceDirn),&obstruction); in Execute_FHNS_Approach()
871 NPC_OBSTRUCTIONREPORT obstruction; in Execute_FHNS_Avoidance() local
872 NPC_IsObstructed(sbPtr,&(fhugStatusPointer->moveData),&obstruction,&destructableObject); in Execute_FHNS_Avoidance()
873 if(obstruction.anySingleObstruction) in Execute_FHNS_Avoidance()
H A Dbh_xeno.c284 xenoStatus->obstruction.environment=0; in CreateXenoborg()
285 xenoStatus->obstruction.destructableObject=0; in CreateXenoborg()
286 xenoStatus->obstruction.otherCharacter=0; in CreateXenoborg()
574 xenoStatus->obstruction.environment=0; in InitXenoborgBehaviour()
575 xenoStatus->obstruction.destructableObject=0; in InitXenoborgBehaviour()
576 xenoStatus->obstruction.otherCharacter=0; in InitXenoborgBehaviour()
2489 NPC_OBSTRUCTIONREPORT obstruction; in Execute_Xeno_Avoidance() local
2491 if(obstruction.anySingleObstruction) in Execute_Xeno_Avoidance()
4989 NPC_OBSTRUCTIONREPORT obstruction; member
5106 COPYELEMENT_LOAD(obstruction)
[all …]
/dports/games/el/Eternal-Lands-1.9.5.9-1/
H A Deye_candy_wrapper.cpp150 obstruction->center.x = obstruction->obj3d->x_pos; in ec_heartbeat()
151 obstruction->center.y = obstruction->obj3d->z_pos; in ec_heartbeat()
152 obstruction->center.z = -obstruction->obj3d->y_pos; in ec_heartbeat()
173 general_obstructions_list.push_back(obstruction->obstruction); in ec_heartbeat()
175 fire_obstructions_list.push_back(obstruction->obstruction); in ec_heartbeat()
180 obstruction->center.x = obstruction->obstructing_actor->x_pos; in ec_heartbeat()
181 obstruction->center.y = ec_get_z(obstruction->obstructing_actor); in ec_heartbeat()
182 obstruction->center.z = -obstruction->obstructing_actor->y_pos; in ec_heartbeat()
189 general_obstructions_list.push_back(obstruction->obstruction); in ec_heartbeat()
765obstruction->obstruction = new ec::BoxObstruction(ec::Vec3(e3dobj->min_x, e3dobj->min_z, -e3dobj->… in ec_add_object_obstruction()
[all …]
/dports/games/nazghul/nazghul-0.7.1/src/
H A DMissile.cpp122 int obstruction = place_get_movement_cost(place, x, y, this,0); in enterTile() local
124 return ((obstruction != 20) && (dice_roll_numeric(1,100,0)>obstruction)); in enterTile()
/dports/cad/openroad/OpenROAD-2.0/src/grt/src/
H A DGrid.h161 void addObstruction(int layer, const odb::Rect& obstruction) in addObstruction() argument
163 obstructions_[layer].push_back(obstruction); in addObstruction()
168 std::pair<TILE, TILE> getBlockedTiles(const odb::Rect& obstruction,
H A DGrid.cpp108 const odb::Rect& obstruction, in getBlockedTiles() argument
116 odb::Point lower = obstruction.ll(); // lower bound of obstruction in getBlockedTiles()
117 odb::Point upper = obstruction.ur(); // upper bound of obstruction in getBlockedTiles()
/dports/lang/fpc-source/fpc-3.2.2/packages/cocoaint/src/avfoundation/
H A DAVAudioUnitGenerator.inc20 function obstruction: single; message 'obstruction';
H A DAVAudioMixerNode.inc20 function obstruction: single; message 'obstruction';
H A DAVAudioIONode.inc25 function obstruction: single; message 'obstruction';
H A DAVAudioMixing.inc40 function obstruction: single; message 'obstruction';
H A DAVAudioPlayerNode.inc40 function obstruction: single; message 'obstruction';
H A DAVAudioEnvironmentNode.inc70 function obstruction: single; message 'obstruction';
/dports/games/openage/openage-0.3.0-1262-ga554ab49/doc/reverse_engineering/game_mechanics/
H A Dpathfinding.md11 Age of Empires 2 uses three different algorithms for pathfinding plus two obstruction systems.
31 Units will split up their formation if they encounter an obstruction such as a tree.
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/
H A Dsimcb.h34 void *realm_ptr, SFMModelStruct *model, SFMModelStruct *obstruction,
/dports/editors/calligra/calligra-3.2.1/words/part/
H A DKWRootAreaProviderBase.cpp203 KoTextLayoutObstruction *obstruction = new KoTextLayoutObstruction(shape, matrix); in relevantObstructions() local
204 obstructions.append(obstruction); in relevantObstructions()

12345678910>>...22