Enable background and foreground images for the new New Game screen.
This commit is contained in:
parent
cff7ee1dd0
commit
6bd7a42997
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user