|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <waymatrix.h>
Public Member Functions | |
| WayMatrix (World &owner, const zenkit::WayNet &dat) | |
| const WayPoint * | findWayPoint (const Tempest::Vec3 &at, const std::function< bool(const WayPoint &)> &filter) const |
| const WayPoint * | findFreePoint (const Tempest::Vec3 &at, std::string_view name, const std::function< bool(const WayPoint &)> &filter) const |
| const WayPoint * | findNextPoint (const Tempest::Vec3 &at) const |
| void | addFreePoint (const Tempest::Vec3 &pos, const Tempest::Vec3 &dir, std::string_view name) |
| void | addStartPoint (const Tempest::Vec3 &pos, const Tempest::Vec3 &dir, std::string_view name) |
| const WayPoint & | startPoint () const |
| const WayPoint & | deadPoint () const |
| void | buildIndex () |
| const WayPoint * | findWayPoint (std::string_view name) const |
| const WayPoint * | findPoint (std::string_view name, bool inexact) const |
| void | marchPoints (DbgPainter &p) const |
| WayPath | wayTo (const WayPoint **begin, size_t beginSz, const Tempest::Vec3 exactBegin, const WayPoint &end) const |
Definition at line 17 of file waymatrix.h.
| WayMatrix::WayMatrix | ( | World & | owner, |
| const zenkit::WayNet & | dat | ||
| ) |
Definition at line 13 of file waymatrix.cpp.
| void WayMatrix::addFreePoint | ( | const Tempest::Vec3 & | pos, |
| const Tempest::Vec3 & | dir, | ||
| std::string_view | name | ||
| ) |
Definition at line 102 of file waymatrix.cpp.
| void WayMatrix::addStartPoint | ( | const Tempest::Vec3 & | pos, |
| const Tempest::Vec3 & | dir, | ||
| std::string_view | name | ||
| ) |
Definition at line 106 of file waymatrix.cpp.
| void WayMatrix::buildIndex | ( | ) |
Definition at line 33 of file waymatrix.cpp.
| const WayPoint & WayMatrix::deadPoint | ( | ) | const |
Definition at line 126 of file waymatrix.cpp.
| const WayPoint * WayMatrix::findFreePoint | ( | const Tempest::Vec3 & | at, |
| std::string_view | name, | ||
| const std::function< bool(const WayPoint &)> & | filter | ||
| ) | const |
| const WayPoint * WayMatrix::findNextPoint | ( | const Tempest::Vec3 & | at | ) | const |
Definition at line 84 of file waymatrix.cpp.
| const WayPoint * WayMatrix::findPoint | ( | std::string_view | name, |
| bool | inexact | ||
| ) | const |
Definition at line 143 of file waymatrix.cpp.
| const WayPoint * WayMatrix::findWayPoint | ( | const Tempest::Vec3 & | at, |
| const std::function< bool(const WayPoint &)> & | filter | ||
| ) | const |
| const WayPoint * WayMatrix::findWayPoint | ( | std::string_view | name | ) | const |
Definition at line 134 of file waymatrix.cpp.
| void WayMatrix::marchPoints | ( | DbgPainter & | p | ) | const |
Definition at line 164 of file waymatrix.cpp.
| const WayPoint & WayMatrix::startPoint | ( | ) | const |
Definition at line 110 of file waymatrix.cpp.
| WayPath WayMatrix::wayTo | ( | const WayPoint ** | begin, |
| size_t | beginSz, | ||
| const Tempest::Vec3 | exactBegin, | ||
| const WayPoint & | end | ||
| ) | const |
Definition at line 298 of file waymatrix.cpp.