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

* fixed crashbug on loading maps with events giving creatures

* added confirmation window when hero is dismissed
* finished mage guild screen
* fixed some crashbugs with hero window on adventure interface
* fixed giving wrong war machines on start
* added blacksmith functionality
This commit is contained in:
Michał W. Urbańczyk
2008-08-27 10:19:18 +00:00
parent ce6a9ae374
commit e856ad21a9
20 changed files with 276 additions and 81 deletions

View File

@ -957,6 +957,11 @@ void CAdvMapInt::fendTurn()
void CAdvMapInt::activate()
{
if(subInt == heroWindow)
{
heroWindow->activate();
return;
}
LOCPLINT->curint = this;
LOCPLINT->statusbar = &statusbar;
kingOverview.activate();
@ -978,6 +983,11 @@ void CAdvMapInt::activate()
}
void CAdvMapInt::deactivate()
{
if(subInt == heroWindow)
{
heroWindow->deactivate();
return;
}
hide();
}
void CAdvMapInt::show(SDL_Surface *to)