1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/config/widgets/battleWindow.json

136 lines
2.3 KiB
JSON
Raw Normal View History

2022-12-25 12:22:07 +02:00
{
"items":
[
{
"type": "picture",
"name": "menuTactics",
"position": {"x": 0, "y": 556},
"image": "COPLACBR.bmp"
},
{
"type": "picture",
"name": "menuBattle",
"position": {"x": 0, "y": 556},
"image": "CBAR.bmp"
},
2022-12-25 12:22:07 +02:00
{
"type": "button",
"name": "options",
"position": {"x": 3, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm003",
"zelp": 381,
"callback": "options",
"hotkey": "o"
},
{
"type": "button",
"name": "surrender",
"position": {"x": 54, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm001",
"zelp": 379,
"callback": "surrender",
"hotkey": "s"
},
{
"type": "button",
"name": "flee",
"position": {"x": 105, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm002",
"zelp": 380,
"callback": "flee",
"hotkey": "r"
},
{
"type": "button",
"name": "autofight",
"position": {"x": 157, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm004",
"zelp": 382,
"callback": "autofight",
"hotkey": "a"
},
{
"type": "button",
"name": "cast",
"position": {"x": 645, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm005",
"zelp": 385,
"callback": "spellbook",
"hotkey": "c"
},
{
"type": "button",
"name": "wait",
"position": {"x": 696, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm006",
"zelp": 386,
"callback": "wait",
"hotkey": "w"
},
{
"type": "button",
"name": "defence",
"position": {"x": 747, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "icm007",
"zelp": 387,
"callback": "defence",
"hotkey": ["d", "space"]
},
{
"type": "button",
"name": "consoleUp",
"position": {"x": 624, "y": 561},
2022-12-25 12:22:07 +02:00
"image": "ComSlide",
"zelp": "",
"callback": "consoleUp",
"imageOrder": [0, 1, 0, 0],
"hotkey": "up"
},
{
"type": "button",
"name": "consoleDown",
"position": {"x": 624, "y": 580},
2022-12-25 12:22:07 +02:00
"image": "ComSlide",
"zelp": "",
"callback": "consoleDown",
"imageOrder": [2, 3, 2, 2],
"hotkey": "down"
},
{
"type": "battleConsole",
"name": "console",
"imagePosition" : { "x" : 211, "y" : 4 },
"rect": {"x": 211, "y": 561, "w": 406, "h": 38}
},
{
"type": "button",
"name": "tacticNext",
"position": {"x": 213, "y": 561},
"image": "icm011",
"zelp": "",
"callback": "tacticNext",
"hotkey": "space"
},
{
"type": "button",
"name": "tacticEnd",
"position": {"x": 419, "y": 561},
"image": "icm012",
"zelp": "",
"callback": "tacticEnd",
"hotkey": "enter"
2022-12-25 12:22:07 +02:00
}
]
2022-12-25 12:22:07 +02:00
}