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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user