-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUnit3.~dfm
executable file
·229 lines (229 loc) · 4.89 KB
/
Unit3.~dfm
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
object MainForm: TMainForm
Left = 333
Top = 342
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Capture The Flag'
ClientHeight = 569
ClientWidth = 775
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Menu = MainMenu1
OldCreateOrder = False
OnClick = FormClick
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
OnKeyDown = FormKeyDown
OnPaint = FormPaint
PixelsPerInch = 96
TextHeight = 13
object Bevel2: TBevel
Left = 0
Top = 0
Width = 360
Height = 360
end
object Label1: TLabel
Left = 148
Top = 112
Width = 48
Height = 109
Caption = '5'
Font.Charset = ANSI_CHARSET
Font.Color = clRed
Font.Height = -96
Font.Name = 'Times New Roman'
Font.Style = []
ParentFont = False
Transparent = True
Visible = False
end
object RedLifeCaption: TLabel
Left = 8
Top = 460
Width = 219
Height = 37
Caption = 'RedLifeCaption'
Font.Charset = ANSI_CHARSET
Font.Color = clRed
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object BlueLifeCaption: TLabel
Left = 8
Top = 516
Width = 225
Height = 37
Caption = 'BlueLifeCaption'
Font.Charset = ANSI_CHARSET
Font.Color = clBlue
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object EnemyPlayerLabel: TLabel
Left = 448
Top = 208
Width = 196
Height = 37
Caption = 'Red Player is:'
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Bearing: TLabel
Left = 448
Top = 264
Width = 110
Height = 37
Caption = 'Bearing'
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object eventLabel: TLabel
Left = 448
Top = 16
Width = 313
Height = 113
AutoSize = False
Font.Charset = ANSI_CHARSET
Font.Color = clBlack
Font.Height = -32
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
Transparent = True
WordWrap = True
end
object mapNameLabel: TLabel
Left = 448
Top = 160
Width = 267
Height = 29
Caption = 'Map: Strategic Battlefield'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object BluePlayerName: TEdit
Left = 448
Top = 320
Width = 121
Height = 21
MaxLength = 10
TabOrder = 0
Text = 'Blue Player'
end
object ChatMessage: TEdit
Left = 448
Top = 352
Width = 225
Height = 21
TabOrder = 1
OnKeyDown = ChatMessageKeyDown
end
object Send: TButton
Left = 685
Top = 352
Width = 75
Height = 25
Caption = 'Send'
TabOrder = 2
OnClick = SendClick
end
object ChatMemo: TMemo
Left = 448
Top = 384
Width = 313
Height = 177
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 3
end
object MainMenu1: TMainMenu
object File1: TMenuItem
Caption = 'File'
object New1: TMenuItem
Caption = 'New'
end
object Exit1: TMenuItem
Caption = 'Exit'
OnClick = Exit1Click
end
end
object ServerChoice1: TMenuItem
Caption = 'Server Choice'
object Server1: TMenuItem
Caption = 'Server'
OnClick = Server1Click
end
end
object Help1: TMenuItem
Caption = 'Help'
object Instructions1: TMenuItem
Caption = 'Instructions'
OnClick = Instructions1Click
end
object N1: TMenuItem
Caption = '-'
end
object About1: TMenuItem
Caption = 'About...'
OnClick = About1Click
end
end
end
object ClientSocket1: TClientSocket
Active = False
ClientType = ctNonBlocking
Port = 0
OnRead = ClientSocket1Read
OnError = ClientSocket1Error
Left = 32
end
object Timer1: TTimer
Enabled = False
OnTimer = Timer1Timer
Left = 64
end
object redAITimer: TTimer
Enabled = False
Interval = 250
OnTimer = redAITimerTimer
Left = 96
end
object blueAITimer: TTimer
Enabled = False
Interval = 250
OnTimer = blueAITimerTimer
Left = 128
end
object PositionTimer: TTimer
Interval = 50
OnTimer = PositionTimerTimer
Left = 160
end
object eventTimer: TTimer
Interval = 3000
OnTimer = eventTimerTimer
Left = 192
end
end