Ticket #2866: summary.js.patch
File summary.js.patch, 3.8 KB (added by , 10 years ago) |
---|
-
summary.js
37 37 { 38 38 // LOCAL CONSTS, VARIABLES & FUNCTIONS 39 39 // const for filtering long collective headings 40 const LONG_HEADING_WIDTH = 2 50;40 const LONG_HEADING_WIDTH = 260; 41 41 // number of panels 42 42 const PANELS_COUNT = 6; 43 43 // alpha for player box … … 86 86 "buildingsHeading": {"yStart": 16, "width": (85 * 7 + 105) }, // width = 735 87 87 "totalBuildingsHeading": {"yStart": 34, "width": 105 }, 88 88 "houseBuildingsHeading": {"yStart": 34, "width": 85 }, 89 "economicBuildingsHeading": {"yStart": 34, "width": 85},90 "outpostBuildingsHeading": {"yStart": 34, "width": 8 5},89 "economicBuildingsHeading": {"yStart": 34, "width": 90 }, 90 "outpostBuildingsHeading": {"yStart": 34, "width": 87 }, 91 91 "militaryBuildingsHeading": {"yStart": 34, "width": 85 }, 92 92 "fortressBuildingsHeading": {"yStart": 34, "width": 85 }, 93 "civCentreBuildingsHeading": {"yStart": 34, "width": 85},93 "civCentreBuildingsHeading": {"yStart": 34, "width": 110 }, 94 94 "wonderBuildingsHeading": {"yStart": 34, "width": 85 } 95 95 }, 96 96 "counters": { // counters on buildings panel 97 97 "totalBuildings": {"width": 105, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 98 98 "houseBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 99 "economicBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },100 "outpostBuildings": {"width": 8 5, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },99 "economicBuildings": {"width": 90, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 100 "outpostBuildings": {"width": 87, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 101 101 "militaryBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 102 102 "fortressBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 103 "civCentreBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },103 "civCentreBuildings": {"width": 110, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 104 104 "wonderBuildings": {"width": 85, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] } 105 105 } 106 106 }, … … 155 155 "exchangedWoodHeading": {"yStart": 16, "width": 100 }, 156 156 "exchangedStoneHeading": {"yStart": 16, "width": 100 }, 157 157 "exchangedMetalHeading": {"yStart": 16, "width": 100 }, 158 "barterEfficiencyHeading": {"yStart": 16, "width": 1 00 },159 "tradeIncomeHeading": {"yStart": 16, "width": 1 00 }158 "barterEfficiencyHeading": {"yStart": 16, "width": 110 }, 159 "tradeIncomeHeading": {"yStart": 16, "width": 130 } 160 160 }, 161 161 "counters": { // counters on market panel 162 162 "exchangedFood": {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, … … 163 163 "exchangedWood": {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 164 164 "exchangedStone": {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 165 165 "exchangedMetal": {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 166 "barterEfficiency": {"width": 1 00, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },167 "tradeIncome": {"width": 1 00, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }166 "barterEfficiency": {"width": 110, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }, 167 "tradeIncome": {"width": 130, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] } 168 168 } 169 169 }, 170 170 "miscelanous": { // miscelanous panel