18 lines
381 B
C++
18 lines
381 B
C++
#pragma once
|
|
|
|
#include "common.hpp"
|
|
#include "micropather.h"
|
|
#include "pwd.h"
|
|
|
|
namespace nav
|
|
{
|
|
extern bool init;
|
|
extern bool ReadyForCommands;
|
|
extern std::vector<CNavArea> areas;
|
|
std::vector<Vector> findPath(Vector loc, Vector dest);
|
|
bool NavTo(Vector dest, bool navToLocalCenter = true);
|
|
int findClosestNavSquare(Vector vec);
|
|
bool Prepare();
|
|
void CreateMove();
|
|
} // namespace nav
|