()
| 342 | } |
| 343 | |
| 344 | public static void openHomeDefault() { |
| 345 | //default to English only if CJK is missing |
| 346 | getLocalizer().setEnglish(forcedEnglishonCJKMissing); |
| 347 | FSkinTexture.invalidateAdventureTextures(); |
| 348 | GuiBase.setAdventureDirectory(null); |
| 349 | clearScreenStack(); |
| 350 | openHomeScreen(-1, null); //default for startup |
| 351 | isMobileAdventureMode = false; |
| 352 | MusicPlaylist.invalidateMusicPlaylist(); |
| 353 | SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS); |
| 354 | if (isLandscapeMode()) { //open preferred new game screen by default if landscape mode |
| 355 | NewGameMenu.getPreferredScreen().open(); |
| 356 | } |
| 357 | stopContinuousRendering(); //save power consumption by disabling continuous rendering once assets loaded |
| 358 | } |
| 359 | |
| 360 | public static void openAdventure() { |
| 361 | //default to english since it doesn't have CJK fonts, it will be updated on Forgescene enter/exit |
no test coverage detected