1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* PreGame interface gets now redrawn every frame.

* Changed PreGame event handling and update/draw order.
* Changed mouse cursor drawing in PreGame
* Fixed linux bug where main menu WOG animation gets played only once, windows/linux video handling is now more similar
* Minor code improvements
This commit is contained in:
beegee1
2011-04-17 18:02:13 +00:00
parent 69c8c0d058
commit 66b708c168
11 changed files with 56 additions and 48 deletions

View File

@@ -1337,6 +1337,9 @@ void CPlayerInterface::update()
else
GH.simpleRedraw();
if (conf.cc.showFPS)
GH.drawFPSCounter();
// draw the mouse cursor and update the screen
// todo: bad way of updating the cursor, update screen should be the last statement of the rendering process
CCS->curh->draw1();