Home
last modified time | relevance | path

Searched refs:goalRadius (Results 1 – 25 of 92) sorted by relevance

1234

/dports/games/spring/spring_98.0/rts/Sim/Path/Default/
H A DPathCache.cpp38 float goalRadius, in AddPath() argument
44 const boost::uint64_t hash = GetHash(strtBlock, goalBlock, goalRadius, pathType); in AddPath()
58 ci->goalRadius = goalRadius; in AddPath()
75 float goalRadius, in GetCachedPath() argument
118 boost::uint32_t goalRadius, in GetHash() argument
144 goalRadius * N*N*N; in GetHash()
157 float goalRadius, in HashCollision() argument
163 hashColl |= (ci->pathType != pathType || ci->goalRadius != goalRadius); in HashCollision()
169 GetHash(strtBlk, goalBlk, goalRadius, pathType), in HashCollision()
172 ci->goalRadius, ci->pathType, in HashCollision()
[all …]
H A DPathCache.h23 float goalRadius; member
33 float goalRadius,
40 float goalRadius,
50 boost::uint32_t goalRadius,
58 float goalRadius,
H A DPathFinderDef.cpp11 CPathFinderDef::CPathFinderDef(const float3& goalCenter, float goalRadius, float sqGoalDistance) in CPathFinderDef() argument
13 , sqGoalRadius(goalRadius * goalRadius) in CPathFinderDef()
73 float goalRadius, in CCircularSearchConstraint() argument
76 ): CPathFinderDef(goal, goalRadius, start.SqDistance2D(goal)) in CCircularSearchConstraint()
H A DIPath.h25 , goalRadius(-1.0f) in Path()
37 float goalRadius; member
H A DPathFinder.h59 float goalRadius, in GetCache() argument
72 float goalRadius, in AddCache() argument
H A DPathFinderDef.h14 CPathFinderDef(const float3& goalCenter, float goalRadius, float sqGoalDistance);
52 float goalRadius,
H A DIPathFinder.h105 float goalRadius,
115 float goalRadius,
H A DPathEstimator.h89 float goalRadius,
99 float goalRadius,
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DGroundMoveType.h28 void StartMoving(float3 pos, float goalRadius);
29 void StartMoving(float3 pos, float goalRadius, float speed) { StartMoving(pos, goalRadius); } in StartMoving() argument
61 float GetGoalRadius() const { return goalRadius; } in GetGoalRadius()
169 float goalRadius; variable
H A DClassicGroundMoveType.h20 void StartMoving(float3 pos, float goalRadius);
21 void StartMoving(float3 pos, float goalRadius, float speed);
77 float goalRadius; variable
H A DStaticMoveType.h14 void StartMoving(float3 pos, float goalRadius) {} in StartMoving() argument
15 void StartMoving(float3 pos, float goalRadius, float speed) {} in StartMoving() argument
H A DStrafeAirMoveType.h51 void StartMoving(float3 pos, float goalRadius);
52 void StartMoving(float3 pos, float goalRadius, float speed);
H A DScriptMoveType.h30 void StartMoving(float3, float goalRadius) {} in StartMoving() argument
31 void StartMoving(float3, float goalRadius, float speed) {} in StartMoving() argument
H A DHoverAirMoveType.h19 void StartMoving(float3 pos, float goalRadius);
20 void StartMoving(float3 pos, float goalRadius, float speed);
H A DMoveType.h22 virtual void StartMoving(float3 pos, float goalRadius) = 0;
23 virtual void StartMoving(float3 pos, float goalRadius, float speed) = 0;
/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/
H A DMobileCAI.h22 virtual void SetGoal(const float3& pos, const float3& curPos, float goalRadius = SQUARE_SIZE);
23 virtual void SetGoal(const float3& pos, const float3& curPos, float goalRadius, float speed);
57 float goalRadius; variable
H A DMobileCAI.cpp49 CR_MEMBER(goalRadius),
76 goalRadius(0.0f), in CMobileCAI()
97 goalRadius(0.0f), in CMobileCAI()
954 void CMobileCAI::SetGoal(const float3& pos, const float3& /*curPos*/, float goalRadius) in SetGoal() argument
956 if (pos.SqDistance(goalPos) < Square(goalRadius)) in SetGoal()
959 owner->moveType->StartMoving(goalPos = pos, this->goalRadius = goalRadius); in SetGoal()
962 void CMobileCAI::SetGoal(const float3& pos, const float3& /*curPos*/, float goalRadius, float speed) in SetGoal() argument
964 if (pos.SqDistance(goalPos) < Square(goalRadius)) in SetGoal()
967 owner->moveType->StartMoving(goalPos = pos, this->goalRadius = goalRadius, speed); in SetGoal()
985 goalRadius = 0.f; in StopMove()
H A DAirCAI.h29 void SetGoal(const float3& pos, const float3& curPos, float goalRadius = SQUARE_SIZE);
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A DAI_Howler.cpp106 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in Howler_Move()
163 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in Howler_Combat()
H A DAI_MineMonster.cpp118 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Move()
218 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Combat()
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/task/
H A Dtaskgoto.h105 Error BeamSearch(const Math::Vector &start, const Math::Vector &goal, float goalRadius);
106 …revPos, const Math::Vector &curPos, const Math::Vector &goalPos, float goalRadius, float angle, in…
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A DNPC_AI_Howler.c106 NPCS.NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in Howler_Move()
166 NPCS.NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in Howler_Combat()
H A DNPC_AI_MineMonster.c119 NPCS.NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Move()
222 NPCS.NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Combat()
/dports/games/openjk/OpenJK-07675e2/code/game/
H A DAI_MineMonster.cpp109 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Move()
209 NPCInfo->goalRadius = MAX_DISTANCE; // just get us within combat range in MineMonster_Combat()
/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DAICallback.h114 int InitPath(const float3& start, const float3& end, int pathType, float goalRadius);
118 float GetPathLength(float3 start, float3 end, int pathType, float goalRadius);

1234