From 01f6e2db12aa980aa316b80bc0e4b29e58cf2b5e Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Mon, 20 May 2019 20:56:35 +0200 Subject: CRYOMNI3D: Implement countdown --- engines/cryomni3d/versailles/toolbar.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'engines/cryomni3d/versailles/toolbar.cpp') diff --git a/engines/cryomni3d/versailles/toolbar.cpp b/engines/cryomni3d/versailles/toolbar.cpp index e0168e29cc..2f9426beac 100644 --- a/engines/cryomni3d/versailles/toolbar.cpp +++ b/engines/cryomni3d/versailles/toolbar.cpp @@ -410,9 +410,6 @@ bool Toolbar::displayToolbar(const Graphics::Surface *original) { _bgSurface.w, original->h)); _engine->makeTranslucent(_bgSurface, subset); - // Draw the original surface on the surface to use for toolbar - g_system->copyRectToScreen(original->getPixels(), original->pitch, 0, 0, original->w, original->h); - // WORKAROUND: Reset the inventory status at init to let sprites highlighted until toolbar is hidden _inventorySelected = -1; _inventoryHovered = -1; @@ -479,8 +476,6 @@ void Toolbar::handleToolbarEvents(const Graphics::Surface *original) { // No need of original surface because the toolbar is fully displayed drawToolbar(original); - // TODO: countdown - g_system->copyRectToScreen(_destSurface.getPixels(), _destSurface.pitch, 0, original->h - _destSurface.h, _destSurface.w, _destSurface.h); g_system->updateScreen(); -- cgit v1.2.3