![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "LongPathfinder.h"#include "graphics/SColor.h"#include "maths/Fixed.h"#include "maths/FixedVector2D.h"#include "ps/CLogger.h"#include "ps/Profiler2.h"#include "renderer/TerrainOverlay.h"#include "simulation2/helpers/HierarchicalPathfinder.h"#include "simulation2/helpers/Pathfinding.h"#include <algorithm>#include <bit>#include <cmath>#include <cstddef>#include <mutex>#include <utility>
Classes | |
| class | JumpPointCache |
| Jump point cache. More... | |
| struct | JumpPointCache::RowRaw |
| Simple space-inefficient row storage. More... | |
| struct | JumpPointCache::RowTree |
| struct | JumpPointCache::RowTree::Interval |
| Represents an interval [u15 x0, u16 x1) with a boolean obstruction flag, packed into a single std::uint32_t. More... | |
Namespaces | |
| namespace | anonymous_namespace{LongPathfinder.cpp} |
Macros | |
| #define | TERRAIN_IS_PASSABLE(i, j) |
| #define | PASSABLE(i, j) IS_PASSABLE(state.terrain->get(i, j), state.passClass) |
Functions | |
| void | anonymous_namespace{LongPathfinder.cpp}::BuildTextureRGBA (LongPathfinder &pathfinder, std::uint8_t *data, std::size_t w, std::size_t h) |
| bool | OnTheWay (int i, int j, int di, int dj, int iGoal, int jGoal) |
| bool | InRegion (std::uint16_t i, std::uint16_t j, CircularRegion region) |
Variables | |
| static std::mutex | anonymous_namespace{LongPathfinder.cpp}::g_DebugMutex |
| #define PASSABLE | ( | i, | |
| j | |||
| ) | IS_PASSABLE(state.terrain->get(i, j), state.passClass) |
| #define TERRAIN_IS_PASSABLE | ( | i, | |
| j | |||
| ) |
|
inline |
|
inline |