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

Better implementation of the framerate manager, FPS timer added, minor improvements

This commit is contained in:
beegee1
2011-04-05 17:38:24 +00:00
parent 0aad12ae67
commit 157002fe68
10 changed files with 145 additions and 158 deletions

View File

@ -351,12 +351,7 @@ void CGPreGame::update()
if(SEL)
SEL->update();
CCS->curh->draw1();
SDL_Flip(screen);
CCS->curh->draw2();
GH.topInt()->show(screen);
GH.updateTime();
GH.handleEvents();
}
CSelectionScreen::CSelectionScreen(CMenuScreen::EState Type, CMenuScreen::EMultiMode MultiPlayer /*= CMenuScreen::SINGLE_PLAYER*/, const std::map<ui32, std::string> *Names /*= NULL*/)