1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

* swapping artifacts (needs testing)

* various improvements and fixes for interface
* put changelog into ChangeLog
This commit is contained in:
Michał W. Urbańczyk
2008-08-20 19:02:48 +00:00
parent 22ade5efbe
commit 1c7e3718a7
18 changed files with 420 additions and 68 deletions

View File

@@ -360,6 +360,15 @@ void CClient::process(int what)
playerint[t->tempOwner]->heroInGarrisonChange(t);
break;
}
case 509:
{
SetHeroArtifacts sha;
*serv >> sha;
std::cout << "Setting artifacts of hero " << sha.hid << std::endl;
gs->apply(&sha);
//TODO: inform interfaces
break;
}
case 1001:
{
SetObjectProperty sop;