|
| Obstacles (BladeRunnerEngine *vm) |
|
void | clear () |
|
void | add (RectFloat rect) |
|
void | add (float x0, float z0, float x1, float z1) |
|
int | findEmptyPolygon () const |
|
bool | findNextWaypoint (const Vector3 &from, const Vector3 &to, Vector3 *next) |
|
bool | findIntersectionNearest (int polygonIndex, Vector2 from, Vector2 to, int *outVertexIndex, float *outDistance, Vector2 *out) const |
|
bool | findIntersectionFarthest (int polygonIndex, Vector2 from, Vector2 to, int *outVertexIndex, float *outDistance, Vector2 *out) const |
|
float | pathTotalDistance (const Vector2 *path, int pathSize, Vector2 from, Vector2 to) const |
|
bool | findPolygonVerticeByXZ (int *polygonIndex, int *verticeIndex, int *verticeCount, float x, float z) const |
|
bool | findPolygonVerticeByXZWithinTolerance (float x, float z, int *polygonIndex, int *verticeIndex, int startSearchFromPolygonIdx) const |
|
void | clearPath () |
|
int | buildNegativePath (int polyIndex, int vertStartIndex, Vector2 startPos, int vertEndIndex, Vector2 endPos, Vector2 *path, int pathCapacity, bool *pathBlocked) |
|
int | buildPositivePath (int polyIndex, int vertStartIndex, Vector2 startPos, int vertEndIndex, Vector2 endPos, Vector2 *path, int pathCapacity, bool *pathBlocked) |
|
bool | verticesCanIntersect (int lineType0, int lineType1, float x0, float y0, float x1, float y1) const |
|
bool | findFarthestAvailablePathVertex (Vector2 *path, int pathSize, Vector3 start, Vector3 *next) const |
|
void | backup () |
|
void | restore () |
|
void | reset () |
|
void | draw () |
|
void | save (SaveFileWriteStream &f) |
|
void | load (SaveFileReadStream &f) |
|