2023-02-12 20:25:59 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"library" : "config/widgets/settings/library.json",
|
|
|
|
|
2023-02-12 20:25:59 +02:00
|
|
|
"items":
|
|
|
|
[
|
2023-03-03 18:14:20 +02:00
|
|
|
{
|
|
|
|
"name": "lineLabelsEnd",
|
|
|
|
"type": "texture",
|
|
|
|
"image": "settingsWindow/lineHorizontal",
|
|
|
|
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
|
2023-03-03 00:24:05 +02:00
|
|
|
},
|
2023-03-05 15:47:16 +02:00
|
|
|
/////////////////////////////////////// Left section - Hero Speed and Map Scrolling
|
2023-03-02 23:17:57 +02:00
|
|
|
{
|
|
|
|
"name": "frameHeroMovement",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameMovement",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 6, "y": 50 }
|
2023-03-03 00:24:05 +02:00
|
|
|
},
|
|
|
|
{
|
2023-03-02 23:17:57 +02:00
|
|
|
"name": "frameEnemyMovement",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameMovement",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 6, "y": 110 }
|
2023-03-02 23:17:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "frameMapMovement",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/frameMovement",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 6, "y": 170 }
|
2023-03-02 23:17:57 +02:00
|
|
|
},
|
|
|
|
|
2023-02-12 20:25:59 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout60",
|
|
|
|
"customType" : "labelCentered",
|
|
|
|
"position": {"x": 150, "y": 62},
|
2023-02-12 20:25:59 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.569" // Hero Speed
|
2023-02-12 20:25:59 +02:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.570" // Enemy Speed
|
2023-02-12 20:25:59 +02:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.571" // Scrolling Speed
|
2023-02-12 20:25:59 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-04 00:33:16 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout60",
|
|
|
|
"customType" : "labelCentered",
|
|
|
|
"position": {"x": 324, "y": 90},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "heroSpeedValueLabel",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enemySpeedValueLabel",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mapScrollingValueLabel",
|
|
|
|
}
|
|
|
|
]
|
2023-03-04 00:33:16 +02:00
|
|
|
},
|
2023-02-12 20:25:59 +02:00
|
|
|
{
|
|
|
|
"name": "heroMovementSpeedPicker",
|
|
|
|
"type": "toggleGroup",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 73},
|
2023-02-12 20:25:59 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 200,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb1",
|
|
|
|
"help": "core.help.349",
|
|
|
|
"position": {"x": 0, "y": 0}
|
|
|
|
},
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 150,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb2",
|
|
|
|
"help": "core.help.350",
|
|
|
|
"position": {"x": 48, "y": 0}
|
|
|
|
},
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 100,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-04 00:33:16 +02:00
|
|
|
"image": "sysopb5",
|
2023-03-03 15:23:37 +02:00
|
|
|
"help": "core.help.350",
|
2023-02-12 20:25:59 +02:00
|
|
|
"position": {"x": 96, "y": 0}
|
|
|
|
},
|
2023-03-03 15:23:37 +02:00
|
|
|
{
|
|
|
|
"index": 50,
|
|
|
|
"type": "toggleButton",
|
2023-03-04 00:33:16 +02:00
|
|
|
"image": "sysopb6",
|
2023-03-03 15:23:37 +02:00
|
|
|
"help": "core.help.351",
|
|
|
|
"position": {"x": 144, "y": 0}
|
2023-03-03 16:14:32 +02:00
|
|
|
},
|
2023-03-03 15:23:37 +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
|
|
|
},
|
2023-02-12 20:25:59 +02:00
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 0,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb4",
|
|
|
|
"help": "core.help.352",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 240, "y": 0}
|
2023-02-12 20:25:59 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"callback": "playerHeroSpeedChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "enemyMovementSpeedPicker",
|
|
|
|
"type": "toggleGroup",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 133},
|
2023-02-12 20:25:59 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 150,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-04 00:33:16 +02:00
|
|
|
"image": "sysopb1",
|
2023-02-12 20:25:59 +02:00
|
|
|
"help": "core.help.353",
|
|
|
|
"position": {"x": 0, "y": 0}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 100,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-04 00:33:16 +02:00
|
|
|
"image": "sysopb5",
|
2023-03-03 15:23:37 +02:00
|
|
|
"help": "core.help.353",
|
2023-02-12 20:25:59 +02:00
|
|
|
"position": {"x": 48, "y": 0}
|
|
|
|
},
|
|
|
|
|
2023-03-03 15:23:37 +02:00
|
|
|
{
|
|
|
|
"index": 50,
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb6",
|
|
|
|
"help": "core.help.354",
|
|
|
|
"position": {"x": 96, "y": 0}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"index": 25,
|
|
|
|
"type": "toggleButton",
|
2023-03-04 00:33:16 +02:00
|
|
|
"image": "sysopb3",
|
2023-03-03 15:23:37 +02:00
|
|
|
"help": "core.help.354",
|
|
|
|
"position": {"x": 144, "y": 0}
|
|
|
|
},
|
|
|
|
|
2023-02-12 20:25:59 +02:00
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": 0,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb7",
|
|
|
|
"help": "core.help.355",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 192, "y": 0}
|
2023-02-12 20:25:59 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-02-19 00:36:40 +02:00
|
|
|
"index": -1,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopb8",
|
|
|
|
"help": "core.help.356",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 240, "y": 0}
|
2023-02-12 20:25:59 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"callback": "enemyHeroSpeedChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "mapScrollSpeedPicker",
|
|
|
|
"type": "toggleGroup",
|
2023-03-03 18:14:20 +02:00
|
|
|
"position": {"x": 10, "y": 193},
|
2023-02-12 20:25:59 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-05 20:14:23 +02:00
|
|
|
"index": 200,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "vcmi.adventureOptions.mapScrollSpeed1",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 0, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "mapScrollSpeed1",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed1",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 20:25:59 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-03-05 20:14:23 +02:00
|
|
|
"index": 400,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.357",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 48, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "mapScrollSpeed2",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed2",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
2023-02-12 20:25:59 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2023-03-05 20:14:23 +02:00
|
|
|
"index": 800,
|
2023-02-12 20:25:59 +02:00
|
|
|
"type": "toggleButton",
|
2023-03-03 15:23:37 +02:00
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.358",
|
2023-03-03 15:23:37 +02:00
|
|
|
"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
|
|
|
|
2023-03-03 15:23:37 +02:00
|
|
|
{
|
|
|
|
"index": 1200,
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "settingsWindow/button46",
|
2023-03-04 18:57:22 +02:00
|
|
|
"help": "core.help.359",
|
2023-03-03 15:23:37 +02:00
|
|
|
"position": {"x": 144, "y": 0},
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "mapScrollSpeed4",
|
|
|
|
"type": "picture",
|
|
|
|
"image": "settingsWindow/scrollSpeed4",
|
|
|
|
"position": {"x": 0, "y": 0 }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-03-05 20:14:23 +02:00
|
|
|
"index": 2400, // TODO
|
2023-03-03 15:23:37 +02:00
|
|
|
"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 }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2023-03-05 20:14:23 +02:00
|
|
|
"index": 4800, // TODO
|
2023-03-03 15:23:37 +02:00
|
|
|
"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 }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-02-12 20:25:59 +02:00
|
|
|
],
|
|
|
|
"callback": "mapScrollSpeedChanged"
|
|
|
|
},
|
2023-03-05 23:53:06 +02:00
|
|
|
|
|
|
|
/////////////////////////////////////// Right section - Original H3 options
|
2023-02-14 00:53:28 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "labelDescription",
|
|
|
|
"position": {"x": 415, "y": 55},
|
2023-02-14 00:53:28 +02:00
|
|
|
"items":
|
|
|
|
[
|
2023-03-03 16:32:01 +02:00
|
|
|
{
|
|
|
|
"text": "core.genrltxt.572" // TODO: show move path
|
|
|
|
},
|
2023-02-14 00:53:28 +02:00
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.573" // show hero reminder
|
2023-02-14 00:53:28 +02:00
|
|
|
},
|
|
|
|
{
|
2023-03-03 16:14:32 +02:00
|
|
|
"text": "core.genrltxt.574" // quick combat
|
2023-02-14 00:53:28 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-03-03 16:32:01 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type" : "verticalLayout",
|
|
|
|
"customType" : "checkbox",
|
2023-03-05 23:53:06 +02:00
|
|
|
"position": {"x": 380, "y": 53},
|
2023-05-15 13:00:52 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "showMovePathPlaceholder",
|
|
|
|
"type": "checkboxFake",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "heroReminderCheckbox",
|
|
|
|
"help": "core.help.361",
|
|
|
|
"callback": "heroReminderChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "quickCombatCheckbox",
|
|
|
|
"help": "core.help.362",
|
|
|
|
"callback": "quickCombatChanged"
|
|
|
|
},
|
|
|
|
]
|
2023-03-03 16:32:01 +02:00
|
|
|
},
|
2023-03-05 23:53:06 +02:00
|
|
|
/////////////////////////////////////// Bottom section - VCMI Options
|
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type": "verticalLayout",
|
|
|
|
"customType": "labelDescription",
|
|
|
|
"position": {"x": 45, "y": 295},
|
2023-03-05 23:53:06 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"text": "vcmi.adventureOptions.numericQuantities.hover"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.adventureOptions.forceMovementInfo.hover"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "vcmi.adventureOptions.showGrid.hover"
|
|
|
|
},
|
|
|
|
{
|
2023-06-01 17:48:31 +02:00
|
|
|
"text": "vcmi.adventureOptions.infoBarPick.hover"
|
2023-03-07 02:29:04 +02:00
|
|
|
},
|
|
|
|
{
|
2023-06-01 17:48:31 +02:00
|
|
|
"text": "vcmi.adventureOptions.borderScroll.hover"
|
2023-03-05 23:53:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-02-14 00:53:28 +02:00
|
|
|
{
|
2023-05-15 13:00:52 +02:00
|
|
|
"type": "verticalLayout",
|
|
|
|
"customType": "checkbox",
|
2023-03-05 23:53:06 +02:00
|
|
|
"position": {"x": 10, "y": 293},
|
2023-05-15 13:00:52 +02:00
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "numericQuantitiesCheckbox",
|
|
|
|
"help": "vcmi.adventureOptions.numericQuantities",
|
|
|
|
"callback": "numericQuantitiesChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "forceMovementInfoCheckbox",
|
|
|
|
"help": "vcmi.adventureOptions.forceMovementInfo",
|
|
|
|
"callback": "forceMovementInfoChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showGridCheckbox",
|
|
|
|
"help": "vcmi.adventureOptions.showGrid",
|
|
|
|
"callback": "showGridChanged"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "infoBarPickCheckbox",
|
|
|
|
"help": "vcmi.adventureOptions.infoBarPick",
|
|
|
|
"callback": "infoBarPickChanged"
|
2023-06-01 17:48:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "borderScrollCheckbox",
|
|
|
|
"help": "vcmi.adventureOptions.borderScroll",
|
|
|
|
"callback": "borderScrollChanged"
|
2023-05-15 13:00:52 +02:00
|
|
|
}
|
|
|
|
]
|
2023-03-07 02:29:04 +02:00
|
|
|
}
|
2023-02-12 20:25:59 +02:00
|
|
|
]
|
2023-02-19 00:36:40 +02:00
|
|
|
}
|