载入中...
搜索中...
未找到
RTSSystemMovementInternal.h 文件参考
#include <algorithm>
#include <cmath>
#include <optional>
#include "rts/RTSSystems.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::rts
 
namespace  eve::rts::systems_internal
 

函数

float eve::rts::systems_internal::visibleHostileThreatAt (Faction &viewer, WorldPosition point)
 Observe visible hostile weapon threat at a world point using canonical faction intelligence.
 
EVENGINE_API_DOMAINS bool eve::rts::systems_internal::isFormationSegmentClear (const map::Pathfinder &pathfinder, const NavigationGrid &grid, WorldPosition from, WorldPosition to, float radius)
 
bool eve::rts::systems_internal::isFinitePosition (WorldPosition position)
 
bool eve::rts::systems_internal::isSameHandle (const ecs::EntityHandle &left, const ecs::EntityHandle &right)
 
float eve::rts::systems_internal::distanceSquared (float ax, float ay, float bx, float by)
 
bool eve::rts::systems_internal::isSharedFlowNavigationOrder (Unit &unit, const OrderRecord &order)
 Whether planning uses the shared policy, before the current group projection exists.
 
bool eve::rts::systems_internal::isSharedFlowOrder (Unit &unit, const OrderRecord &order)
 Whether motion uses a shared field instead of a radius-clear moving slot.
 
bool eve::rts::systems_internal::isMovementOrder (OrderKind kind)
 
bool eve::rts::systems_internal::isInteractionOrder (OrderKind kind)
 
float eve::rts::systems_internal::interactionArrivalRadius (Unit &unit, const OrderRecord &order)
 
std::optional< WorldPosition > eve::rts::systems_internal::entityPosition (const ecs::EntityHandle &handle)
 
WorldPosition eve::rts::systems_internal::movementGoal (Unit &unit, const OrderRecord &order)
 Resolve the current canonical movement goal without retaining entity pointers. @ownership Returns a world-position value. @thread Owner thread. @reentrancy No callbacks.
 
Result< std::optional< OrderRecord > > eve::rts::systems_internal::readCurrent (OrderComponent &orders)