aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles/toolbar.cpp
diff options
context:
space:
mode:
authorLe Philousophe2019-05-20 20:56:35 +0200
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit01f6e2db12aa980aa316b80bc0e4b29e58cf2b5e (patch)
treedf1db24186d6e4027c01cc4f3c954ac139155f66 /engines/cryomni3d/versailles/toolbar.cpp
parentedf2fdb12880b2b96beb3a753da4c1ad44b0bbf4 (diff)
downloadscummvm-rg350-01f6e2db12aa980aa316b80bc0e4b29e58cf2b5e.tar.gz
scummvm-rg350-01f6e2db12aa980aa316b80bc0e4b29e58cf2b5e.tar.bz2
scummvm-rg350-01f6e2db12aa980aa316b80bc0e4b29e58cf2b5e.zip
CRYOMNI3D: Implement countdown
Diffstat (limited to 'engines/cryomni3d/versailles/toolbar.cpp')
-rw-r--r--engines/cryomni3d/versailles/toolbar.cpp5
1 files changed, 0 insertions, 5 deletions
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();