Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/reference/common/core.js
var g_SelectedCiv = "gaia"; | var g_SelectedCiv = "gaia"; | ||||
var g_CallbackSet = false; | |||||
function closePage() | |||||
{ | |||||
if (g_CallbackSet) | |||||
Engine.PopGuiPageCB(0); | |||||
else | |||||
Engine.PopGuiPage(); | |||||
} | |||||
/** | /** | ||||
* Compile lists of templates buildable/trainable/researchable of a given civ. | * Compile lists of templates buildable/trainable/researchable of a given civ. | ||||
* | * | ||||
* @param {string} civCode - Code of the civ to get template list for. Optional, | * @param {string} civCode - Code of the civ to get template list for. Optional, | ||||
* defaults to g_SelectedCiv. | * defaults to g_SelectedCiv. | ||||
* @return {object} containing lists of template names, grouped by type. | * @return {object} containing lists of template names, grouped by type. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator