Home
last modified time | relevance | path

Searched refs:PathFree (Results 1 – 25 of 42) sorted by relevance

12

/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/Vehicles.ocd/
H A DScript.c144 if (fx.time >= fx.aim_time + fx.aim_wait && PathFree(x, y - 20, x + dx, y + dy - 20)) in ExecuteCatapult()
255 …ance(fx.target) > AirshipOccludedTargetMaxDistance && !PathFree(vx - 30, vy, tx, ty) && !PathFree(… in GetAirshipBoardingPoint()
281 if (PathFree(vx, vy, gx, gy)) in GetAirshipBoardingPoint()
292 if (PathFree(vx - 30, vy, gx, gy) || PathFree(vx + 30, vy, gx, gy)) in GetAirshipBoardingPoint()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Goals.ocd/Defense.ocd/System.ocd/System.ocg/
H A DAttackTarget.c12 if (target && PathFree(attacker->GetX(), attacker->GetY(), target->GetX(), target->GetY())) in GetRandomAttackTarget()
27 if (target && PathFree(attacker->GetX(), attacker->GetY(), target->GetX(), target->GetY())) in GetRandomSiegeTarget()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/System.ocg/
H A DFindLocation.c323 if (dirs & CNAT_Top) if (!PathFree(cx,y,cx,y-dist)) return false; in FindLocationConditionCheckIsValid()
324 if (dirs & CNAT_Bottom) if (!PathFree(cx,y,cx,y+dist)) return false; in FindLocationConditionCheckIsValid()
325 if (dirs & CNAT_Left) if (!PathFree(x,cy,x-dist,cy)) return false; in FindLocationConditionCheckIsValid()
326 if (dirs & CNAT_Right) if (!PathFree(x,cy,x+dist,cy)) return false; in FindLocationConditionCheckIsValid()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/Hideout.ocs/SlowGem.ocd/
H A DScript.c87 if (!PathFree(x, y, x + xoff, y + yoff)) continue; in FxGemSlowFieldTimer()
93 if (!PathFree(x, y, obj->GetX(), obj->GetY())) continue; in FxGemSlowFieldTimer()
/dports/games/openclonk/openclonk-release-8.1-src/src/landscape/
H A DC4PathFinder.cpp106 …bool PathFree(int32_t &rX, int32_t &rY, int32_t iToX, int32_t iToY, C4TransferZone **ppZone = null…
177 else if (PathFree(X2,Y2,TargetX,TargetY,&pZone)) in Execute()
244 if (!PathFree(iX,iY,X2,Y2)) in Execute()
253 if ( PathFree(iX,iY,TargetX,TargetY) in Execute()
315 bool C4PathFinderRay::PathFree(int32_t &rX, int32_t &rY, int32_t iToX, int32_t iToY, C4TransferZone… in PathFree() function in C4PathFinderRay
520 if (PathFree(iX,iY,pRay->X,pRay->Y)) in CheckBackRayShorten()
H A DC4Landscape.h189 bool PathFree(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
190 bool PathFree(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t *ix, int32_t *iy);
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/TargetFinding.ocd/
H A DScript.c16 if (fx.ranged || PathFree(fx.Target->GetX(), fx.Target->GetY(), target->GetX(), target->GetY())) in FindTarget()
31 if (PathFree(fx.Target->GetX(), fx.Target->GetY(), target->GetX(), target->GetY())) in FindEmergencyTarget()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/Hideout.ocs/PyreGem.ocd/
H A DScript.c98 if (!PathFree(x, y, x + xoff, y + yoff)) continue; in FxGemPyreTimer()
111 if (PathFree(x, y, obj->GetX(), obj->GetY())) in FxGemPyreTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Goals.ocd/Defense.ocd/DefenseBoomAttack.ocd/
H A DScript.c136 …if (!PathFree(this.target->GetX(), this.target->GetY(), Target->GetX(), Target->GetY())/* && !Targ…
147 …if (!PathFree(Target->GetX(), Target->GetY(), way_x, way_y) || !PathFree(this.target->GetX(), this…
213 …if (attack_target && PathFree(Target->GetX(), Target->GetY(), attack_target->GetX(), attack_target…
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Animals.ocd/Bat.ocd/
H A DScript.c99 …if (!PathFree(GetX(), GetY(), effect.last_cave[0], effect.last_cave[1]) || Distance(GetX(), GetY()… in FxCoreBehaviorTimer()
132 if (!PathFree(GetX(), GetY(), danger->GetX(), danger->GetY())) in FxCoreBehaviorTimer()
149 …, effect.attack_target->GetX(), effect.attack_target->GetY()) > 200 || !PathFree(GetX(), GetY(), e… in FxCoreBehaviorTimer()
173 …if (possible_prey && PathFree(GetX(), GetY(), possible_prey->GetX(), possible_prey->GetY()) && Wil… in FxCoreBehaviorTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/MeleeWeapons.ocd/
H A DScript.c25 if (Abs(dx) <= 10 && PathFree(x, y, tx, ty)) in ExecuteMelee()
83 if (Abs(dx) <= 10 && PathFree(x,y,tx,ty)) in ExecuteClub()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Defense.ocf/Windmill.ocs/CustomAI.ocd/
H A DScript.c194 if (Abs(dx) <= 10 && PathFree(x, y, tx, ty)) in ExecuteMelee()
282 …if (!Random(50) || !PathFree(fx.Target->GetX(), fx.Target->GetY(), fx.target->GetX(), fx.target->G… in ExecuteRanged()
320 if (PathFree(x, y, tx, ty)) in ExecuteRanged()
372 if (PathFree(x,y,tx,ty)) in ExecuteThrow()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Animals.ocd/Shark.ocd/
H A DScript.c29 … != "Swim" && target->GetAction() != "Jump") || !target->GetAlive() || !PathFree(GetX(), GetY(), t… in Attack()
94 if (PathFree(GetX(), GetY(), target->GetX(), target->GetY())) in Activity()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/FrozenFortress.ocs/Scrolls.ocd/WindScroll.ocd/
H A DScript.c52 if(PathFree(x,y,obj->GetX(),obj->GetY())) in FxWindScrollStormTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/ThunderousSkies.ocs/Scrolls.ocd/WindScroll.ocd/
H A DScript.c54 if(PathFree(x,y,obj->GetX(),obj->GetY())) in FxWindScrollStormTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/Overcast.ocs/Scrolls.ocd/WindScroll.ocd/
H A DScript.c54 if(PathFree(x,y,obj->GetX(),obj->GetY())) in FxWindScrollStormTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Parkour.ocf/ShiverPeak.ocs/
H A DScript.c18 while (PathFree(0, fy + 20, LandscapeWidth(), fy + 20) && fy < LandscapeHeight()) in Initialize()
/dports/games/openclonk/openclonk-release-8.1-src/src/object/
H A DC4Shape.cpp263 if (PathFree(tx,ty,VtxX[cvtx+ld],VtxY[cvtx+ld],&ix,&iy)) in LineConnect()
279 if (PathFree(cix,ciy,tx,ty) && PathFree(cix,ciy,VtxX[cvtx+ld],VtxY[cvtx+ld])) in LineConnect()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Goals.ocd/Defense.ocd/DefenseAI.ocd/
H A DScript.c97 …if (!Random(40) && !PathFree(fx.Target->GetX(), fx.Target->GetY(), fx.target->GetX(), fx.target->G… in ExecuteBomber()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Animals.ocd/Squid.ocd/
H A DScript.c232 if (!PathFree(GetX(), GetY(), obj->GetX(), obj->GetY())) continue; in UpdateVisionFor()
435 if (!PathFree(fx.x, fx.y, clonk->GetX(), clonk->GetY())) continue; in FxIntInkBlobTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/RangedWeapons.ocd/
H A DScript.c75 if (PathFree(x, y, tx, ty)) in ExecuteRanged()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Missions.ocf/Skylands.ocs/Storm.ocd/
H A DScript.c277 if (!PathFree(x,y,obj->GetX(),obj->GetY())) continue; // don't push through solid in ExecuteStream()
334 return PathFree(x,y,tx,ty); in StreamCheckPathFree()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Arena.ocf/HotIce.ocs/
H A DScript.c461 return PathFree(x-5, y, x+5, y) && PathFree(x, y-21, x, y-1); in IsStartSpot()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Tutorials.ocf/Tutorial07.ocs/System.ocg/
H A DDlgPilot.c93 if (!PathFree(gem->GetX(), gem->GetY(), to_x, to_y) || gem->Stuck()) in FxIntPilotTimer()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/Protection.ocd/
H A DScript.c50 if (!PathFree(fx.Target->GetX(), fx.Target->GetY(), obj->GetX(), obj->GetY())) in ExecuteProtection()

12