1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00

- moved Sprites and Data directory to vcmi "mod'

- some bugfixing:
- - teleporting animation fixed #1087, partially - #818
- - gui adjustments for #1093 and #1090
This commit is contained in:
Ivan Savenko
2012-09-29 08:35:31 +00:00
parent 2ba0427432
commit b0f669a764
7 changed files with 16 additions and 12 deletions

View File

@ -794,12 +794,12 @@ void CInfoBar::CVisibleInfo::loadComponent(const Component & compToDisplay, std:
OBJ_CONSTRUCTION_CAPTURING_ALL;
new CPicture("ADSTATOT");
new CPicture("ADSTATOT", 1);
auto comp = new CComponent(compToDisplay);
comp->moveTo(Point(pos.x+52, pos.y+54));
comp->moveTo(Point(pos.x+47, pos.y+50));
new CTextBox(message, Rect(8, 8, 164, 50), 0, FONT_SMALL, CENTER, Colors::Cornsilk);
new CTextBox(message, Rect(10, 4, 160, 50), 0, FONT_SMALL, CENTER, Colors::Cornsilk);
}
void CInfoBar::CVisibleInfo::updateEnemyTurn(double progress)