fix: bots shoot at dead timer is ignored (bots should shoot some spare bullets toward just dead player).

fix: once again fixed chatter cycling.
add: prevent saving old format waypoint when more than 1024 nodes added.
ci: updated to gcc & mingw 10.2.
This commit is contained in:
ds 2020-10-22 14:40:24 +03:00
commit 27d12d0bbb
4 changed files with 46 additions and 36 deletions

View file

@ -26,29 +26,29 @@
// simple class for bot internal information
class Product final : public Singleton <Product> {
public:
const struct Build {
const StringRef hash { MODULE_BUILD_HASH };
const StringRef author { MODULE_BUILD_AUTHOR };
const StringRef count { MODULE_BUILD_COUNT };
const StringRef machine { MODULE_BUILD_MACHINE };
const StringRef compiler { MODULE_BUILD_COMPILER };
const StringRef id { MODULE_BOT_BUILD_ID };
struct Build {
StringRef hash { MODULE_BUILD_HASH };
StringRef author { MODULE_BUILD_AUTHOR };
StringRef count { MODULE_BUILD_COUNT };
StringRef machine { MODULE_BUILD_MACHINE };
StringRef compiler { MODULE_BUILD_COMPILER };
StringRef id { MODULE_BOT_BUILD_ID };
} build { };
public:
const StringRef name { "YaPB" };
const StringRef year { __DATE__ + 7 };
const StringRef author { "YaPB Development Team" };
const StringRef email { "team@yapb.ru" };
const StringRef url { "https://yapb.ru/" };
const StringRef download { "yapb.ru" };
const StringRef folder { "yapb" };
const StringRef logtag { "YB" };
const StringRef dtime { __DATE__ " " __TIME__ };
const StringRef date { __DATE__ };
const StringRef version { MODULE_BOT_VERSION "." MODULE_BUILD_COUNT };
const StringRef cmdPri { "yb" };
const StringRef cmdSec { "yapb" };
StringRef name { "YaPB" };
StringRef year { __DATE__ + 7 };
StringRef author { "YaPB Development Team" };
StringRef email { "team@yapb.ru" };
StringRef url { "https://yapb.ru/" };
StringRef download { "yapb.ru" };
StringRef folder { "yapb" };
StringRef logtag { "YB" };
StringRef dtime { __DATE__ " " __TIME__ };
StringRef date { __DATE__ };
StringRef version { MODULE_BOT_VERSION "." MODULE_BUILD_COUNT };
StringRef cmdPri { "yb" };
StringRef cmdSec { "yapb" };
};
// expose product info