|
|
@@ -173,13 +173,15 @@
|
|
|
"name": "buttonTurnTimerAccumulate",
|
|
|
"position": {"x": 160, "y": 195},
|
|
|
"type": "toggleButton",
|
|
|
- "image": "lobby/checkbox"
|
|
|
+ "image": "lobby/checkbox",
|
|
|
+ "callback" : "setSimturnAI"
|
|
|
},
|
|
|
{
|
|
|
"name": "buttonUnitTimerAccumulate",
|
|
|
"position": {"x": 160, "y": 327},
|
|
|
"type": "toggleButton",
|
|
|
- "image": "lobby/checkbox"
|
|
|
+ "image": "lobby/checkbox",
|
|
|
+ "callback" : "setSimturnAI"
|
|
|
},
|
|
|
|
|
|
{
|
|
|
@@ -297,7 +299,6 @@
|
|
|
"position": {"x": 278, "y": 478}
|
|
|
},
|
|
|
{
|
|
|
- "type" : "label",
|
|
|
"text": "vcmi.optionsTab.simturnsMin.help",
|
|
|
"type": "multiLineLabel",
|
|
|
"font": "tiny",
|
|
|
@@ -306,7 +307,6 @@
|
|
|
"rect": {"x": 70, "y": 430, "w": 300, "h": 40}
|
|
|
},
|
|
|
{
|
|
|
- "type" : "label",
|
|
|
"text": "vcmi.optionsTab.simturnsMax.help",
|
|
|
"type": "multiLineLabel",
|
|
|
"font": "tiny",
|
|
|
@@ -318,7 +318,8 @@
|
|
|
"name": "buttonSimturnsAI",
|
|
|
"position": {"x": 70, "y": 535},
|
|
|
"type": "toggleButton",
|
|
|
- "image": "lobby/checkbox"
|
|
|
+ "image": "lobby/checkbox",
|
|
|
+ "callback" : "setSimturnAI"
|
|
|
},
|
|
|
{
|
|
|
"name": "labelSimturnsAI",
|
|
|
@@ -329,5 +330,36 @@
|
|
|
"text": "vcmi.optionsTab.simturnsAI.hover",
|
|
|
"position": {"x": 110, "y": 540}
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+
|
|
|
+ "variables":
|
|
|
+ {
|
|
|
+ "timerPresets" :
|
|
|
+ [
|
|
|
+ [ 0, 0, 0, 0, false, false],
|
|
|
+ [ 0, 60, 0, 0, false, false],
|
|
|
+ [ 0, 120, 0, 0, false, false],
|
|
|
+ [ 0, 300, 0, 0, false, false],
|
|
|
+ [ 0, 600, 0, 0, false, false],
|
|
|
+ [ 0, 1200, 0, 0, false, false],
|
|
|
+ [ 0, 1800, 0, 0, false, false],
|
|
|
+ [ 960, 480, 120, 0, true, false],
|
|
|
+ [ 960, 480, 75, 0, true, false],
|
|
|
+ [ 480, 240, 60, 0, true, false],
|
|
|
+ [ 120, 90, 60, 0, true, false],
|
|
|
+ [ 120, 60, 15, 0, true, false],
|
|
|
+ [ 60, 60, 0, 0, true, false]
|
|
|
+ ],
|
|
|
+ "simturnsPresets" :
|
|
|
+ [
|
|
|
+ [ 0, 0, false],
|
|
|
+ [ 999, 0, false],
|
|
|
+ [ 7, 0, false],
|
|
|
+ [ 14, 0, false],
|
|
|
+ [ 28, 0, false],
|
|
|
+ [ 7, 7, false],
|
|
|
+ [ 14, 14, false],
|
|
|
+ [ 28, 28, false]
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|