(boolean startScene)
| 378 | loadAdventureResources(true); |
| 379 | } |
| 380 | private static void loadAdventureResources(boolean startScene) { |
| 381 | try { |
| 382 | Config.instance().loadResources(); |
| 383 | SpellSmithScene.instance().loadEditions(); |
| 384 | SoundSystem.instance.stopBackgroundMusic(); |
| 385 | MusicPlaylist.invalidateMusicPlaylist(); |
| 386 | if (startScene) { |
| 387 | SoundSystem.instance.setBackgroundMusic(MusicPlaylist.MENUS); |
| 388 | switchScene(StartScene.instance()); |
| 389 | } |
| 390 | } catch (Exception e) { |
| 391 | e.printStackTrace(); |
| 392 | } |
| 393 | } |
| 394 | protected void afterDbLoaded() { |
| 395 | if (GuiBase.isAndroid() && autoCache) |
| 396 | getSplashScreen().getProgressBar().setDescription(getLocalizer().getMessage("lblFinishingStartup") + "\nDetected RAM: " + totalDeviceRAM + "MB. Cache size: " + cacheSize); |
no test coverage detected