Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/gamesetup.js
Show First 20 Lines • Show All 1,775 Lines • ▼ Show 20 Lines | Engine.SwitchGuiPage("page_loading.xml", { | ||||
"isNetworked": g_IsNetworked, | "isNetworked": g_IsNetworked, | ||||
"playerAssignments": g_PlayerAssignments | "playerAssignments": g_PlayerAssignments | ||||
}); | }); | ||||
} | } | ||||
} | } | ||||
function launchTutorial() | function launchTutorial() | ||||
{ | { | ||||
g_GameAttributes.mapType = "scenario"; | |||||
mimo: not really needed at present, but would be necessary if the tutorial map would have some own… | |||||
selectMap("maps/tutorials/starting_economy_walkthrough"); | selectMap("maps/tutorials/starting_economy_walkthrough"); | ||||
launchGame(); | launchGame(); | ||||
} | } | ||||
/** | /** | ||||
* Don't set any attributes here, just show the changes in the GUI. | * Don't set any attributes here, just show the changes in the GUI. | ||||
* | * | ||||
* Unless the mapsettings don't specify a property and the user didn't set it in g_GameAttributes previously. | * Unless the mapsettings don't specify a property and the user didn't set it in g_GameAttributes previously. | ||||
▲ Show 20 Lines • Show All 413 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
not really needed at present, but would be necessary if the tutorial map would have some own settings (as starting resource).