2023-01-29 16:49:47 +01:00
|
|
|
{
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-02-13 23:53:28 +01:00
|
|
|
"name": "topSettingsLabels",
|
2023-01-29 16:49:47 +01:00
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 100, "y": 60},
|
2023-01-29 16:49:47 +01:00
|
|
|
"text": "vcmi.systemOptions.resolutionButton.hover"
|
|
|
|
},
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 100, "y": 130},
|
2023-01-29 16:49:47 +01:00
|
|
|
"text": "core.genrltxt.394"
|
|
|
|
},
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 100, "y": 190},
|
2023-01-29 16:49:47 +01:00
|
|
|
"text": "core.genrltxt.395"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "resolutionButton",
|
|
|
|
"type": "button",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 70},
|
2023-01-29 16:49:47 +01:00
|
|
|
"image": "buttons/resolution",
|
|
|
|
"help": "vcmi.systemOptions.resolutionButton",
|
|
|
|
"callback": "setGameResolution",
|
|
|
|
"hotkey": "g"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "resolutionLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "center",
|
|
|
|
"color": "yellow",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 160, "y": 85}
|
2023-01-29 16:49:47 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "musicSlider",
|
|
|
|
"type": "slider",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 150},
|
2023-01-29 16:49:47 +01:00
|
|
|
"size": 190,
|
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setMusic"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "soundVolumeSlider",
|
|
|
|
"type": "slider",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 210},
|
2023-01-29 16:49:47 +01:00
|
|
|
"size": 190,
|
|
|
|
"style": "brown",
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"itemsVisible": 0,
|
|
|
|
"itemsTotal": 100,
|
|
|
|
"callback": "setVolume"
|
2023-02-13 23:53:28 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "bottomCheckboxesLabels",
|
|
|
|
"type": "labelGroup",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"items":
|
|
|
|
[
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 45, "y": 330},
|
2023-02-13 23:53:28 +01:00
|
|
|
"text": "core.genrltxt.577"
|
|
|
|
},
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 45, "y": 360},
|
2023-02-13 23:53:28 +01:00
|
|
|
"text": "vcmi.systemOptions.fullscreenButton.hover"
|
|
|
|
},
|
|
|
|
{
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 45, "y": 390},
|
2023-02-13 23:53:28 +01:00
|
|
|
"text": "vcmi.systemOptions.framerateButton.hover"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "spellbookAnimationCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "core.help.364",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 330},
|
2023-02-13 23:53:28 +01:00
|
|
|
"callback": "spellbookAnimationChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "fullscreenCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.fullscreenButton",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 360},
|
2023-02-13 23:53:28 +01:00
|
|
|
"callback": "fullscreenChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "framerateCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.systemOptions.framerateButton",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 390},
|
2023-02-13 23:53:28 +01:00
|
|
|
"callback": "framerateChanged"
|
2023-02-18 16:35:07 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "availableCreaturesAsDwellingLabelText",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 45, "y": 420}
|
2023-02-18 16:35:07 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "availableCreaturesAsDwellingLabelCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.availableCreaturesAsDwellingLabel",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 420},
|
2023-02-18 16:35:07 +01:00
|
|
|
"callback": "availableCreaturesAsDwellingLabelChanged"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "compactTownCreatureInfoLabel",
|
|
|
|
"type": "label",
|
|
|
|
"font": "medium",
|
|
|
|
"alignment": "left",
|
|
|
|
"color": "white",
|
|
|
|
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 45, "y": 450}
|
2023-02-18 16:35:07 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name": "compactTownCreatureInfoCheckbox",
|
|
|
|
"type": "toggleButton",
|
|
|
|
"image": "sysopchk.def",
|
|
|
|
"help": "vcmi.otherOptions.compactTownCreatureInfo",
|
2023-03-02 21:53:44 +02:00
|
|
|
"position": {"x": 10, "y": 450},
|
2023-02-18 16:35:07 +01:00
|
|
|
"callback": "compactTownCreatureInfoChanged"
|
2023-01-29 16:49:47 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|