diff options
author | johndoe123 | 2018-05-24 06:46:16 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 65049228a8d4bcfbcedae75d098256bbbdc92baa (patch) | |
tree | 2b73ec28e36976ce945174be1cdb7f1f9da1f6da /engines/illusions/illusions.cpp | |
parent | 1f6aee019c85771cabddc0e807a4c2cad503cca0 (diff) | |
download | scummvm-rg350-65049228a8d4bcfbcedae75d098256bbbdc92baa.tar.gz scummvm-rg350-65049228a8d4bcfbcedae75d098256bbbdc92baa.tar.bz2 scummvm-rg350-65049228a8d4bcfbcedae75d098256bbbdc92baa.zip |
ILLUSIONS: Remove old TODOs
(cherry picked from commit bb95440)
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r-- | engines/illusions/illusions.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp index c6ae20c675..912c4f6975 100644 --- a/engines/illusions/illusions.cpp +++ b/engines/illusions/illusions.cpp @@ -142,7 +142,6 @@ uint32 IllusionsEngine::getElapsedUpdateTime() { } int IllusionsEngine::updateActors(uint flags) { - // TODO Move to Controls class uint32 deltaTime = getElapsedUpdateTime(); for (Controls::ItemsIterator it = _controls->_controls.begin(); it != _controls->_controls.end(); ++it) { Control *control = *it; @@ -153,7 +152,6 @@ int IllusionsEngine::updateActors(uint flags) { } int IllusionsEngine::updateSequences(uint flags) { - // TODO Move to Controls class for (Controls::ItemsIterator it = _controls->_controls.begin(); it != _controls->_controls.end(); ++it) { Control *control = *it; if (control->_pauseCtr == 0 && control->_actor && control->_actor->_seqCodeIp) { @@ -171,7 +169,6 @@ int IllusionsEngine::updateGraphics(uint flags) { _camera->update(currTime); updateFader(); - // TODO Move to BackgroundInstanceList class BackgroundInstance *backgroundItem = _backgroundInstances->findActiveBackgroundInstance(); if (backgroundItem) { BackgroundResource *bgRes = backgroundItem->_bgRes; @@ -185,7 +182,6 @@ int IllusionsEngine::updateGraphics(uint flags) { } } - // TODO Move to Controls class for (Controls::ItemsIterator it = _controls->_controls.begin(); it != _controls->_controls.end(); ++it) { Control *control = *it; Actor *actor = control->_actor; @@ -198,12 +194,6 @@ int IllusionsEngine::updateGraphics(uint flags) { frame->_compressedPixels, actor->_surface); actor->_flags &= ~Illusions::ACTOR_FLAG_2000; } - /* Unused - if (actor->_flags & 0x4000) { - nullsub_1(&actor->drawFlags); - actor->flags &= ~0x4000; - } - */ if (actor->_surfInfo._dimensions._width && actor->_surfInfo._dimensions._height) { uint32 priority = control->getDrawPriority(); _screen->_drawQueue->insertSprite(&actor->_drawFlags, actor->_surface, @@ -214,7 +204,6 @@ int IllusionsEngine::updateGraphics(uint flags) { } if (_screenText->_surface) { - // TODO Make nicer uint32 priority = getGameId() == kGameIdDuckman ? getPriorityFromBase(19) : getPriorityFromBase(99); _screen->_drawQueue->insertTextSurface(_screenText->_surface, _screenText->_dimensions, _screenText->_position, priority); |