-
Notifications
You must be signed in to change notification settings - Fork 1
/
Form16.frm
359 lines (356 loc) · 11.5 KB
/
Form16.frm
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
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form16
BorderStyle = 0 'None
Caption = "Config. VS"
ClientHeight = 9000
ClientLeft = 0
ClientTop = 0
ClientWidth = 12000
LinkTopic = "Form31"
ScaleHeight = 9000
ScaleWidth = 12000
ShowInTaskbar = 0 'False
Visible = 0 'False
Begin MSComDlg.CommonDialog CommonDialog1
Left = 11160
Top = 5040
_ExtentX = 847
_ExtentY = 847
_Version = 393216
Filter = "Todos os ficheiros de música|*.mp3;*.wav;*.wma;*.mid|MP3|*.mp3|WAV|*.wav|WMA|*.wma|MIDI|*.mid"
End
Begin VB.Frame Frame3
BackColor = &H00000000&
Caption = "Musica"
BeginProperty Font
Name = "Book Antiqua"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 1455
Left = 8520
TabIndex = 13
Top = 2760
Width = 3255
Begin VB.CommandButton Command2
Caption = "Musica [...]"
Height = 375
Left = 240
TabIndex = 14
Top = 720
Width = 2775
End
End
Begin VB.Frame Frame2
BackColor = &H00000000&
Caption = "Distribuição das Cartas"
BeginProperty Font
Name = "Arial Narrow"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 1935
Left = 8520
TabIndex = 3
Top = 600
Width = 3255
Begin VB.OptionButton Option2
BackColor = &H00000000&
Caption = "Tradicional (+1)"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Index = 0
Left = 480
TabIndex = 5
Top = 600
Width = 2535
End
Begin VB.OptionButton Option2
BackColor = &H00000000&
Caption = "Aleatóriamente"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Index = 1
Left = 480
TabIndex = 4
Top = 1200
Width = 2295
End
End
Begin VB.CommandButton Command1
Default = -1 'True
Height = 975
Left = 5160
Picture = "Form16.frx":0000
Style = 1 'Graphical
TabIndex = 0
Top = 7800
Width = 1575
End
Begin VB.Frame Frame1
BackColor = &H00000000&
Caption = "Arenas"
BeginProperty Font
Name = "MS Serif"
Size = 24
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 4095
Left = 240
TabIndex = 2
Top = 360
Width = 7815
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "7 Carvalhos"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 0
Left = 240
TabIndex = 12
Top = 600
Width = 2295
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Cidade Perdida"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 1
Left = 4080
TabIndex = 11
Top = 600
Width = 2895
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Deserto Vermelho"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 2
Left = 240
TabIndex = 10
Top = 1560
Width = 3375
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Floresta Negra"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 3
Left = 4080
TabIndex = 9
Top = 1560
Width = 2775
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Masmorra"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 4
Left = 240
TabIndex = 8
Top = 2520
Width = 2055
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Aldeia Abandonada"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 5
Left = 4080
TabIndex = 7
Top = 2520
Width = 3495
End
Begin VB.OptionButton Option1
BackColor = &H00000000&
Caption = "Forte"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 615
Index = 6
Left = 2760
TabIndex = 6
Top = 3360
Width = 1215
End
End
Begin VB.Label Label4
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "VS"
BeginProperty Font
Name = "Trebuchet MS"
Size = 48
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 975
Left = 4920
TabIndex = 1
Top = 5640
Width = 1935
End
Begin VB.Image Image2
BorderStyle = 1 'Fixed Single
Height = 1950
Left = 7080
Stretch = -1 'True
Top = 5160
Width = 1950
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 1950
Left = 2760
Stretch = -1 'True
Top = 5160
Width = 1950
End
Begin VB.Image Image3
Height = 9015
Left = 0
Picture = "Form16.frx":49A6
Stretch = -1 'True
Top = 0
Width = 12015
End
End
Attribute VB_Name = "Form16"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim s As Integer
Private Sub Command1_Click()
Load Form15
s = -1
Do
s = s + 1
Loop Until (Option1(s).Value = True)
Form15.Image1.Picture = LoadPicture(path & "Arenas\" & s + 1 & ".bmp")
If Dir(Form15.MediaPlayer1.FileName) <> "" And Form15.MediaPlayer1.FileName <> "" Then
Form15.MediaPlayer1.play
End If
Form15.Visible = True
Form16.Visible = False
End Sub
Private Sub Command2_Click()
CommonDialog1.InitDir = path
CommonDialog1.ShowOpen
If CommonDialog1.FileName <> "" Then
Form15.MediaPlayer1.FileName = CommonDialog1.FileName
End If
End Sub
Private Sub Form_Load()
Option1(0).Value = True
Option2(0).Value = True
modo = 0
End Sub
Private Sub Option2_Click(Index As Integer)
modo = Index
End Sub