2011-12-14 00:23:17 +03:00
|
|
|
#include "StdInc.h"
|
|
|
|
|
2007-10-17 01:41:45 +03:00
|
|
|
#include "CEmptyAI.h"
|
2011-12-14 00:23:17 +03:00
|
|
|
|
2007-10-21 19:45:13 +03:00
|
|
|
std::set<CGlobalAI*> ais;
|
2012-09-15 21:44:55 +03:00
|
|
|
extern "C" DLL_EXPORT int GetGlobalAiVersion()
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
|
|
|
return AI_INTERFACE_VER;
|
|
|
|
}
|
|
|
|
|
2012-09-15 21:44:55 +03:00
|
|
|
extern "C" DLL_EXPORT void GetAiName(char* name)
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
|
|
|
strcpy(name,NAME);
|
|
|
|
}
|
2013-06-23 00:47:51 +03:00
|
|
|
|
|
|
|
extern "C" DLL_EXPORT void GetNewAI(shared_ptr<CGlobalAI> &out)
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
2013-06-23 00:47:51 +03:00
|
|
|
out = make_shared<CEmptyAI>();
|
|
|
|
}
|