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

Added icon to the MSVC project, minor fixes, version bumped to 0.74.

This commit is contained in:
Michał W. Urbańczyk
2009-10-01 20:00:21 +00:00
parent 96add1cd62
commit 3d4db35df0
9 changed files with 108 additions and 7 deletions

View File

@@ -2706,7 +2706,6 @@ void CBattleInterface::activateStack()
stackToActivate = -1;
myTurn = true;
queue->update();
GH.fakeMouseMove();
redrawBackgroundWithHexes(activeStack);
bWait->block(vstd::contains(LOCPLINT->cb->battleGetStackByID(activeStack)->state,WAITING)); //block waiting button if stack has been already waiting
@@ -2721,6 +2720,7 @@ void CBattleInterface::activateStack()
if(!defendingHeroInstance->getArt(17)) //don't unlock if already locked
bSpell->block(!defendingHeroInstance->getArt(17));
}
GH.fakeMouseMove();
}
float CBattleInterface::getAnimSpeedMultiplier() const
@@ -3995,8 +3995,9 @@ void CStackQueue::StackBox::showAll( SDL_Surface *to )
if(bg)
{
graphics->blueToPlayersAdv(bg, my->owner);
SDL_UpdateRect(bg, 0, 0, 0, 0);
blitAt(bg, pos, to);
//SDL_UpdateRect(bg, 0, 0, 0, 0);
CSDL_Ext::blit8bppAlphaTo24bpp(bg, NULL, to, &genRect(bg->h, bg->w, pos.x, pos.y));
//blitAt(bg, pos, to);
blitAt(graphics->bigImgs[my->creature->idNumber], pos.x +9, pos.y + 1, to);
printAtMiddleLoc(makeNumberShort(my->amount), pos.w/2, pos.h - 12, FONT_MEDIUM, zwykly, to);
}