Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/unit_commands.js
Show All 11 Lines | var g_unitPanelButtons = { | ||||
"Command": 0, | "Command": 0, | ||||
"AllyCommand": 0, | "AllyCommand": 0, | ||||
"Stance": 0, | "Stance": 0, | ||||
"Gate": 0, | "Gate": 0, | ||||
"Pack": 0, | "Pack": 0, | ||||
"Upgrade": 0 | "Upgrade": 0 | ||||
}; | }; | ||||
var g_IsFirstCommandPage = true; | |||||
/** | /** | ||||
* Set the position of a panel object according to the index, | * Set the position of a panel object according to the index, | ||||
* from left to right, from top to bottom. | * from left to right, from top to bottom. | ||||
* Will wrap around to subsequent rows if the index | * Will wrap around to subsequent rows if the index | ||||
* is larger than rowLength. | * is larger than rowLength. | ||||
*/ | */ | ||||
function setPanelObjectPosition(object, index, rowLength, vMargin = 1, hMargin = 1) | function setPanelObjectPosition(object, index, rowLength, vMargin = 1, hMargin = 1) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator