1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

New namespaces: GL2D (low-level OpenGL functions), Gfx (images and animation objects cooperating with the interface GL2D)

This commit is contained in:
paracelsus
2013-03-03 19:03:45 +00:00
parent 51d0af5060
commit 1e0f473761
57 changed files with 2245 additions and 907 deletions

View File

@ -318,8 +318,7 @@ void CPlayerInterface::heroMoved(const TryMoveHero & details)
{
movementPxStep(details, i, hp, ho);
adventureInt->updateScreen = true;
adventureInt->show(screen);
CSDL_Ext::update(screen);
adventureInt->show();
GH.mainFPSmng->framerateDelay(); //for animation purposes
} //for(int i=1; i<32; i+=4)
//main moving done
@ -2185,7 +2184,7 @@ void CPlayerInterface::acceptTurn()
adventureInt->infoBar.showDate();
adventureInt->updateNextHero(NULL);
adventureInt->showAll(screen);
adventureInt->showAll();
if(settings["session"]["autoSkip"].Bool() && !LOCPLINT->shiftPressed())
{