| 123456789101112131415161718192021 |
- #pragma once
- #include "../../lib/AI_Base.h"
- #include "../../CCallback.h"
- struct HeroMoveDetails;
- class CEmptyAI : public CGlobalAI
- {
- CCallback *cb;
- public:
- void init(CCallback * CB) override;
- void yourTurn() override;
- void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback) override;
- void commanderGotLevel (const CCommanderInstance * commander, std::vector<ui32> skills, boost::function<void(ui32)> &callback) override;
- void showBlockingDialog(const std::string &text, const std::vector<Component> &components, ui32 askID, const int soundID, bool selection, bool cancel) override;
- void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, boost::function<void()> &onEnd) override;
- };
- #define NAME "EmptyAI 0.1"
|