battleWindow2.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "items":
  3. [
  4. {
  5. "type": "picture",
  6. "name": "menuTactics",
  7. "playerColored" : true,
  8. "position": {"x": 0, "y": 556},
  9. "image": "COPLACBR.bmp"
  10. },
  11. {
  12. // fix transparent gap between content and border
  13. "type": "transparentFilledRectangle",
  14. "rect": {"x": 0, "y": 555, "w": 801, "h": 46},
  15. "color": [0, 0, 0, 255]
  16. },
  17. {
  18. "type": "picture",
  19. "name": "menuBattle",
  20. "playerColored" : true,
  21. "position": {"x": 1, "y": 555},
  22. "image": "CBAR.bmp"
  23. },
  24. {
  25. "type": "button",
  26. "name": "options",
  27. "position": {"x": 4, "y": 560},
  28. "image": "icm003",
  29. "help": "core.help.381",
  30. "hotkey": "globalOptions"
  31. },
  32. {
  33. "type": "button",
  34. "name": "surrender",
  35. "position": {"x": 55, "y": 560},
  36. "image": "icm001",
  37. "help": "core.help.379",
  38. "hotkey": "battleSurrender"
  39. },
  40. {
  41. "type": "button",
  42. "name": "flee",
  43. "position": {"x": 106, "y": 560},
  44. "image": "icm002",
  45. "help": "core.help.380",
  46. "hotkey": "battleRetreat"
  47. },
  48. {
  49. "type": "button",
  50. "name": "autofight",
  51. "position": {"x": 157, "y": 560},
  52. "image": "icm004",
  53. "help": "core.help.382",
  54. "hotkey": "battleAutocombat"
  55. },
  56. {
  57. "type": "button",
  58. "name": "cast",
  59. "position": {"x": 646, "y": 560},
  60. "image": "icm005",
  61. "help": "core.help.385",
  62. "hotkey": "battleCastSpell"
  63. },
  64. {
  65. "type": "button",
  66. "name": "wait",
  67. "position": {"x": 697, "y": 560},
  68. "image": "icm006",
  69. "help": "core.help.386",
  70. "hotkey": "battleWait"
  71. },
  72. {
  73. "type": "button",
  74. "name": "defence",
  75. "position": {"x": 748, "y": 560},
  76. "image": "icm007",
  77. "help": "core.help.387",
  78. "hotkey": "battleDefend"
  79. },
  80. {
  81. "type": "button",
  82. "name": "consoleUp",
  83. "position": {"x": 625, "y": 560},
  84. "image": "ComSlide",
  85. "imageOrder": [0, 1, 0, 0],
  86. "hotkey": "battleConsoleUp"
  87. },
  88. {
  89. "type": "button",
  90. "name": "consoleDown",
  91. "position": {"x": 625, "y": 579},
  92. "image": "ComSlide",
  93. "imageOrder": [2, 3, 2, 2],
  94. "hotkey": "battleConsoleDown"
  95. },
  96. {
  97. "type": "battleConsole",
  98. "name": "console",
  99. "imagePosition" : { "x" : 214, "y" : 7 },
  100. "rect": {"x": 215, "y": 562, "w": 400, "h": 32}
  101. },
  102. {
  103. "type": "button",
  104. "name": "tacticNext",
  105. "position": {"x": 213, "y": 560},
  106. "image": "icm011",
  107. "hotkey": "battleTacticsNext"
  108. },
  109. {
  110. "type": "button",
  111. "name": "tacticEnd",
  112. "position": {"x": 419, "y": 560},
  113. "image": "icm012",
  114. "hotkey": "battleTacticsEnd"
  115. }
  116. ]
  117. }