#pragma once #include "../../lib/AI_Base.h" #include "../../CCallback.h" struct HeroMoveDetails; class CEmptyAI : public CGlobalAI { CCallback *cb; public: void init(CCallback * CB); void yourTurn(); void heroKilled(const CGHeroInstance *); void heroCreated(const CGHeroInstance *); void heroMoved(const TryMoveHero&); void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {}; void showSelDialog(std::string text, std::vector & components, int askID){}; void tileRevealed(int3 pos){}; void tileHidden(int3 pos){}; void showBlockingDialog(const std::string &text, const std::vector &components, ui32 askID, int soundID, bool selection, bool cancel){}; void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, boost::function &onEnd) {}; void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector &skills, boost::function &callback); void commanderGotLevel (const CCommanderInstance * commander, std::vector skills, boost::function &callback) {}; //TODO }; #define NAME "EmptyAI 0.1"