mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
- Fully integrated new logging API(ERM, Editor, missing parts) - Removed old logger
This commit is contained in:
@@ -6,7 +6,7 @@ void CEmptyAI::init(CCallback * CB)
|
||||
cb = CB;
|
||||
human=false;
|
||||
playerID = *cb->getMyColor();
|
||||
std::cout << "EmptyAI initialized." << std::endl;
|
||||
logAi->infoStream() << "EmptyAI initialized.";
|
||||
}
|
||||
void CEmptyAI::yourTurn()
|
||||
{
|
||||
@@ -31,4 +31,4 @@ void CEmptyAI::showBlockingDialog(const std::string &text, const std::vector<Com
|
||||
void CEmptyAI::showGarrisonDialog(const CArmedInstance *up, const CGHeroInstance *down, bool removableUnits, int queryID)
|
||||
{
|
||||
cb->selectionMade(0, queryID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user