Added consistency check for graph files. Totally optional, but wiill notify user if graph file built not for loaded map.

Some minor cosmetic changes and refactoring.
Fixed #70. Better now, than never.
Implemented #121. Bots auto-kill delays.
Bumb the year.
This commit is contained in:
jeefo 2020-02-08 00:03:52 +03:00
commit d6150a8aba
22 changed files with 171 additions and 82 deletions

View file

@ -905,7 +905,7 @@ public:
};
// expose global string pool
static auto &strings = StringBuffer::get ();
CR_EXPOSE_GLOBAL_SINGLETON (StringBuffer, strings);
// some limited utf8 stuff
class Utf8Tools : public Singleton <Utf8Tools> {
@ -1141,6 +1141,6 @@ public:
};
// expose global utf8 tools
static auto &utf8tools = Utf8Tools::get ();
CR_EXPOSE_GLOBAL_SINGLETON (Utf8Tools, utf8tools);
CR_NAMESPACE_END