diff options
author | Eugene Sandulenko | 2013-07-20 01:00:26 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:03 +0300 |
commit | 69fc7a38bb387c3590d9a32855442e1579ff8a4e (patch) | |
tree | bd80a7a6a1c5295c32f9a85762cfbe42c298ac1e /engines/fullpipe/scene.cpp | |
parent | 8f0ff728e49d2b31c392471881db2bb20829d7ab (diff) | |
download | scummvm-rg350-69fc7a38bb387c3590d9a32855442e1579ff8a4e.tar.gz scummvm-rg350-69fc7a38bb387c3590d9a32855442e1579ff8a4e.tar.bz2 scummvm-rg350-69fc7a38bb387c3590d9a32855442e1579ff8a4e.zip |
FULLPIPE: Continued scene drawing
Diffstat (limited to 'engines/fullpipe/scene.cpp')
-rw-r--r-- | engines/fullpipe/scene.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp index 2ce93eefe4..717eb0cdd5 100644 --- a/engines/fullpipe/scene.cpp +++ b/engines/fullpipe/scene.cpp @@ -266,6 +266,20 @@ void Scene::drawContent(int minPri, int maxPri, bool drawBG) { if (_palette) { warning("Scene palette is ignored"); } + + if (_picObjList.size() > 2) { // We need to z-sort them + // Sort by priority + warning("Scene::drawContent: STUB sort by priority"); + } + + if (minPri == -1 && _picObjList.size()) + minPri = ((PictureObject *)_picObjList.back())->_priority - 1; + + if (maxPri == -1) + maxPri = 60000; + + if (drawBg && _bigPictureArray1Count && _picObjList.size()) { + } } } // End of namespace Fullpipe |