1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

- added battleAI to CMake, compile fixes

- icons config for towns and creatures
This commit is contained in:
Ivan Savenko
2012-09-22 15:10:15 +00:00
parent bdc373227e
commit 8f936cd34d
18 changed files with 127 additions and 186 deletions

View File

@@ -252,6 +252,11 @@ void CTownHandler::loadTownHall(CTown &town, const JsonNode & source)
void CTownHandler::loadClientData(CTown &town, const JsonNode & source)
{
town.clientInfo.icons[0][0] = source["icons"]["village"]["normal"].Float();
town.clientInfo.icons[0][1] = source["icons"]["village"]["built"].Float();
town.clientInfo.icons[1][0] = source["icons"]["fort"]["normal"].Float();
town.clientInfo.icons[1][1] = source["icons"]["fort"]["built"].Float();
town.clientInfo.hallBackground = source["hallBackground"].String();
town.clientInfo.musicTheme = source["musicTheme"].String();
town.clientInfo.townBackground = source["townBackground"].String();