battleWindow.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. "type": "picture",
  13. "name": "menuBattle",
  14. "playerColored" : true,
  15. "position": {"x": 1, "y": 555},
  16. "image": "CBAR.bmp"
  17. },
  18. {
  19. "type": "button",
  20. "name": "options",
  21. "position": {"x": 4, "y": 560},
  22. "image": "icm003",
  23. "help": "core.help.381",
  24. "callback": "options",
  25. "hotkey": "o"
  26. },
  27. {
  28. "type": "button",
  29. "name": "surrender",
  30. "position": {"x": 55, "y": 560},
  31. "image": "icm001",
  32. "help": "core.help.379",
  33. "callback": "surrender",
  34. "hotkey": "s"
  35. },
  36. {
  37. "type": "button",
  38. "name": "flee",
  39. "position": {"x": 106, "y": 560},
  40. "image": "icm002",
  41. "help": "core.help.380",
  42. "callback": "flee",
  43. "hotkey": "r"
  44. },
  45. {
  46. "type": "button",
  47. "name": "autofight",
  48. "position": {"x": 157, "y": 560},
  49. "image": "icm004",
  50. "help": "core.help.382",
  51. "callback": "autofight",
  52. "hotkey": "a"
  53. },
  54. {
  55. "type": "button",
  56. "name": "cast",
  57. "position": {"x": 646, "y": 560},
  58. "image": "icm005",
  59. "help": "core.help.385",
  60. "callback": "spellbook",
  61. "hotkey": "c"
  62. },
  63. {
  64. "type": "button",
  65. "name": "wait",
  66. "position": {"x": 697, "y": 560},
  67. "image": "icm006",
  68. "help": "core.help.386",
  69. "callback": "wait",
  70. "hotkey": "w"
  71. },
  72. {
  73. "type": "button",
  74. "name": "defence",
  75. "position": {"x": 748, "y": 560},
  76. "image": "icm007",
  77. "help": "core.help.387",
  78. "callback": "defence",
  79. "hotkey": ["d", "space"]
  80. },
  81. {
  82. "type": "button",
  83. "name": "consoleUp",
  84. "position": {"x": 625, "y": 560},
  85. "image": "ComSlide",
  86. "callback": "consoleUp",
  87. "imageOrder": [0, 1, 0, 0],
  88. "hotkey": "up"
  89. },
  90. {
  91. "type": "button",
  92. "name": "consoleDown",
  93. "position": {"x": 625, "y": 579},
  94. "image": "ComSlide",
  95. "callback": "consoleDown",
  96. "imageOrder": [2, 3, 2, 2],
  97. "hotkey": "down"
  98. },
  99. {
  100. "type": "battleConsole",
  101. "name": "console",
  102. "imagePosition" : { "x" : 214, "y" : 7 },
  103. "rect": {"x": 215, "y": 562, "w": 400, "h": 32}
  104. },
  105. {
  106. "type": "button",
  107. "name": "tacticNext",
  108. "position": {"x": 213, "y": 560},
  109. "image": "icm011",
  110. "callback": "tacticNext",
  111. "hotkey": "space"
  112. },
  113. {
  114. "type": "button",
  115. "name": "tacticEnd",
  116. "position": {"x": 419, "y": 560},
  117. "image": "icm012",
  118. "callback": "tacticEnd",
  119. "hotkey": "enter"
  120. }
  121. ]
  122. }