public static void oldVersion(string filename) { //a copy of the original code from 0.8 version of the game LoadingWorldScreen loadingWorldScreen = SCREEN_MANAGER.get_screen("loadWorld") as LoadingWorldScreen; loadingWorldScreen.mode = LoadScreenType.nuke_load_game; loadingWorldScreen.loadSelectName = filename; loadingWorldScreen.loadSelectSet = true; SCREEN_MANAGER.goto_screen("loadWorld"); }
public static void newVersion(string filename) { //a copy of the original code from 0.9 version of the game LoadingWorldScreen loadingWorldScreen = SCREEN_MANAGER.get_screen("loadWorld") as LoadingWorldScreen; loadingWorldScreen.mode = LoadScreenType.database_continue; CHARACTER_DATA.continueFileName = loadingWorldScreen.loadSelectName; loadingWorldScreen.loadSelectName = filename; loadingWorldScreen.loadSelectSet = true; SCREEN_MANAGER.goto_screen("loadWorld"); }