1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/config/widgets/settings/adventureOptionsTab.json

353 lines
7.5 KiB
JSON
Raw Normal View History

{
"items":
[
{
"name": "lineMovementEnd",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 240, "w": 365, "h": 3}
},
{
"name": "frameHeroMovement",
"type": "picture",
"image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 57 }
},
{
"name": "frameEnemyMovement",
"type": "picture",
"image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 117 }
},
{
"name": "frameMapMovement",
"type": "picture",
"image": "settingsWindow/frameMovement",
"position": {"x": 6, "y": 177 }
},
{
"name": "topSettingsLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "center",
"color": "yellow",
"items":
[
{
2023-03-03 16:14:32 +02:00
"position": {"x": 150, "y": 70},
"text": "core.genrltxt.569" // Hero Speed
},
{
2023-03-03 16:14:32 +02:00
"position": {"x": 150, "y": 130},
"text": "core.genrltxt.570" // Enemy Speed
},
{
2023-03-03 16:14:32 +02:00
"position": {"x": 150, "y": 190},
"text": "core.genrltxt.571" // Scrolling Speed
}
]
},
{
"name": "heroMovementSpeedPicker",
"type": "toggleGroup",
"position": {"x": 10, "y": 80},
"items":
[
{
"index": 200,
"type": "toggleButton",
"image": "sysopb1",
"help": "core.help.349",
"position": {"x": 0, "y": 0}
},
{
"index": 150,
"type": "toggleButton",
"image": "sysopb2",
"help": "core.help.350",
"position": {"x": 48, "y": 0}
},
{
"index": 100,
"type": "toggleButton",
"image": "sysopb2",
"help": "core.help.350",
"position": {"x": 96, "y": 0}
},
{
"index": 50,
"type": "toggleButton",
"image": "sysopb3",
"help": "core.help.351",
"position": {"x": 144, "y": 0}
2023-03-03 16:14:32 +02:00
},
{
"index": 25,
"type": "toggleButton",
"image": "sysopb3",
"help": "core.help.351",
"position": {"x": 192, "y": 0}
2023-03-03 16:14:32 +02:00
},
{
"index": 0,
"type": "toggleButton",
"image": "sysopb4",
"help": "core.help.352",
"position": {"x": 240, "y": 0}
}
],
"callback": "playerHeroSpeedChanged"
},
{
"name": "enemyMovementSpeedPicker",
"type": "toggleGroup",
"position": {"x": 10, "y": 140},
"items":
[
{
"index": 150,
"type": "toggleButton",
"image": "sysopb5",
"help": "core.help.353",
"position": {"x": 0, "y": 0}
},
{
"index": 100,
"type": "toggleButton",
"image": "sysopb6",
"help": "core.help.353",
"position": {"x": 48, "y": 0}
},
{
"index": 50,
"type": "toggleButton",
"image": "sysopb6",
"help": "core.help.354",
"position": {"x": 96, "y": 0}
},
{
"index": 25,
"type": "toggleButton",
"image": "sysopb7",
"help": "core.help.354",
"position": {"x": 144, "y": 0}
},
{
"index": 0,
"type": "toggleButton",
"image": "sysopb7",
"help": "core.help.355",
"position": {"x": 192, "y": 0}
},
{
"index": -1,
"type": "toggleButton",
"image": "sysopb8",
"help": "core.help.356",
"position": {"x": 240, "y": 0}
}
],
"callback": "enemyHeroSpeedChanged"
},
{
"name": "mapScrollSpeedPicker",
"type": "toggleGroup",
"position": {"x": 10, "y": 200},
"items":
[
{
"index": 400,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.357",
"position": {"x": 0, "y": 0},
"items":
[
{
"name": "mapScrollSpeed1",
"type": "picture",
"image": "settingsWindow/scrollSpeed1",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": 800,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.358",
"position": {"x": 48, "y": 0},
"items":
[
{
"name": "mapScrollSpeed2",
"type": "picture",
"image": "settingsWindow/scrollSpeed2",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": 3,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "core.help.359",
"position": {"x": 96, "y": 0},
"items":
[
{
"name": "mapScrollSpeed3",
"type": "picture",
"image": "settingsWindow/scrollSpeed3",
"position": {"x": 0, "y": 0 }
}
]
},
2023-02-14 23:22:11 +02:00
{
"index": 1200,
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "vcmi.adventureOptions.mapScrollSpeed4",
"position": {"x": 144, "y": 0},
"items":
[
{
"name": "mapScrollSpeed4",
"type": "picture",
"image": "settingsWindow/scrollSpeed4",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": -1, // TODO
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "vcmi.adventureOptions.mapScrollSpeed5",
"position": {"x": 192, "y": 0},
"items":
[
{
"name": "mapScrollSpeed5",
"type": "picture",
"image": "settingsWindow/scrollSpeed5",
"position": {"x": 0, "y": 0 }
}
]
},
{
"index": -2, // TODO
"type": "toggleButton",
"image": "settingsWindow/button46",
"help": "vcmi.adventureOptions.mapScrollSpeed6",
"position": {"x": 240, "y": 0},
"items":
[
{
"name": "mapScrollSpeed6",
"type": "picture",
"image": "settingsWindow/scrollSpeed6",
"position": {"x": 0, "y": 0 }
}
]
}
],
"callback": "mapScrollSpeedChanged"
},
{
"name": "bottomCheckboxesLabels",
"type": "labelGroup",
"font": "medium",
"alignment": "left",
"color": "white",
"items":
[
2023-03-03 16:32:01 +02:00
{
"position": {"x": 45, "y": 302},
"text": "core.genrltxt.572" // TODO: show move path
},
{
"position": {"x": 45, "y": 332},
2023-03-03 16:14:32 +02:00
"text": "core.genrltxt.573" // show hero reminder
},
{
"position": {"x": 45, "y": 362},
2023-03-03 16:14:32 +02:00
"text": "core.genrltxt.574" // quick combat
},
{
"position": {"x": 45, "y": 392},
"text": "vcmi.adventureOptions.numericQuantities.hover"
},
{
"position": {"x": 45, "y": 422},
"text": "vcmi.adventureOptions.forceMovementInfo.hover"
},
{
"position": {"x": 45, "y": 452},
"text": "vcmi.adventureOptions.showGrid.hover"
}
]
},
2023-03-03 16:32:01 +02:00
{
"name": "showMovePathPlaceholder",
"type": "picture",
"image": "settingsWindow/checkBoxEmpty",
"position": {"x": 10, "y": 300},
},
{
"name": "heroReminderCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.361",
"position": {"x": 10, "y": 330},
"callback": "heroReminderChanged"
},
{
"name": "quickCombatCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "core.help.362",
"position": {"x": 10, "y": 360},
"callback": "quickCombatChanged"
},
{
"name": "numericQuantitiesCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.adventureOptions.numericQuantities",
"position": {"x": 10, "y": 390},
"callback": "numericQuantitiesChanged"
},
{
"name": "forceMovementInfoCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.adventureOptions.forceMovementInfo",
"position": {"x": 10, "y": 420},
"callback": "forceMovementInfoChanged"
},
{
"name": "showGridCheckbox",
"type": "toggleButton",
"image": "sysopchk.def",
"help": "vcmi.adventureOptions.showGrid",
"position": {"x": 10, "y": 450},
"callback": "showGridChanged"
}
]
}