mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
render 'ons' after all stuff (needs to be discovered), fixed crumbs invisibility on screen with barman
svn-id: r46335
This commit is contained in:
parent
cc22b76c3b
commit
17435a0b6c
@ -535,14 +535,6 @@ bool Scene::render(OSystem *system) {
|
|||||||
|
|
||||||
bool got_any_animation = false;
|
bool got_any_animation = false;
|
||||||
|
|
||||||
if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
|
|
||||||
for (uint32 i = 0; i < ons_count; ++i) {
|
|
||||||
Surface *s = ons + i;
|
|
||||||
if (s != NULL)
|
|
||||||
s->render(surface);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (byte i = 0; i < 4; ++i) {
|
for (byte i = 0; i < 4; ++i) {
|
||||||
Animation *a = custom_animation + i;
|
Animation *a = custom_animation + i;
|
||||||
Surface *s = a->currentFrame();
|
Surface *s = a->currentFrame();
|
||||||
@ -662,6 +654,14 @@ bool Scene::render(OSystem *system) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ons != NULL && debug_features.feature[DebugFeatures::kShowOns]) {
|
||||||
|
for (uint32 i = 0; i < ons_count; ++i) {
|
||||||
|
Surface *s = ons + i;
|
||||||
|
if (s != NULL)
|
||||||
|
s->render(surface);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!message.empty()) {
|
if (!message.empty()) {
|
||||||
bool visible = true;
|
bool visible = true;
|
||||||
if (message_first_frame != 0 && message_animation != NULL) {
|
if (message_first_frame != 0 && message_animation != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user