Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/options/options.js
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | function init(data, hotloadData) | ||||
g_TabCategorySelected = hotloadData ? hotloadData.tabCategorySelected : 0; | g_TabCategorySelected = hotloadData ? hotloadData.tabCategorySelected : 0; | ||||
g_Options = Engine.ReadJSONFile("gui/options/options.json"); | g_Options = Engine.ReadJSONFile("gui/options/options.json"); | ||||
translateObjectKeys(g_Options, ["label", "tooltip"]); | translateObjectKeys(g_Options, ["label", "tooltip"]); | ||||
deepfreeze(g_Options); | deepfreeze(g_Options); | ||||
placeTabButtons( | placeTabButtons( | ||||
g_Options, | g_Options, | ||||
false, | |||||
g_TabButtonHeight, | g_TabButtonHeight, | ||||
g_TabButtonDist, | g_TabButtonDist, | ||||
selectPanel, | selectPanel, | ||||
displayOptions); | displayOptions); | ||||
} | } | ||||
function getHotloadData() | function getHotloadData() | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator