_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <pathfinder.h>
Public Types | |
typedef short int | dataType |
Public Member Functions | |
pathfinder.h - The path finder headerfile. | |
template<typename T > | |
bool | Run (T &context) |
pathfinder.cpp - The path finder routines. | |
void | SetSize (unsigned int width, unsigned int height) |
void | Init () |
void | PushPos (const Vec2i &pos) |
void | PushNeighboor (const Vec2i &pos) |
void | PushUnitPosAndNeighboor (const CUnit &unit) |
bool | IsVisited (const Vec2i &pos) const |
bool | IsReached (const Vec2i &pos) const |
bool | IsInvalid (const Vec2i &pos) const |
dataType | Get (const Vec2i &pos) const |
typedef short int TerrainTraversal::dataType |
TerrainTraversal::dataType TerrainTraversal::Get | ( | const Vec2i & | pos | ) | const |
void TerrainTraversal::Init | ( | ) |
bool TerrainTraversal::IsInvalid | ( | const Vec2i & | pos | ) | const |
bool TerrainTraversal::IsReached | ( | const Vec2i & | pos | ) | const |
bool TerrainTraversal::IsVisited | ( | const Vec2i & | pos | ) | const |
void TerrainTraversal::PushNeighboor | ( | const Vec2i & | pos | ) |
void TerrainTraversal::PushPos | ( | const Vec2i & | pos | ) |
void TerrainTraversal::PushUnitPosAndNeighboor | ( | const CUnit & | unit | ) |
bool TerrainTraversal::Run | ( | T & | context | ) |
void TerrainTraversal::SetSize | ( | unsigned int | width, |
unsigned int | height | ||
) |