1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00
vcmi/config/widgets/settings/battleOptionsTab.json

378 lines
8.2 KiB
JSON

{
"items":
[
{
"name": "lineCreatureInfo",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 205, "w": 365, "h": 3}
},
{
"name": "lineAnimationSpeed",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 295, "w": 365, "h": 3}
},
{
"name": "lineQueueSize",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 365, "w": 365, "h": 3}
},
{
"name": "animationSpeedLabel",
"type": "label",
"font": "medium",
"alignment": "center",
"color": "yellow",
"text": "core.genrltxt.393",
"position": {"x": 100, "y": 310}
},
{
"name": "autoCombatOptionsLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "yellow",
"text": "core.genrltxt.396",
"position": {"x": 380, "y": 60}
},
{
"name": "creatureInfoLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "yellow",
"text": "core.genrltxt.397",
"position": {"x": 10, "y": 210}
},
{
"name": "creaturesAutoCombatLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.398",
"position": {"x": 415, "y": 90}
},
{
"name": "spellsAutoCombatLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.399",
"position": {"x": 415, "y": 120}
},
{
"name": "catapultAutoCombatLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.400",
"position": {"x": 415, "y": 150}
},
{
"name": "ballistaAutoCombatLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.151",
"position": {"x": 415, "y": 180}
},
{
"name": "aidTentAutoCombatLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.401",
"position": {"x": 415, "y": 210}
},
{
"name": "creatureInfoAllStatsLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.402",
"position": {"x": 45, "y": 240}
},
{
"name": "creatureInfoOnlySpellsLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.403",
"position": {"x": 45, "y": 270}
},
{
"name": "viewGridLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.404",
"position": {"x": 45, "y": 60}
},
{
"name": "showMovementRangeLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.405",
"position": {"x": 45, "y": 90}
},
{
"name": "mouseShadowLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.406",
"position": {"x": 45, "y": 120}
},
{
"name": "battleCasualtiesLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "core.genrltxt.407",
"position": {"x": 45, "y": 150}
},
{
"name": "viewGridCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.427",
"position": {"x": 10, "y": 60},
"callback": "viewGridChanged"
},
{
"name": "movementShadowCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.428",
"position": {"x": 10, "y": 90},
"callback": "movementShadowChanged"
},
{
"name": "mouseShadowCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.429",
"position": {"x": 10, "y": 120},
"callback": "mouseShadowChanged"
},
{
"name": "animationSpeedPicker",
"type": "toggleGroup",
"position": {"x": 10, "y": 330},
"items":
[
{
"index": 1,
"type": "toggleButton",
"image": "sysopb9",
"help": "core.help.422",
"position": {"x": 0, "y": 0}
},
{
"index": 2,
"type": "toggleButton",
"image": "sysob10",
"help": "core.help.423",
"position": {"x": 64, "y": 0}
},
{
"index": 3,
"type": "toggleButton",
"image": "sysob11",
"help": "core.help.424",
"position": {"x": 128, "y": 0}
},
{
"index": 6,
"type": "toggleButton",
"image": "buttons/square",
"help": "vcmi.battleOptions.animationsSpeed4",
"position": {"x": 192, "y": 0},
"items":
[
{
"name": "battleAnimationsSpeed4",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.animationsSpeed4.hover"
}
]
},
{
"index": 12,
"type": "toggleButton",
"image": "buttons/square",
"help": "vcmi.battleOptions.animationsSpeed5",
"position": {"x": 229, "y": 0},
"items":
[
{
"name": "battleAnimationsSpeed5",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.animationsSpeed5.hover"
}
]
},
{
"index": 24,
"type": "toggleButton",
"image": "buttons/square",
"help": "vcmi.battleOptions.animationsSpeed6",
"position": {"x": 266, "y": 0},
"items":
[
{
"name": "battleAnimationsSpeed6",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.animationsSpeed6.hover"
}
]
}
],
"callback": "animationSpeedChanged"
},
{
"name": "showQueueLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "vcmi.battleOptions.showQueue.hover",
"position": {"x": 45, "y": 370}
},
{
"name": "showQueueCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.battleOptions.showQueue",
"position": {"x": 10, "y": 370},
"callback": "showQueueChanged"
},
{
"name": "queueSizeLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "yellow",
"text": "vcmi.battleOptions.queueSizeLabel.hover",
"position": {"x": 10, "y": 400}
},
{
"name": "queueSizePicker",
"type": "toggleGroup",
"position": {"x": 10, "y": 430},
"items":
[
{
"index": 0, //auto
"type": "toggleButton",
"image": "buttons/triplewide",
"help": "vcmi.battleOptions.queueSizeAutoButton",
"position": {"x": 0, "y": 0},
"items":
[
{
"name": "queueSizeAutoText",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.queueSizeAutoButton.hover"
}
]
},
{
"index": 1, //small
"type": "toggleButton",
"image": "buttons/triplewide",
"help": "vcmi.battleOptions.queueSizeSmallButton",
"position": {"x": 113, "y": 0},
"items":
[
{
"name": "queueSizeSmallText",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.queueSizeSmallButton.hover"
}
]
},
{
"index": 2, //large
"type": "toggleButton",
"image": "buttons/triplewide",
"help": "vcmi.battleOptions.queueSizeBigButton",
"position": {"x": 226, "y": 0},
"items":
[
{
"name": "queueSizeBigText",
"type": "label",
"font": "big",
"alignment": "center",
"color": "yellow",
"text": "vcmi.battleOptions.queueSizeBigButton.hover"
}
]
}
],
"callback": "queueSizeChanged"
},
{
"name": "skipBattleIntroMusicLabel",
"type": "label",
"font": "medium",
"alignment": "left",
"color": "white",
"text": "vcmi.battleOptions.skipBattleIntroMusic.hover",
"position": {"x": 45, "y": 180}
},
{
"name": "skipBattleIntroMusicCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.battleOptions.skipBattleIntroMusic",
"position": {"x": 10, "y": 180},
"callback": "skipBattleIntroMusicChanged"
}
]
}