2011-12-14 00:23:17 +03:00
|
|
|
#pragma once
|
|
|
|
|
2011-12-31 13:03:29 +03:00
|
|
|
#include "../../lib/AI_Base.h"
|
2008-04-13 14:05:39 +03:00
|
|
|
#include "../../CCallback.h"
|
2009-04-22 21:48:56 +03:00
|
|
|
|
2010-12-24 17:37:48 +02:00
|
|
|
struct HeroMoveDetails;
|
|
|
|
|
2007-10-21 19:45:13 +03:00
|
|
|
class CEmptyAI : public CGlobalAI
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
2011-05-04 05:32:35 +03:00
|
|
|
CCallback *cb;
|
|
|
|
|
2007-10-17 01:41:45 +03:00
|
|
|
public:
|
2012-05-30 21:37:21 +03:00
|
|
|
void init(CCallback * CB) override;
|
|
|
|
void yourTurn() override;
|
2013-02-05 00:58:42 +03:00
|
|
|
void heroGotLevel(const CGHeroInstance *hero, PrimarySkill::PrimarySkill pskill, std::vector<SecondarySkill::SecondarySkill> &skills, int queryID) override;
|
2012-07-15 18:34:00 +03:00
|
|
|
void commanderGotLevel (const CCommanderInstance * commander, std::vector<ui32> skills, int queryID) override;
|
2013-02-05 00:58:42 +03:00
|
|
|
void showBlockingDialog(const std::string &text, const std::vector<Component> &components, ui32 askID, const int soundID, bool selection, bool cancel) override;
|
2012-07-15 18:34:00 +03:00
|
|
|
void showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, int queryID) override;
|
2007-10-17 01:41:45 +03:00
|
|
|
};
|
|
|
|
|
2009-09-10 17:06:28 +03:00
|
|
|
#define NAME "EmptyAI 0.1"
|