CEmptyAI.h 710 B

12345678910111213141516171819
  1. #include "../../AI_Base.h"
  2. #include "../../CCallback.h"
  3. class CEmptyAI : public CGlobalAI
  4. {
  5. ICallback * cb;
  6. public:
  7. void init(ICallback * CB);
  8. void yourTurn();
  9. void heroKilled(const CGHeroInstance *);
  10. void heroCreated(const CGHeroInstance *);
  11. void heroMoved(const HeroMoveDetails &);
  12. void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {};
  13. void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){};
  14. void tileRevealed(int3 pos){};
  15. void tileHidden(int3 pos){};
  16. void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback);
  17. };
  18. #define NAME "EmptyAI 0.1"