AI_Base.h 418 B

12345678910111213141516
  1. #pragma once
  2. #include <vector>
  3. #include <iostream>
  4. #include "int3.h"
  5. #include "CGameInterface.h"
  6. #define AI_INTERFACE_VER 1
  7. #ifdef _WIN32
  8. #define DLL_EXPORT extern "C" __declspec(dllexport)
  9. #define VCMI_API
  10. #elif __GNUC__ >= 4
  11. #define DLL_EXPORT extern "C" __attribute__ ((visibility("default")))
  12. #define VCMI_API __attribute__ ((visibility("default")))
  13. #else
  14. #define VCMI_EXPORT extern "C"
  15. #endif