Enable background and foreground images for the new New Game screen.

This commit is contained in:
AnotherCommander 2013-12-19 13:28:44 +01:00
parent cff7ee1dd0
commit 6bd7a42997

View File

@ -261,9 +261,17 @@ static uint16_t PersonalityForCommanderDict(NSDictionary *dict);
[gui setSelectableRange:NSMakeRange(start_row - 2,3 + row - start_row)];
[gui setSelectedRow:start_row];
[self showScenarioDetails];
}
gui_screen = GUI_SCREEN_NEWGAME;
gui_screen = GUI_SCREEN_NEWGAME;
if (guiChanged)
{
NSDictionary *bgDescriptor = [UNIVERSE screenTextureDescriptorForKey:@"newgame"];
[gui setBackgroundTextureDescriptor:bgDescriptor];
[gui setForegroundTextureKey:@"newgame_overlay"];
}
}
[UNIVERSE enterGUIViewModeWithMouseInteraction:YES];
}