1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Quick implementation of stack experience details. Minor fixes.

Man, it's ugly.
This commit is contained in:
DjWarmonger
2011-03-21 08:14:23 +00:00
parent f88ac50a44
commit 70b21fc9eb
5 changed files with 70 additions and 4 deletions

View File

@ -393,7 +393,7 @@ void CMessage::drawIWindow(CInfoWindow * ret, std::string text, int player)
if(dynamic_cast<CSelWindow*>(ret)) //it's selection window, so we'll blit "or" between components
_or = FNT_RenderText(FONT_MEDIUM,CGI->generaltexth->allTexts[4],zwykly);
const int sizes[][2] = {{400, 125}, {500, 150}, {600, 200}};
const int sizes[][2] = {{400, 125}, {500, 150}, {600, 200}, {480, 400}};
for(int i = 0;
i < ARRAY_COUNT(sizes)
&& sizes[i][0] < conf.cc.resx - 150