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:
jeefo 2025-01-17 22:43:35 +03:00
commit 5eab5dfb3c
No known key found for this signature in database
GPG key ID: D696786B81B667C8
12 changed files with 100 additions and 90 deletions

View file

@ -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);