Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/common/settings.js
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | |||||
* @returns {Array} | * @returns {Array} | ||||
*/ | */ | ||||
function loadMapTypes() | function loadMapTypes() | ||||
{ | { | ||||
return [ | return [ | ||||
{ | { | ||||
"Name": "skirmish", | "Name": "skirmish", | ||||
"Title": translateWithContext("map", "Skirmish"), | "Title": translateWithContext("map", "Skirmish"), | ||||
"Description": translate("A map with a predefined landscape and number of players. Freely select the other gamesettings."), | |||||
"Default": true | "Default": true | ||||
}, | }, | ||||
{ | { | ||||
"Name": "random", | "Name": "random", | ||||
"Title": translateWithContext("map", "Random") | "Title": translateWithContext("map", "Random"), | ||||
"Description": translate("Create a unique map with a different resource distribution each time. Freely chose the number of players and teams.") | |||||
}, | }, | ||||
{ | { | ||||
"Name": "scenario", | "Name": "scenario", | ||||
"Title": translateWithContext("map", "Scenario") | "Title": translateWithContext("map", "Scenario"), | ||||
"Description": translate("A map with a predefined landscape and matchsettings.") | |||||
} | } | ||||
]; | ]; | ||||
} | } | ||||
/** | /** | ||||
* Loads available gametypes. | * Loads available gametypes. | ||||
* | * | ||||
* @returns {Array|undefined} | * @returns {Array|undefined} | ||||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator