2007-10-17 01:41:45 +03:00
|
|
|
#include "../../AI_Base.h"
|
2008-04-13 14:05:39 +03:00
|
|
|
#include "../../CCallback.h"
|
2007-10-21 19:45:13 +03:00
|
|
|
class CEmptyAI : public CGlobalAI
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
2007-12-06 20:32:06 +02:00
|
|
|
ICallback * cb;
|
2007-10-17 01:41:45 +03:00
|
|
|
public:
|
2007-12-06 20:32:06 +02:00
|
|
|
void init(ICallback * CB);
|
2007-10-17 01:41:45 +03:00
|
|
|
void yourTurn();
|
2008-02-05 05:56:45 +02:00
|
|
|
void heroKilled(const CGHeroInstance *);
|
|
|
|
void heroCreated(const CGHeroInstance *);
|
2007-10-17 01:41:45 +03:00
|
|
|
void heroMoved(const HeroMoveDetails &);
|
2007-11-19 00:58:28 +02:00
|
|
|
void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {};
|
2007-12-27 02:11:46 +02:00
|
|
|
void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){};
|
2007-12-06 20:55:58 +02:00
|
|
|
void tileRevealed(int3 pos){};
|
|
|
|
void tileHidden(int3 pos){};
|
2009-04-13 21:52:20 +03:00
|
|
|
void showBlockingDialog(const std::string &text, const std::vector<Component> &components, ui32 askID, bool selection, bool cancel){};
|
|
|
|
void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, boost::function<void()> &onEnd){};
|
2008-08-13 03:44:31 +03:00
|
|
|
void heroGotLevel(const CGHeroInstance *hero, int pskill, std::vector<ui16> &skills, boost::function<void(ui32)> &callback);
|
2007-10-17 01:41:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#define NAME "EmptyAI 0.1"
|