nav: fallback to whole map search if buckets fails
bot: improved breakable destroying aim: improved short-range firing ctrl: prevent commands execution while disconnected from server build: fix cmake for apple silicon builds
This commit is contained in:
parent
7238fe76f5
commit
5eab5dfb3c
12 changed files with 100 additions and 90 deletions
|
|
@ -183,6 +183,7 @@ private:
|
|||
IntArray m_sniperPoints {};
|
||||
IntArray m_rescuePoints {};
|
||||
IntArray m_visitedGoals {};
|
||||
IntArray m_nodeNumbers {};
|
||||
|
||||
public:
|
||||
SmallArray <Path> m_paths {};
|
||||
|
|
@ -350,6 +351,11 @@ public:
|
|||
memcpy (&m_graphHeader, hdr, sizeof (StorageHeader));
|
||||
}
|
||||
|
||||
// gets the node numbers
|
||||
const IntArray &getNodeNumbers () {
|
||||
return m_nodeNumbers;
|
||||
}
|
||||
|
||||
public:
|
||||
// graph helper for sending message to correct channel
|
||||
template <typename ...Args> void msg (const char *fmt, Args &&...args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue