fix: logos config not initialized (resolves #691)

bot: make sure rescue zone icon blinking to consider bot reached rescue zone when escorting hostages (ref #688)
bot: remove hardcoded radio communication randoms, so they're now depends on bots personality
refactor: some refactoring of code
This commit is contained in:
jeefo 2025-05-07 13:07:40 +03:00
commit 6dfb09f110
No known key found for this signature in database
GPG key ID: D696786B81B667C8
26 changed files with 180 additions and 141 deletions

View file

@ -218,9 +218,9 @@ public:
bool convertOldFormat ();
bool isConnected (int a, int b);
bool isConnected (int index);
bool isNodeReacheableEx (const Vector &src, const Vector &destination, const float maxHeight);
bool isNodeReacheable (const Vector &src, const Vector &destination);
bool isNodeReacheableWithJump (const Vector &src, const Vector &destination);
bool isNodeReacheableEx (const Vector &src, const Vector &destination, const float maxHeight) const;
bool isNodeReacheable (const Vector &src, const Vector &destination) const;
bool isNodeReacheableWithJump (const Vector &src, const Vector &destination) const;
bool checkNodes (bool teleportPlayer, bool onlyPaths = false);
bool isVisited (int index);
@ -255,13 +255,13 @@ public:
void eraseFromBucket (const Vector &pos, int index);
void setBombOrigin (bool reset = false, const Vector &pos = nullptr);
void unassignPath (int from, int to);
void convertFromPOD (Path &path, const PODPath &pod);
void convertFromPOD (Path &path, const PODPath &pod) const;
void convertToPOD (const Path &path, PODPath &pod);
void convertCampDirection (Path &path);
void convertCampDirection (Path &path) const;
void setAutoPathDistance (const float distance);
void showStats ();
void showFileInfo ();
void emitNotify (int32_t sound);
void emitNotify (int32_t sound) const;
void syncCollectOnline ();
void collectOnline ();