-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathui.xml
367 lines (366 loc) · 22.5 KB
/
ui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<Defaults>
<Text tooltipBackgroundColor="black" />
<TableLayout autoCalculateHeight="true" cellPadding="20 20 5 5" cellBackgroundColor="clear"/>
<Row preferredHeight="80"/>
<Text class="gameOver" fontSize="40"/>
</Defaults>
<Panel id="panelBlightFear" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="270" height="104" rectAlignment="LowerRight" offsetXY="0 409">
<Image image="Fear and Blight" preserveAspect="true" />
<Text id="panelBlightPool" fontStyle="Bold" fontSize="50" offsetXY="-60 5" text="" />
<Button id="panelBlightButton" active="false" onClick="BlightIslandButtonUI" height="56%" width="30%" fontSize="40" offsetXY="-60 5" textColor="#323232" text="Flip" />
<Button id="panelFearGenerated" onClick="aidBoard/addFearUI" colors="clear|clear|clear|clear" height="56%" width="16%" fontStyle="Bold" fontSize="50" textColor="#323232" offsetXY="25 5" text="0" />
<Text fontStyle="Bold" fontSize="50" offsetXY="50 9" text=":" />
<Button id="panelFearPool" onClick="aidBoard/removeFearUI" colors="clear|clear|clear|clear" height="56%" width="16%" fontStyle="Bold" fontSize="50" textColor="#323232" offsetXY="75 5" text="0" />
</Panel>
<Panel id="panelInvader" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="270" height="104" rectAlignment="LowerRight" offsetXY="0 305">
<Image id="invaderImage" image="Invader Phase Stage" preserveAspect="true" />
<HorizontalLayout id="invaderLayout" childAlignment="MiddleCenter" childForceExpandWidth="false" childForceExpandHeight="false" spacing="16" offsetXY="0 8">
<Panel id="panelBuild2" active="false" preferredWidth="64" preferredHeight="64">
<Image id="panelBuild2Outline" active="false" rectAlignment="UpperLeft" outline="#000000" outlineSize="5 5" />
<VerticalLayout childForceExpandWidth="true" childForceExpandHeight="true">
<HorizontalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild211">
<Text id="panelBuild211text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild212">
<Text id="panelBuild212text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild221">
<Text id="panelBuild221text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild222">
<Text id="panelBuild222text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild231">
<Text id="panelBuild231text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild232">
<Text id="panelBuild232text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Panel>
<Panel id="panelRavage" preferredWidth="64" preferredHeight="64">
<Image id="panelRavageOutline" active="false" rectAlignment="UpperLeft" outline="#000000" outlineSize="5 5" />
<VerticalLayout childForceExpandWidth="true" childForceExpandHeight="true">
<HorizontalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelRavage11">
<Text id="panelRavage11text" fontStyle="Bold" />
</Panel>
<Panel id="panelRavage12">
<Text id="panelRavage12text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelRavage21">
<Text id="panelRavage21text" fontStyle="Bold" />
</Panel>
<Panel id="panelRavage22">
<Text id="panelRavage22text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelRavage31">
<Text id="panelRavage31text" fontStyle="Bold" />
</Panel>
<Panel id="panelRavage32">
<Text id="panelRavage32text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Panel>
<Panel id="panelBuild" preferredWidth="64" preferredHeight="64">
<Image id="panelBuildOutline" active="false" rectAlignment="UpperLeft" outline="#000000" outlineSize="5 5" />
<VerticalLayout childForceExpandWidth="true" childForceExpandHeight="true">
<HorizontalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild11">
<Text id="panelBuild11text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild12">
<Text id="panelBuild12text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild21">
<Text id="panelBuild21text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild22">
<Text id="panelBuild22text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelBuild31">
<Text id="panelBuild31text" fontStyle="Bold" />
</Panel>
<Panel id="panelBuild32">
<Text id="panelBuild32text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Panel>
<Panel id="panelExplore" preferredWidth="64" preferredHeight="64">
<Image id="panelExploreOutline" active="false" rectAlignment="UpperLeft" outline="#000000" outlineSize="5 5" />
<VerticalLayout childForceExpandWidth="true" childForceExpandHeight="true">
<HorizontalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelExplore11">
<Text id="panelExplore11text" fontStyle="Bold" />
</Panel>
<Panel id="panelExplore12">
<Text id="panelExplore12text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelExplore21">
<Text id="panelExplore21text" fontStyle="Bold" />
</Panel>
<Panel id="panelExplore22">
<Text id="panelExplore22text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
<VerticalLayout childForceExpandWidth="false" childForceExpandHeight="false">
<Panel id="panelExplore31">
<Text id="panelExplore31text" fontStyle="Bold" />
</Panel>
<Panel id="panelExplore32">
<Text id="panelExplore32text" fontStyle="Bold" />
</Panel>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Panel>
</HorizontalLayout>
<Button id="exploreAdvance" width="84" height="24" rectAlignment="LowerRight" onClick="aidBoard/flipExploreCard" colors="clear|clear|clear|clear" />
</Panel>
<Panel id="panelAdversary" recurse="panelAdversaryHelper panelAdversary2Helper" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="270" height="360" color="#C6DA8B" rectAlignment="LowerRight" offsetXY="0 305">
<VerticalLayout recurse="panelAdversaryHelper panelAdversary2Helper">
<VerticalLayout id="panelAdversaryHelper" recurse="panelAdversaryHelper">
<Text id="panelAdversaryName" fontsize="16" alignment="UpperLeft" fontStyle="Bold"></Text>
<VerticalLayout id="panelAdversaryLoss" active="false">
<Text id="panelAdversaryLossText" fontsize="16" alignment="UpperLeft" tooltipPosition="Left">Additional Loss Condition</Text>
<HorizontalLayout id="panelAdversaryLossCounter" active="false" childForceExpandWidth="false">
<Text id="panelAdversaryLossCounterText" fontsize="16" alignment="UpperLeft"></Text>
<Button id="panelAdversaryLossCounterMinus" onClick="decrementLossCounter(panelAdversaryLossCounterCount)" active="false" fontSize="12" textAlignment="MiddleCenter" minWidth="22">-</Button>
<Text id="panelAdversaryLossCounterCount" fontsize="16" alignment="UpperLeft"></Text>
<Button id="panelAdversaryLossCounterPlus" onClick="incrementLossCounter(panelAdversaryLossCounterCount)" active="false" fontSize="12" textAlignment="MiddleCenter" minWidth="22">+</Button>
</HorizontalLayout>
</VerticalLayout>
<Text id="panelAdversaryEscalation" fontsize="16" alignment="UpperLeft" tooltipPosition="Left">Stage II Escalation</Text>
</VerticalLayout>
<VerticalLayout id="panelAdversary2Helper" recurse="panelAdversary2Helper" active="false">
<Text fontSize="4"></Text>
<Text id="panelAdversary2Name" fontsize="16" alignment="UpperLeft" fontStyle="Bold"></Text>
<VerticalLayout id="panelAdversary2Loss" active="false">
<Text id="panelAdversary2LossText" fontsize="16" alignment="UpperLeft" tooltipPosition="Left">Additional Loss Condition</Text>
<HorizontalLayout id="panelAdversary2LossCounter" active="false" childForceExpandWidth="false">
<Text id="panelAdversary2LossCounterText" fontsize="16" alignment="UpperLeft"></Text>
<Button id="panelAdversary2LossCounterMinus" onClick="decrementLossCounter(panelAdversary2LossCounterCount)" active="false" fontSize="12" textAlignment="MiddleCenter" minWidth="22">-</Button>
<Text id="panelAdversary2LossCounterCount" fontsize="16" alignment="UpperLeft"></Text>
<Button id="panelAdversary2LossCounterPlus" onClick="incrementLossCounter(panelAdversary2LossCounterCount)" active="false" fontSize="12" textAlignment="MiddleCenter" minWidth="22">+</Button>
</HorizontalLayout>
</VerticalLayout>
<HorizontalLayout childForceExpandWidth="false">
<Text id="panelAdversary2Escalation" fontsize="16" alignment="UpperLeft" tooltipPosition="Left">Stage III Escalation</Text>
<Button id="panelAdversary2EscalationRandom" onClick="randomTerrain" active="false" fontSize="12" textAlignment="MiddleCenter" minWidth="60">Random</Button>
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</Panel>
<Panel id="panelTurnOrder" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="270" height="300" color="#C6DA8B" rectAlignment="LowerRight" offsetXY="0 0">
<VerticalLayout>
<Text id="panelTurnOverTurn" fontSize="16" alignment="UpperLeft" fontStyle="bold" text="Turn: 1" />
<Button id="spiritPhase" onClick="enterSpiritPhase" fontSize="16" textColor="#323232" textAlignment="UpperLeft" fontStyle="bold" minHeight="18" colors="clear|clear|clear|clear" text="Spirit Phase" />
<Text fontSize="16" alignment="UpperLeft" text=" • Growth" />
<Text fontSize="16" alignment="UpperLeft" text=" • Gain Energy" />
<Text fontSize="16" alignment="UpperLeft" text=" • Choose Powers" />
<Button id="fastPhase" onClick="enterFastPhase" fontSize="16" textColor="#323232" textAlignment="UpperLeft" fontStyle="bold" minHeight="18" colors="clear|clear|clear|clear" text="Fast Power Phase" />
<Button id="invaderPhase" onClick="enterInvaderPhase" fontSize="16" textColor="#323232" textAlignment="UpperLeft" fontStyle="bold" minHeight="18" colors="clear|clear|clear|clear" text="Invader Phase" />
<Text id="panelTurnOrderBlight" active="false" fontSize="16" alignment="UpperLeft" text=" • Blighted Island" />
<Text id="panelTurnOrderEvent" active="false" fontSize="16" alignment="UpperLeft" text=" • Event (except first turn)" />
<Text fontSize="16" alignment="UpperLeft" text=" • Fear" />
<Text fontSize="16" alignment="UpperLeft" text=" • Ravage" />
<Text fontSize="16" alignment="UpperLeft" text=" • Build" />
<Text fontSize="16" alignment="UpperLeft" text=" • Explore" />
<Text fontSize="16" alignment="UpperLeft" text=" • Advance Invader Cards" />
<Button id="slowPhase" onClick="enterSlowPhase" fontSize="16" textColor="#323232" textAlignment="UpperLeft" fontStyle="bold" minHeight="18" colors="clear|clear|clear|clear" text="Slow Power Phase" />
<Button id="timePassesPhase" onClick="timePassesUI" fontSize="16" textColor="#323232" textAlignment="UpperLeft" fontStyle="bold" minHeight="18" colors="clear|clear|clear|clear" text="Time Passes" />
</VerticalLayout>
</Panel>
<Panel id="panelReady" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="60" height="60" rectAlignment="UpperRight" offsetXY="-430 0">
<Button id="panelReadyYes" onClick="flipReady" visibility="Invisible" image="Ready" preserveAspect="true" />
<Button id="panelReadyNo" onClick="flipReady" visibility="Invisible" image="Not Ready" preserveAspect="true" />
</Panel>
<Panel id="panelPowerDraw" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="70" height="120" rectAlignment="MiddleLeft" offsetXY="0 -50">
<VerticalLayout>
<Button onClick="MajorPowerUI" image="Major Power Button" preserveAspect="true" />
<Button onClick="MinorPowerUI" image="Minor Power Button" preserveAspect="true" />
</VerticalLayout>
</Panel>
<Panel id="panelTimePasses" visibility="Invisible" allowDragging="true" returnToOriginalPositionWhenReleased="false" width="70" height="60" rectAlignment="MiddleLeft" offsetXY="0 -140">
<Button onClick="timePassesUI" image="Time Passes Button" preserveAspect="true" />
</Panel>
<Panel id="panelUIToggle" active="false" width="22" height="22" rectAlignment="UpperRight" offsetXY="-402 0">
<Panel id="panelUIToggleShow" visibility="">
<Button onClick="showButtons" image="Down Arrow" preserveAspect="true" />
</Panel>
<Panel id="panelUIToggleHide" visibility="Invisible">
<Button onClick="hideButtons" image="Up Arrow" preserveAspect="true" />
</Panel>
</Panel>
<Panel id="panelUI" visibility="Invisible" width="130" height="120" rectAlignment="UpperRight" offsetXY="-265 0">
<VerticalLayout>
<Button onClick="toggleButtonUI" image="Dropdown Core Buttons" preserveAspect="true" />
<Button onClick="toggleInvaderUI" image="Dropdown Invader Board" preserveAspect="true" />
<Button id="panelUIAdversary" active="false" onClick="toggleAdversaryUI" image="Dropdown Adversary" preserveAspect="true" />
<Button onClick="toggleTurnOrderUI" image="Dropdown Turn Order" preserveAspect="true" />
<Button onClick="togglePlayerControls" image="Dropdown Seat Controls" preserveAspect="true" />
<Button id="panelUIGameOver" active="false" onClick="toggleGameOver" image="Dropdown Game Results" preserveAspect="true" />
</VerticalLayout>
</Panel>
<Panel id="panelGameOver" visibility="Invisible" width="1280" height="720" rectAlignment="MiddleCenter" color="#C6DA8B">
<Button fontSize="40" rectAlignment="UpperRight" width="64" height="64" onClick="hideGameOver">X</Button>
<Button fontSize="40" rectAlignment="UpperLeft" width="200" height="64" onClick="sacrificeGameOver">Sacrifice?</Button>
<Button fontSize="40" rectAlignment="UpperRight" width="150" height="64" offsetXY="-64 0" onClick="resetGameOver">Undo?</Button>
<TableLayout>
<Row>
<Cell columnSpan="4">
<Text id="panelGameOverHeader" class="gameOver"/>
</Cell>
</Row>
<Row id="panelGameOverSpiritRow1" active="false">
<Cell columnSpan="2">
<Text id="panelGameOverSpirit1" class="gameOver"/>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverSpirit2" class="gameOver"/>
</Cell>
</Row>
<Row id="panelGameOverSpiritRow2" active="false">
<Cell columnSpan="2">
<Text id="panelGameOverSpirit3" class="gameOver"/>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverSpirit4" class="gameOver"/>
</Cell>
</Row>
<Row id="panelGameOverSpiritRow3" active="false">
<Cell columnSpan="2">
<Text id="panelGameOverSpirit5" class="gameOver"/>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverSpirit6" class="gameOver"/>
</Cell>
</Row>
<Row id="panelGameOverAdversaryScenario" active="false">
<Cell>
<Text id="panelGameOverLeadingHeader" class="gameOver" alignment="MiddleRight">Leading:</Text>
</Cell>
<Cell>
<Text id="panelGameOverLeading" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverScenario" class="gameOver"/>
</Cell>
</Row>
<Row id="panelGameOverSupportSecondWave" active="false">
<Cell>
<Text id="panelGameOverSupportingHeader" class="gameOver" alignment="MiddleRight">Supporting:</Text>
</Cell>
<Cell>
<Text id="panelGameOverSupporting" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverSecondWave" class="gameOver"/>
</Cell>
</Row>
<Row>
<Cell columnSpan="2">
<Text class="gameOver" alignment="MiddleRight">Difficulty:</Text>
</Cell>
<Cell columnSpan="2">
<Text id="panelGameOverDifficulty" class="gameOver" alignment="MiddleLeft"/>
</Cell>
</Row>
<Row>
<Cell>
<Text class="gameOver" alignment="MiddleRight">Turn:</Text>
</Cell>
<Cell>
<Text id="panelGameOverTurn" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell>
<Image image="Explorer" preserveAspect="true" rectAlignment="MiddleRight"/>
</Cell>
<Cell>
<Text id="panelGameOverExplorer" class="gameOver" alignment="MiddleLeft"/>
</Cell>
</Row>
<Row>
<Cell>
<Text class="gameOver" alignment="MiddleRight">Phase:</Text>
</Cell>
<Cell>
<Text id="panelGameOverPhase" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell>
<Image image="Town" preserveAspect="true" rectAlignment="MiddleRight"/>
</Cell>
<Cell>
<Text id="panelGameOverTown" class="gameOver" alignment="MiddleLeft"/>
</Cell>
</Row>
<Row>
<Cell>
<Text class="gameOver" alignment="MiddleRight">Explores Left:</Text>
</Cell>
<Cell>
<Text id="panelGameOverDeck" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell>
<Image image="City" preserveAspect="true" rectAlignment="MiddleRight"/>
</Cell>
<Cell>
<Text id="panelGameOverCity" class="gameOver" alignment="MiddleLeft"/>
</Cell>
</Row>
<Row>
<Cell>
<Image image="Dahan" preserveAspect="true" rectAlignment="MiddleRight"/>
</Cell>
<Cell>
<Text id="panelGameOverDahan" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell>
<Image image="Blight" preserveAspect="true" rectAlignment="MiddleRight"/>
</Cell>
<Cell>
<Text id="panelGameOverBlight" class="gameOver" alignment="MiddleLeft"/>
</Cell>
</Row>
<Row>
</Row>
<Row>
<Cell>
<Text class="gameOver" alignment="MiddleRight">Score:</Text>
</Cell>
<Cell>
<Text id="panelGameOverScore" class="gameOver" alignment="MiddleLeft"/>
</Cell>
<Cell columnSpan="2">
<Button id="panelGameOverRecord" active="false" onClick="RecordGame" fontSize="44">Record Game</Button>
</Cell>
</Row>
</TableLayout>
<Text id="panelGameOverFaceup" class="gameOver" active="false" alignment="MiddleLeft"/>
<Text id="panelGameOverDiscard" class="gameOver" active="false" alignment="MiddleLeft"/>
</Panel>