1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-05 23:28:14 +02:00

* a bit of pathfinder interface redesign

* a few fixes for sieges
* better wall parts' positions by Ivan
This commit is contained in:
mateuszb
2009-08-28 09:03:58 +00:00
parent 90c31d5cd5
commit fceeb05e16
6 changed files with 279 additions and 104 deletions

View File

@@ -3234,7 +3234,17 @@ std::string CBattleInterface::SiegeHelper::getSiegeName(ui16 what, ui16 additInf
case 0: //background
return "SG" + townTypeInfixes[town->town->typeID] + "BACK.BMP";
case 1: //background wall
return "SG" + townTypeInfixes[town->town->typeID] + "TPW1.BMP";
{
switch(town->town->typeID)
{
case 5: case 4: case 1: case 6:
return "SG" + townTypeInfixes[town->town->typeID] + "TPW1.BMP";
case 0: case 2: case 3: case 7: case 8:
return "SG" + townTypeInfixes[town->town->typeID] + "TPWL.BMP";
default:
return "";
}
}
case 2: //keep
return "SG" + townTypeInfixes[town->town->typeID] + "MAN" + addit + ".BMP";
case 3: //bottom tower