Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/summary/summary.js
Show First 20 Lines • Show All 396 Lines • ▼ Show 20 Lines | for (let i = 0; i < g_PlayerCount; ++i) | ||||
rowPlayerObject.sprite = colorString + " " + g_PlayerBoxAlpha; | rowPlayerObject.sprite = colorString + " " + g_PlayerBoxAlpha; | ||||
let boxSize = rowPlayerObject.size; | let boxSize = rowPlayerObject.size; | ||||
boxSize.right = rowPlayerObjectWidth; | boxSize.right = rowPlayerObjectWidth; | ||||
rowPlayerObject.size = boxSize; | rowPlayerObject.size = boxSize; | ||||
setOutcomeIcon(playerState.state, playerOutcome); | setOutcomeIcon(playerState.state, playerOutcome); | ||||
Engine.GetGUIObjectByName(playerNameColumn).caption = g_GameData.sim.playerStates[i + 1].name; | playerNameColumn = Engine.GetGUIObjectByName(playerNameColumn); | ||||
playerNameColumn.caption = g_GameData.sim.playerStates[i + 1].name; | |||||
playerNameColumn.tooltip = translateAISettings(g_GameData.sim.mapSettings.PlayerData[i + 1]); | |||||
let civIcon = Engine.GetGUIObjectByName(playerCivicBoxColumn); | let civIcon = Engine.GetGUIObjectByName(playerCivicBoxColumn); | ||||
civIcon.sprite = "stretched:" + g_CivData[playerState.civ].Emblem; | civIcon.sprite = "stretched:" + g_CivData[playerState.civ].Emblem; | ||||
civIcon.tooltip = g_CivData[playerState.civ].Name; | civIcon.tooltip = g_CivData[playerState.civ].Name; | ||||
updateCountersPlayer(playerState, panelInfo.counters, panelInfo.headings, playerCounterValue, index); | updateCountersPlayer(playerState, panelInfo.counters, panelInfo.headings, playerCounterValue, index); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator