Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/summary/layout.js
Show First 20 Lines • Show All 211 Lines • ▼ Show 20 Lines | "misc": { | ||||
], | ], | ||||
"teamCounterFn": calculateMiscellaneousTeam | "teamCounterFn": calculateMiscellaneousTeam | ||||
} | } | ||||
}); | }); | ||||
function getColoredTypeTranslation(type) | function getColoredTypeTranslation(type) | ||||
{ | { | ||||
return g_SummaryTypes[type].color ? | return g_SummaryTypes[type].color ? | ||||
coloredText(g_SummaryTypes[type].caption, g_SummaryTypes[type].color) : | setStringTags(g_SummaryTypes[type].caption, g_SummaryTypes[type].textTags) : | ||||
g_SummaryTypes[type].caption; | g_SummaryTypes[type].caption; | ||||
} | } | ||||
function resetGeneralPanel() | function resetGeneralPanel() | ||||
{ | { | ||||
for (let h = 0; h < g_MaxHeadingTitle; ++h) | for (let h = 0; h < g_MaxHeadingTitle; ++h) | ||||
{ | { | ||||
Engine.GetGUIObjectByName("titleHeading[" + h + "]").hidden = true; | Engine.GetGUIObjectByName("titleHeading[" + h + "]").hidden = true; | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator