Created a splash screen state for loading resources.
- Game now boots to splash screen, which displays parser progress. - Added option "LoadVerbose" to disable rendering the progress text. - Main Menu backgrounds now fade in regardless of DynamicBackground setting (as a transition from the splash screen). Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ public class SongMenu extends BasicGameState {
|
||||
/**
|
||||
* The current sort order (SORT_* constant).
|
||||
*/
|
||||
private byte currentSort;
|
||||
private byte currentSort = OsuGroupList.SORT_TITLE;
|
||||
|
||||
/**
|
||||
* The options button (to enter the "Game Options" menu).
|
||||
@@ -135,11 +135,6 @@ public class SongMenu extends BasicGameState {
|
||||
this.game = game;
|
||||
this.input = container.getInput();
|
||||
|
||||
// initialize song list
|
||||
currentSort = OsuGroupList.SORT_TITLE;
|
||||
Opsu.groups.init(currentSort);
|
||||
setFocus(Opsu.groups.getRandomNode(), -1, true);
|
||||
|
||||
int width = container.getWidth();
|
||||
int height = container.getHeight();
|
||||
|
||||
@@ -414,7 +409,7 @@ public class SongMenu extends BasicGameState {
|
||||
startNode = Opsu.groups.getBaseNode(startNode.index);
|
||||
}
|
||||
setFocus(node, -1, false);
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user