-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHostBattleFormUnit.dfm
More file actions
316 lines (316 loc) · 7 KB
/
HostBattleFormUnit.dfm
File metadata and controls
316 lines (316 loc) · 7 KB
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
object HostBattleForm: THostBattleForm
Left = 1150
Top = 12
Width = 442
Height = 421
Caption = 'Host battle'
Color = clBtnFace
Constraints.MaxHeight = 1150
Constraints.MaxWidth = 1920
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poOwnerFormCenter
Scaled = False
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object SpTBXTitleBar1: TSpTBXTitleBar
Left = 0
Top = 0
Width = 434
Height = 394
Caption = 'Host battle'
Active = False
FixedSize = True
Options.Minimize = False
Options.Maximize = False
object Label1: TSpTBXLabel
Left = 16
Top = 40
Width = 112
Height = 13
Caption = 'Max. number of players:'
end
object Label2: TSpTBXLabel
Left = 16
Top = 248
Width = 73
Height = 13
Caption = 'UDP Host Port:'
end
object Label3: TSpTBXLabel
Left = 272
Top = 160
Width = 49
Height = 13
Caption = 'Password:'
end
object Label4: TSpTBXLabel
Left = 16
Top = 88
Width = 56
Height = 13
Caption = 'Description:'
end
object Label5: TSpTBXLabel
Left = 16
Top = 160
Width = 24
Height = 13
Caption = 'Mod:'
end
object SpeedButton1: TSpTBXSpeedButton
Left = 206
Top = 352
Width = 33
Height = 25
Caption = '?'
OnClick = SpeedButton1Click
end
object Label6: TSpTBXLabel
Left = 280
Top = 40
Width = 49
Height = 13
Caption = 'Rank limit:'
end
object Label7: TSpTBXLabel
Left = 72
Top = 266
Width = 75
Height = 13
Caption = '(default is 8452)'
end
object Label8: TSpTBXLabel
Left = 272
Top = 200
Width = 94
Height = 13
Caption = '(use blank for none)'
end
object PortEdit: TSpTBXEdit
Left = 16
Top = 264
Width = 49
Height = 21
TabOrder = 10
Text = '8452'
end
object PasswordEdit: TSpTBXEdit
Left = 272
Top = 176
Width = 145
Height = 21
TabOrder = 11
end
object TitleEdit: TSpTBXEdit
Left = 16
Top = 104
Width = 401
Height = 21
TabOrder = 12
end
object ModsComboBox: TSpTBXComboBox
Left = 16
Top = 176
Width = 249
Height = 21
Style = csDropDownList
DropDownCount = 32
ItemHeight = 13
TabOrder = 13
end
object RankComboBox: TSpTBXComboBox
Left = 280
Top = 56
Width = 137
Height = 22
Style = csOwnerDrawFixed
ItemHeight = 16
TabOrder = 14
OnDrawItem = RankComboBoxDrawItem
end
object NATRadioGroup: TSpTBXRadioGroup
Left = 208
Top = 232
Width = 209
Height = 65
Caption = 'NAT traversal'
TabOrder = 15
OnClick = NATRadioGroupClick
ItemIndex = 0
Items.Strings = (
'None (default)'
'Hole punching'
'Fixed source ports')
end
object CancelButton: TSpTBXButton
Left = 250
Top = 352
Width = 103
Height = 25
Caption = 'Cancel'
TabOrder = 16
OnClick = CancelButtonClick
Cancel = True
end
object AutoSendDescCheckbox: TSpTBXCheckBox
Left = 16
Top = 128
Width = 248
Height = 15
Caption = 'Auto send description in battle when a player join'
TabOrder = 17
end
object RefreshModListButton: TSpTBXButton
Left = 16
Top = 200
Width = 121
Height = 25
Caption = 'Refresh mod list'
TabOrder = 18
OnClick = RefreshModListButtonClick
end
object PlayersTracker: TSpTBXSpinEdit
Left = 16
Top = 56
Width = 49
Height = 21
TabOrder = 19
SpinButton.Left = 30
SpinButton.Top = 0
SpinButton.Width = 15
SpinButton.Height = 17
SpinButton.Align = alRight
SpinOptions.Value = 4.000000000000000000
end
object HostButton: TSpTBXButton
Left = 72
Top = 352
Width = 105
Height = 25
Caption = 'Host battle'
TabOrder = 20
OnClick = HostButtonClick
end
object HostTypeButton: TSpTBXButton
Left = 176
Top = 352
Width = 18
Height = 25
TabOrder = 21
DropDownMenu = HostPopupMenu
end
object RelayChatCheckBox: TSpTBXCheckBox
Left = 16
Top = 328
Width = 358
Height = 15
Caption =
'Relay the chat between the lobby and spring / Enable mid game (r' +
'e) join'
TabOrder = 22
end
object pnlRelayHosting: TSpTBXPanel
Left = 16
Top = 304
Width = 401
Height = 21
Caption = 'pnlRelayHosting'
TabOrder = 23
Borders = False
object RelayHostCheckBox: TSpTBXCheckBox
Left = 0
Top = 0
Width = 68
Height = 21
Caption = 'Relay host'
Align = alLeft
TabOrder = 0
OnClick = RelayHostCheckBoxClick
end
object cmbRelayList: TSpTBXComboBox
Left = 81
Top = 0
Width = 231
Height = 19
Align = alClient
Style = csOwnerDrawFixed
ItemHeight = 13
TabOrder = 1
OnDrawItem = cmbRelayListDrawItem
end
object btRefreshRelayManagersList: TSpTBXButton
Left = 312
Top = 0
Width = 89
Height = 21
Caption = 'Refresh'
Align = alRight
TabOrder = 2
OnClick = btRefreshRelayManagersListClick
end
object SpTBXPanel2: TSpTBXPanel
Left = 68
Top = 0
Width = 13
Height = 21
Caption = 'SpTBXPanel2'
Align = alLeft
TabOrder = 3
Borders = False
end
end
object DownloadModButton: TSpTBXButton
Left = 144
Top = 200
Width = 121
Height = 25
Caption = 'Download mod ...'
TabOrder = 24
OnClick = DownloadModButtonClick
end
end
object HttpCli1: THttpCli
LocalAddr = '0.0.0.0'
ProxyPort = '80'
Agent = 'Mozilla/4.0 (compatible; ICS)'
Accept = 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*'
NoCache = False
ContentTypePost = 'application/x-www-form-urlencoded'
MultiThreaded = False
RequestVer = '1.0'
FollowRelocation = True
LocationChangeMaxCount = 5
ServerAuth = httpAuthNone
ProxyAuth = httpAuthNone
BandwidthLimit = 10000
BandwidthSampling = 1000
Options = []
SocksAuthentication = socksNoAuthentication
Left = 652
Top = 467
end
object HostPopupMenu: TSpTBXPopupMenu
AutoHotkeys = maManual
Left = 120
Top = 376
object mnuHost: TSpTBXItem
Caption = 'Host a game'
GroupIndex = 1
RadioItem = True
OnClick = Host1Click
end
object mnuHostReplay: TSpTBXItem
Caption = 'Host a replay'
GroupIndex = 1
RadioItem = True
OnClick = HostReplay1Click
end
end
end