moved underlay and state 2d objects after smush frame

This commit is contained in:
Pawel Kolodziejski 2004-04-20 17:57:46 +00:00
parent 5ed42ed0fe
commit fbf6dcbed8

View file

@ -121,8 +121,6 @@ void Engine::mainLoop() {
if (currScene_ != NULL) { if (currScene_ != NULL) {
currScene_->drawBackground(); currScene_->drawBackground();
currScene_->drawBitmaps(ObjectState::OBJSTATE_UNDERLAY);
currScene_->drawBitmaps(ObjectState::OBJSTATE_STATE);
} }
if (g_smush->isPlaying()) { if (g_smush->isPlaying()) {
@ -135,6 +133,11 @@ void Engine::mainLoop() {
g_driver->drawSmushFrame(g_smush->getX(), g_smush->getY()); g_driver->drawSmushFrame(g_smush->getX(), g_smush->getY());
} }
if (currScene_ != NULL) {
currScene_->drawBitmaps(ObjectState::OBJSTATE_UNDERLAY);
currScene_->drawBitmaps(ObjectState::OBJSTATE_STATE);
}
g_driver->set3DMode(); g_driver->set3DMode();
if (currScene_ != NULL) if (currScene_ != NULL)