Updates Angelscript addons, adds angelscript dictionary addon.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-03-27 22:39:25 +01:00
parent e5b2ff5c59
commit e748f6e96f
10 changed files with 1921 additions and 376 deletions

View File

@@ -14,6 +14,8 @@
// TODO: Implement flags for turning on/off include directives and conditional programming
//---------------------------
// Declaration
//
@@ -23,9 +25,10 @@
#include <angelscript.h>
#endif
#if defined(_MSC_VER) && _MSC_VER <= 1200
// disable the annoying warnings on MSVC 6
#pragma warning(disable : 4786)
#pragma warning (disable:4786)
#endif
#include <string>
@@ -197,7 +200,7 @@ protected:
{
bool operator()(const std::string &a, const std::string &b) const
{
return _strcmpi(a.c_str(), b.c_str()) < 0;
return _stricmp(a.c_str(), b.c_str()) < 0;
}
};
std::set<std::string, ci_less> includedScripts;