adventureOptionsTab.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. {
  2. "items":
  3. [
  4. {
  5. "name": "lineLabelsEnd",
  6. "type": "texture",
  7. "image": "settingsWindow/lineHorizontal",
  8. "rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
  9. },
  10. {
  11. "name": "frameHeroMovement",
  12. "type": "picture",
  13. "image": "settingsWindow/frameMovement",
  14. "position": {"x": 6, "y": 50 }
  15. },
  16. {
  17. "name": "frameEnemyMovement",
  18. "type": "picture",
  19. "image": "settingsWindow/frameMovement",
  20. "position": {"x": 6, "y": 110 }
  21. },
  22. {
  23. "name": "frameMapMovement",
  24. "type": "picture",
  25. "image": "settingsWindow/frameMovement",
  26. "position": {"x": 6, "y": 170 }
  27. },
  28. {
  29. "name": "topSettingsLabels",
  30. "type": "labelGroup",
  31. "font": "medium",
  32. "alignment": "center",
  33. "color": "yellow",
  34. "items":
  35. [
  36. {
  37. "position": {"x": 150, "y": 62},
  38. "text": "core.genrltxt.569" // Hero Speed
  39. },
  40. {
  41. "position": {"x": 150, "y": 122},
  42. "text": "core.genrltxt.570" // Enemy Speed
  43. },
  44. {
  45. "position": {"x": 150, "y": 182},
  46. "text": "core.genrltxt.571" // Scrolling Speed
  47. }
  48. ]
  49. },
  50. {
  51. "name": "heroSpeedValueLabel",
  52. "type": "label",
  53. "font": "medium",
  54. "alignment": "center",
  55. "color": "yellow",
  56. "position": {"x": 324, "y": 90}
  57. },
  58. {
  59. "name": "heroMovementSpeedPicker",
  60. "type": "toggleGroup",
  61. "position": {"x": 10, "y": 73},
  62. "items":
  63. [
  64. {
  65. "index": 200,
  66. "type": "toggleButton",
  67. "image": "sysopb1",
  68. "help": "core.help.349",
  69. "position": {"x": 0, "y": 0}
  70. },
  71. {
  72. "index": 150,
  73. "type": "toggleButton",
  74. "image": "sysopb2",
  75. "help": "core.help.350",
  76. "position": {"x": 48, "y": 0}
  77. },
  78. {
  79. "index": 100,
  80. "type": "toggleButton",
  81. "image": "sysopb5",
  82. "help": "core.help.350",
  83. "position": {"x": 96, "y": 0}
  84. },
  85. {
  86. "index": 50,
  87. "type": "toggleButton",
  88. "image": "sysopb6",
  89. "help": "core.help.351",
  90. "position": {"x": 144, "y": 0}
  91. },
  92. {
  93. "index": 25,
  94. "type": "toggleButton",
  95. "image": "sysopb3",
  96. "help": "core.help.351",
  97. "position": {"x": 192, "y": 0}
  98. },
  99. {
  100. "index": 0,
  101. "type": "toggleButton",
  102. "image": "sysopb4",
  103. "help": "core.help.352",
  104. "position": {"x": 240, "y": 0}
  105. }
  106. ],
  107. "callback": "playerHeroSpeedChanged"
  108. },
  109. {
  110. "name": "enemySpeedValueLabel",
  111. "type": "label",
  112. "font": "medium",
  113. "alignment": "center",
  114. "color": "yellow",
  115. "position": {"x": 324, "y": 150}
  116. },
  117. {
  118. "name": "enemyMovementSpeedPicker",
  119. "type": "toggleGroup",
  120. "position": {"x": 10, "y": 133},
  121. "items":
  122. [
  123. {
  124. "index": 150,
  125. "type": "toggleButton",
  126. "image": "sysopb1",
  127. "help": "core.help.353",
  128. "position": {"x": 0, "y": 0}
  129. },
  130. {
  131. "index": 100,
  132. "type": "toggleButton",
  133. "image": "sysopb5",
  134. "help": "core.help.353",
  135. "position": {"x": 48, "y": 0}
  136. },
  137. {
  138. "index": 50,
  139. "type": "toggleButton",
  140. "image": "sysopb6",
  141. "help": "core.help.354",
  142. "position": {"x": 96, "y": 0}
  143. },
  144. {
  145. "index": 25,
  146. "type": "toggleButton",
  147. "image": "sysopb3",
  148. "help": "core.help.354",
  149. "position": {"x": 144, "y": 0}
  150. },
  151. {
  152. "index": 0,
  153. "type": "toggleButton",
  154. "image": "sysopb7",
  155. "help": "core.help.355",
  156. "position": {"x": 192, "y": 0}
  157. },
  158. {
  159. "index": -1,
  160. "type": "toggleButton",
  161. "image": "sysopb8",
  162. "help": "core.help.356",
  163. "position": {"x": 240, "y": 0}
  164. }
  165. ],
  166. "callback": "enemyHeroSpeedChanged"
  167. },
  168. {
  169. "name": "mapScrollingValueLabel",
  170. "type": "label",
  171. "font": "medium",
  172. "alignment": "center",
  173. "color": "yellow",
  174. "position": {"x": 324, "y": 210}
  175. },
  176. {
  177. "name": "mapScrollSpeedPicker",
  178. "type": "toggleGroup",
  179. "position": {"x": 10, "y": 193},
  180. "items":
  181. [
  182. {
  183. "index": 400,
  184. "type": "toggleButton",
  185. "image": "settingsWindow/button46",
  186. "help": "core.help.357",
  187. "position": {"x": 0, "y": 0},
  188. "items":
  189. [
  190. {
  191. "name": "mapScrollSpeed1",
  192. "type": "picture",
  193. "image": "settingsWindow/scrollSpeed1",
  194. "position": {"x": 0, "y": 0 }
  195. }
  196. ]
  197. },
  198. {
  199. "index": 800,
  200. "type": "toggleButton",
  201. "image": "settingsWindow/button46",
  202. "help": "core.help.358",
  203. "position": {"x": 48, "y": 0},
  204. "items":
  205. [
  206. {
  207. "name": "mapScrollSpeed2",
  208. "type": "picture",
  209. "image": "settingsWindow/scrollSpeed2",
  210. "position": {"x": 0, "y": 0 }
  211. }
  212. ]
  213. },
  214. {
  215. "index": 3,
  216. "type": "toggleButton",
  217. "image": "settingsWindow/button46",
  218. "help": "core.help.359",
  219. "position": {"x": 96, "y": 0},
  220. "items":
  221. [
  222. {
  223. "name": "mapScrollSpeed3",
  224. "type": "picture",
  225. "image": "settingsWindow/scrollSpeed3",
  226. "position": {"x": 0, "y": 0 }
  227. }
  228. ]
  229. },
  230. {
  231. "index": 1200,
  232. "type": "toggleButton",
  233. "image": "settingsWindow/button46",
  234. "help": "vcmi.adventureOptions.mapScrollSpeed4",
  235. "position": {"x": 144, "y": 0},
  236. "items":
  237. [
  238. {
  239. "name": "mapScrollSpeed4",
  240. "type": "picture",
  241. "image": "settingsWindow/scrollSpeed4",
  242. "position": {"x": 0, "y": 0 }
  243. }
  244. ]
  245. },
  246. {
  247. "index": -1, // TODO
  248. "type": "toggleButton",
  249. "image": "settingsWindow/button46",
  250. "help": "vcmi.adventureOptions.mapScrollSpeed5",
  251. "position": {"x": 192, "y": 0},
  252. "items":
  253. [
  254. {
  255. "name": "mapScrollSpeed5",
  256. "type": "picture",
  257. "image": "settingsWindow/scrollSpeed5",
  258. "position": {"x": 0, "y": 0 }
  259. }
  260. ]
  261. },
  262. {
  263. "index": -2, // TODO
  264. "type": "toggleButton",
  265. "image": "settingsWindow/button46",
  266. "help": "vcmi.adventureOptions.mapScrollSpeed6",
  267. "position": {"x": 240, "y": 0},
  268. "items":
  269. [
  270. {
  271. "name": "mapScrollSpeed6",
  272. "type": "picture",
  273. "image": "settingsWindow/scrollSpeed6",
  274. "position": {"x": 0, "y": 0 }
  275. }
  276. ]
  277. }
  278. ],
  279. "callback": "mapScrollSpeedChanged"
  280. },
  281. {
  282. "name": "bottomCheckboxesLabels",
  283. "type": "labelGroup",
  284. "font": "medium",
  285. "alignment": "left",
  286. "color": "white",
  287. "items":
  288. [
  289. {
  290. "position": {"x": 45, "y": 295},
  291. "text": "core.genrltxt.572" // TODO: show move path
  292. },
  293. {
  294. "position": {"x": 45, "y": 325},
  295. "text": "core.genrltxt.573" // show hero reminder
  296. },
  297. {
  298. "position": {"x": 45, "y": 355},
  299. "text": "core.genrltxt.574" // quick combat
  300. },
  301. {
  302. "position": {"x": 45, "y": 385},
  303. "text": "vcmi.adventureOptions.numericQuantities.hover"
  304. },
  305. {
  306. "position": {"x": 45, "y": 415},
  307. "text": "vcmi.adventureOptions.forceMovementInfo.hover"
  308. },
  309. {
  310. "position": {"x": 45, "y": 445},
  311. "text": "vcmi.adventureOptions.showGrid.hover"
  312. }
  313. ]
  314. },
  315. {
  316. "name": "showMovePathPlaceholder",
  317. "type": "picture",
  318. "image": "settingsWindow/checkBoxEmpty",
  319. "position": {"x": 10, "y": 293},
  320. },
  321. {
  322. "name": "heroReminderCheckbox",
  323. "type": "toggleButton",
  324. "image": "sysopchk.def",
  325. "help": "core.help.361",
  326. "position": {"x": 10, "y": 323},
  327. "callback": "heroReminderChanged"
  328. },
  329. {
  330. "name": "quickCombatCheckbox",
  331. "type": "toggleButton",
  332. "image": "sysopchk.def",
  333. "help": "core.help.362",
  334. "position": {"x": 10, "y": 353},
  335. "callback": "quickCombatChanged"
  336. },
  337. {
  338. "name": "numericQuantitiesCheckbox",
  339. "type": "toggleButton",
  340. "image": "sysopchk.def",
  341. "help": "vcmi.adventureOptions.numericQuantities",
  342. "position": {"x": 10, "y": 383},
  343. "callback": "numericQuantitiesChanged"
  344. },
  345. {
  346. "name": "forceMovementInfoCheckbox",
  347. "type": "toggleButton",
  348. "image": "sysopchk.def",
  349. "help": "vcmi.adventureOptions.forceMovementInfo",
  350. "position": {"x": 10, "y": 413},
  351. "callback": "forceMovementInfoChanged"
  352. },
  353. {
  354. "name": "showGridCheckbox",
  355. "type": "toggleButton",
  356. "image": "sysopchk.def",
  357. "help": "vcmi.adventureOptions.showGrid",
  358. "position": {"x": 10, "y": 443},
  359. "callback": "showGridChanged"
  360. }
  361. ]
  362. }