Mercurial > mm7
comparison Game.cpp @ 983:1462a5f12b65
Character Skills tab drawing fixed.
author | Nomad |
---|---|
date | Sat, 11 May 2013 17:00:43 +0200 |
parents | 08fd1436ef35 |
children | 3431f6abc786 |
comparison
equal
deleted
inserted
replaced
982:08fd1436ef35 | 983:1462a5f12b65 |
---|---|
356 pMouse->DrawCursorToTarget(); | 356 pMouse->DrawCursorToTarget(); |
357 pVideoPlayer->BinkUpdatePalette(pVideoPlayer->hWindow); | 357 pVideoPlayer->BinkUpdatePalette(pVideoPlayer->hWindow); |
358 pMouse->_469EA4(); | 358 pMouse->_469EA4(); |
359 pRenderer->EndScene(); | 359 pRenderer->EndScene(); |
360 } | 360 } |
361 | |
362 pEventTimer->Update(); | |
363 pMiscTimer->Update(); | |
364 | |
365 static int gtc_old = GetTickCount(); | |
366 int gtc = GetTickCount(); | |
367 Log::Warning(L"Evt/Msc/GTC dt: %u/%u/%u", pEventTimer->uTimeElapsed, pMiscTimer->uTimeElapsed, gtc - gtc_old); | |
368 gtc_old = gtc; | |
361 | 369 |
362 OnTimer(0); | 370 OnTimer(0); |
363 GameUI_StatusBar_UpdateTimedString(0); | 371 GameUI_StatusBar_UpdateTimedString(0); |
364 if ( pMiscTimer->bPaused && !pEventTimer->bPaused ) | 372 if ( pMiscTimer->bPaused && !pEventTimer->bPaused ) |
365 pMiscTimer->Resume(); | 373 pMiscTimer->Resume(); |