1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

- finally, solution for imageIndex fields. All image lists will be generated in runtime

- iconIndex fields from json are no longer used
- simple check for missing icons on startup
This commit is contained in:
Ivan Savenko
2013-04-22 19:51:22 +00:00
parent 7a3f5dc23b
commit 3285f1910b
28 changed files with 248 additions and 168 deletions

View File

@ -70,11 +70,11 @@ static void showInfoDialog(const PlayerColor playerID, const ui32 txtID, const u
IObjectInterface::cb->sendAndApply(&iw);
}
static void showInfoDialog(const ObjectInstanceID heroID, const ui32 txtID, const ui16 soundID)
/*static void showInfoDialog(const ObjectInstanceID heroID, const ui32 txtID, const ui16 soundID)
{
const PlayerColor playerID = IObjectInterface::cb->getOwner(heroID);
showInfoDialog(playerID,txtID,soundID);
}
}*/
static void showInfoDialog(const CGHeroInstance* h, const ui32 txtID, const ui16 soundID)
{