1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

* battle options window works again

* reorganization of GUI code
This commit is contained in:
mateuszb
2009-05-19 18:23:04 +00:00
parent 199be7b06e
commit 35f7281024
20 changed files with 4272 additions and 4148 deletions

View File

@@ -985,12 +985,10 @@ void CBattleInterface::handleStartMoving(int number)
void CBattleInterface::bOptionsf()
{
CGI->curh->changeGraphic(0,0);
deactivate();
SDL_Rect temp_rect = genRect(431, 481, 160, 84);
CBattleOptionsWindow * optionsWin = new CBattleOptionsWindow(temp_rect, this);
optionsWin->activate();
LOCPLINT->objsToBlit.push_back(optionsWin);
LOCPLINT->pushInt(optionsWin);
}
void CBattleInterface::bSurrenderf()