mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
130 lines
2.5 KiB
JSON
130 lines
2.5 KiB
JSON
{
|
|
"items":
|
|
[
|
|
{
|
|
"name": "background",
|
|
"type": "picture",
|
|
"image": "ADVOPTBK",
|
|
"position": {"x": 0, "y": 6}
|
|
},
|
|
|
|
{
|
|
"name": "labelTitle",
|
|
"type": "label",
|
|
"font": "big",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.515",
|
|
"position": {"x": 222, "y": 36}
|
|
},
|
|
|
|
{
|
|
"name": "labelSubTitle",
|
|
"type": "multiLineLabel",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "white",
|
|
"text": "core.genrltxt.516",
|
|
"rect": {"x": 60, "y": 50, "w": 320, "h": 0},
|
|
"adoptHeight": true
|
|
},
|
|
|
|
{
|
|
"name": "labelPlayerNameAndHandicap",
|
|
"type": "multiLineLabel",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.517",
|
|
"rect": {"x": 58, "y": 92, "w": 100, "h": 0},
|
|
"adoptHeight": true
|
|
},
|
|
|
|
{
|
|
"name": "labelStartingTown",
|
|
"type": "multiLineLabel",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.518",
|
|
"rect": {"x": 163, "y": 92, "w": 70, "h": 0},
|
|
"adoptHeight": true
|
|
},
|
|
|
|
{
|
|
"name": "labelStartingHero",
|
|
"type": "multiLineLabel",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.519",
|
|
"rect": {"x": 239, "y": 92, "w": 70, "h": 0},
|
|
"adoptHeight": true
|
|
},
|
|
|
|
{
|
|
"name": "labelStartingBonus",
|
|
"type": "multiLineLabel",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.520",
|
|
"rect": {"x": 315, "y": 92, "w": 70, "h": 0},
|
|
"adoptHeight": true
|
|
},
|
|
|
|
// timer
|
|
{
|
|
"type": "label",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "yellow",
|
|
"text": "core.genrltxt.521",
|
|
"position": {"x": 222, "y": 544}
|
|
},
|
|
|
|
{
|
|
"name": "labelTurnDurationValue",
|
|
"type": "label",
|
|
"font": "small",
|
|
"alignment": "center",
|
|
"color": "white",
|
|
"text": "",
|
|
"position": {"x": 319, "y": 565}
|
|
},
|
|
|
|
{
|
|
"name": "sliderTurnDuration",
|
|
"type": "slider",
|
|
"orientation": "horizontal",
|
|
"position": {"x": 55, "y": 557},
|
|
"size": 194,
|
|
"callback": "setTimerPreset",
|
|
"itemsVisible": 1,
|
|
"itemsTotal": 11,
|
|
"selected": 11,
|
|
"style": "blue",
|
|
"scrollBounds": {"x": -3, "y": -25, "w": 337, "h": 43},
|
|
"panningStep": 20
|
|
},
|
|
],
|
|
|
|
"variables":
|
|
{
|
|
"timerPresets" :
|
|
[
|
|
[0, 60, 0, 0],
|
|
[0, 120, 0, 0],
|
|
[0, 240, 0, 0],
|
|
[0, 360, 0, 0],
|
|
[0, 480, 0, 0],
|
|
[0, 600, 0, 0],
|
|
[0, 900, 0, 0],
|
|
[0, 1200, 0, 0],
|
|
[0, 1500, 0, 0],
|
|
[0, 1800, 0, 0],
|
|
[0, 0, 0, 0],
|
|
]
|
|
}
|
|
}
|