Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include <CCmpPathfinder_Common.h>
Public Member Functions | |
void | ClearComputed () |
void | PrepareForComputation (u16 max) |
template<typename U > | |
void | Compute (const CCmpPathfinder &cmpPathfinder, const U &pathfinder) |
Public Attributes | |
std::vector< T > | m_Requests |
std::vector< PathResult > | m_Results |
std::atomic< size_t > | m_NextPathToCompute = 0 |
std::atomic< bool > | m_ComputeDone = true |
|
inline |
void CCmpPathfinder::PathRequests< T >::Compute | ( | const CCmpPathfinder & | cmpPathfinder, |
const U & | pathfinder | ||
) |
|
inline |
max | - if non-zero, how many paths to process. |
std::atomic<bool> CCmpPathfinder::PathRequests< T >::m_ComputeDone = true |
std::atomic<size_t> CCmpPathfinder::PathRequests< T >::m_NextPathToCompute = 0 |
std::vector<T> CCmpPathfinder::PathRequests< T >::m_Requests |
std::vector<PathResult> CCmpPathfinder::PathRequests< T >::m_Results |