Revision 0:95bd93c28625

/dev/null
1
[patterns]
2
**.* = native
3
bin/nodraw.txt = CRLF
4

  
5
[repository]
6
native = LF
b/.hgignore
1
#syntax: regexp
2
#(?<!\.(pas|lfm|lpr|lpi))$
3
syntax: glob
4
obj/*
5
bin/*
6
doc/*
7
pasdoc/*
8
Setup/*
9
*.lps
10
*.lrs
11
*.txt
12
*.log
13
*.png
14
*.ico
15
*.tga
16
*.gif
17
*.bmp
18
*.xpm
19
*.htm*
20
*.o
21
*.ppu
22
*.a
23
*.compiled
24
*.sh
25
*.exe
1
syntax: regexp
2
^.*[.](?!((pas)|(lfm)|(lpr)|(lpi)|(inc)))[^.]+$
/dev/null
1
7fc49d217f9953ff4cc5906f9ef8913c02583039 0.4.0
2
49a3b10841f0b19e7a3836c438b38e7251bb8340 0.4.1
3
47750245a450b6230712a958a510f25ea47d3dac 0.5
4
64b5b297746c3a7ebbd605836638c1925c773068 0.6
5
c8f14a3d46ee3a2cd0783fb4e005a1c16259d8b8 0.6.1
b/Client/CentrED.lpi
1 1
<?xml version="1.0"?>
2 2
<CONFIG>
3 3
  <ProjectOptions>
4
    <Version Value="9"/>
4
    <PathDelim Value="/"/>
5
    <Version Value="6"/>
5 6
    <General>
6
      <Flags>
7
        <MainUnitHasUsesSectionForAllUnits Value="False"/>
8
      </Flags>
9 7
      <SessionStorage Value="InProjectDir"/>
10 8
      <MainUnit Value="0"/>
11
      <Title Value="CentrED"/>
12
      <ResourceType Value="res"/>
13
      <UseXPManifest Value="True"/>
14
      <Icon Value="0"/>
9
      <IconPath Value="./"/>
10
      <TargetFileExt Value=".exe"/>
15 11
    </General>
16
    <LazDoc Paths="../doc"/>
17 12
    <VersionInfo>
18
      <UseVersionInfo Value="True"/>
19
      <MinorVersionNr Value="6"/>
20
      <RevisionNr Value="3"/>
21
      <BuildNr Value="241"/>
22
      <StringTable CompanyName="AKS DataBasis" ProductName="CentrED" InternalName="CentrED" LegalCopyright="(c) 2012 Andreas Schneider" ProductVersion="0.6.3" FileDescription="UO CentrED" OriginalFilename="CentrED.exe"/>
13
      <ProjectVersion Value=""/>
23 14
    </VersionInfo>
24
    <BuildModes Count="3">
25
      <Item1 Name="default" Default="True"/>
26
      <Item2 Name="Release Win32">
27
        <MacroValues Count="1">
28
          <Macro1 Name="LCLWidgetType" Value="win32"/>
29
        </MacroValues>
30
        <CompilerOptions>
31
          <Version Value="11"/>
32
          <Target>
33
            <Filename Value="../bin/CentrED"/>
34
          </Target>
35
          <SearchPaths>
36
            <IncludeFiles Value="$(ProjOutDir);../Imaging;.."/>
37
            <OtherUnitFiles Value="..;../UOLib;../MulProvider;../Imaging;../Imaging/JpegLib;../Imaging/ZLib;Tools"/>
38
            <UnitOutputDirectory Value="../obj/$(TargetCPU)-$(TargetOS)"/>
39
            <SrcPath Value="$(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType);..;../UOLib;../MulProvider;../Imaging;../Imaging/JpegLib;../Imaging/ZLib;Tools"/>
40
          </SearchPaths>
41
          <Parsing>
42
            <SyntaxOptions>
43
              <CStyleOperator Value="False"/>
44
            </SyntaxOptions>
45
          </Parsing>
46
          <CodeGeneration>
47
            <SmartLinkUnit Value="True"/>
48
            <TargetCPU Value="i386"/>
49
            <TargetOS Value="win32"/>
50
            <Optimizations>
51
              <OptimizationLevel Value="3"/>
52
            </Optimizations>
53
          </CodeGeneration>
54
          <Linking>
55
            <Debugging>
56
              <GenerateDebugInfo Value="False"/>
57
              <UseLineInfoUnit Value="False"/>
58
              <StripSymbols Value="True"/>
59
            </Debugging>
60
            <LinkSmart Value="True"/>
61
            <Options>
62
              <Win32>
63
                <GraphicApplication Value="True"/>
64
              </Win32>
65
            </Options>
66
          </Linking>
67
          <Other>
68
            <CompilerMessages>
69
              <IgnoredMessages idx4079="True" idx4080="True" idx4081="True" idx5024="True" idx5028="True"/>
70
              <UseMsgFile Value="True"/>
71
            </CompilerMessages>
72
            <CustomOptions Value="-FE../bin/
73
-dNoLogging"/>
74
            <CompilerPath Value="$(CompPath)"/>
75
          </Other>
76
        </CompilerOptions>
77
      </Item2>
78
      <Item3 Name="Release Linux GTK2 x86">
79
        <MacroValues Count="1">
80
          <Macro1 Name="LCLWidgetType" Value="gtk2"/>
81
        </MacroValues>
82
        <CompilerOptions>
83
          <Version Value="11"/>
84
          <Target>
85
            <Filename Value="../bin/CentrED"/>
86
          </Target>
87
          <SearchPaths>
88
            <IncludeFiles Value="$(ProjOutDir);../Imaging;.."/>
89
            <OtherUnitFiles Value="..;../UOLib;../MulProvider;../Imaging;../Imaging/JpegLib;../Imaging/ZLib;Tools"/>
90
            <UnitOutputDirectory Value="../obj/$(TargetCPU)-$(TargetOS)"/>
91
            <SrcPath Value="$(LazarusDir)/lcl;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType);..;../UOLib;../MulProvider;../Imaging;../Imaging/JpegLib;../Imaging/ZLib;Tools"/>
92
          </SearchPaths>
93
          <Parsing>
94
            <SyntaxOptions>
95
              <CStyleOperator Value="False"/>
96
            </SyntaxOptions>
97
          </Parsing>
98
          <CodeGeneration>
99
            <SmartLinkUnit Value="True"/>
100
            <TargetCPU Value="i386"/>
101
            <TargetOS Value="linux"/>
102
            <Optimizations>
103
              <OptimizationLevel Value="3"/>
104
            </Optimizations>
105
          </CodeGeneration>
106
          <Linking>
107
            <Debugging>
108
              <GenerateDebugInfo Value="False"/>
109
              <UseLineInfoUnit Value="False"/>
110
              <StripSymbols Value="True"/>
111
            </Debugging>
112
            <LinkSmart Value="True"/>
113
            <Options>
114
              <Win32>
115
                <GraphicApplication Value="True"/>
116
              </Win32>
117
            </Options>
118
          </Linking>
119
          <Other>
120
            <CompilerMessages>
121
              <IgnoredMessages idx4079="True" idx4080="True" idx4081="True" idx5024="True" idx5028="True"/>
122
              <UseMsgFile Value="True"/>
123
            </CompilerMessages>
124
            <CustomOptions Value="-FE../bin/
125
-dNoLogging"/>
126
            <CompilerPath Value="$(CompPath)"/>
127
          </Other>
128
        </CompilerOptions>
129
      </Item3>
130
    </BuildModes>
131 15
    <PublishOptions>
132 16
      <Version Value="2"/>
133 17
      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
......
138 22
        <FormatVersion Value="1"/>
139 23
        <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
140 24
      </local>
141
      <environment>
142
        <UserOverrides Count="1">
143
          <Variable0 Name="HEAPTRC" Value="log=CentrED.trc"/>
144
        </UserOverrides>
145
      </environment>
146 25
    </RunParams>
147
    <RequiredPackages Count="6">
26
    <RequiredPackages Count="4">
148 27
      <Item1>
149
        <PackageName Value="LCLBase"/>
150
        <MinVersion Major="1" Valid="True" Release="1"/>
28
        <PackageName Value="virtualtreeview_package"/>
29
        <MinVersion Major="4" Minor="5" Release="1" Valid="True"/>
151 30
      </Item1>
152 31
      <Item2>
153
        <PackageName Value="multiloglaz"/>
32
        <PackageName Value="lnetvisual"/>
33
        <MinVersion Minor="5" Release="3" Valid="True"/>
154 34
      </Item2>
155 35
      <Item3>
36
        <PackageName Value="LCL"/>
37
      </Item3>
38
      <Item4>
156 39
        <PackageName Value="LazOpenGLContext"/>
157 40
        <MinVersion Valid="True"/>
158
      </Item3>
159
      <Item4>
160
        <PackageName Value="LCL"/>
161 41
      </Item4>
162
      <Item5>
163
        <PackageName Value="lnetvisual"/>
164
        <MinVersion Minor="5" Valid="True" Release="3"/>
165
      </Item5>
166
      <Item6>
167
        <PackageName Value="virtualtreeview_package"/>
168
        <MinVersion Major="4" Minor="5" Valid="True" Release="1"/>
169
      </Item6>
170 42
    </RequiredPackages>
171
    <Units Count="48">
43
    <Units Count="24">
172 44
      <Unit0>
173 45
        <Filename Value="CentrED.lpr"/>
174 46
        <IsPartOfProject Value="True"/>
......
176 48
      </Unit0>
177 49
      <Unit1>
178 50
        <Filename Value="UfrmMain.pas"/>
51
        <ComponentName Value="frmMain"/>
179 52
        <IsPartOfProject Value="True"/>
180
        <ComponentName Value="frmMain"/>
181
        <ResourceBaseClass Value="Form"/>
53
        <ResourceFilename Value="UfrmMain.lrs"/>
182 54
        <UnitName Value="UfrmMain"/>
183 55
      </Unit1>
184 56
      <Unit2>
185 57
        <Filename Value="UdmNetwork.pas"/>
58
        <ComponentName Value="dmNetwork"/>
186 59
        <IsPartOfProject Value="True"/>
187
        <ComponentName Value="dmNetwork"/>
188
        <ResourceBaseClass Value="DataModule"/>
60
        <ResourceFilename Value="UdmNetwork.lrs"/>
189 61
        <UnitName Value="UdmNetwork"/>
190 62
      </Unit2>
191 63
      <Unit3>
192 64
        <Filename Value="UfrmLogin.pas"/>
65
        <ComponentName Value="frmLogin"/>
193 66
        <IsPartOfProject Value="True"/>
194
        <ComponentName Value="frmLogin"/>
195
        <ResourceBaseClass Value="Form"/>
67
        <ResourceFilename Value="UfrmLogin.lrs"/>
196 68
        <UnitName Value="UfrmLogin"/>
197 69
      </Unit3>
198 70
      <Unit4>
199 71
        <Filename Value="UfrmInitialize.pas"/>
72
        <ComponentName Value="frmInitialize"/>
200 73
        <IsPartOfProject Value="True"/>
201
        <ComponentName Value="frmInitialize"/>
202
        <ResourceBaseClass Value="Form"/>
74
        <ResourceFilename Value="UfrmInitialize.lrs"/>
203 75
        <UnitName Value="UfrmInitialize"/>
204 76
      </Unit4>
205 77
      <Unit5>
206
        <Filename Value="UfrmAccountControl.pas"/>
78
        <Filename Value="UOpenGLUI.pas"/>
207 79
        <IsPartOfProject Value="True"/>
208
        <ComponentName Value="frmAccountControl"/>
209
        <ResourceBaseClass Value="Form"/>
210
        <UnitName Value="UfrmAccountControl"/>
80
        <UnitName Value="UOpenGLUI"/>
211 81
      </Unit5>
212 82
      <Unit6>
213
        <Filename Value="UfrmEditAccount.pas"/>
83
        <Filename Value="UfrmAccountControl.pas"/>
84
        <ComponentName Value="frmAccountControl"/>
214 85
        <IsPartOfProject Value="True"/>
215
        <ComponentName Value="frmEditAccount"/>
216
        <ResourceBaseClass Value="Form"/>
217
        <UnitName Value="UfrmEditAccount"/>
86
        <ResourceFilename Value="UfrmAccountControl.lrs"/>
87
        <UnitName Value="UfrmAccountControl"/>
218 88
      </Unit6>
219 89
      <Unit7>
220
        <Filename Value="Tools/UfrmDrawSettings.pas"/>
90
        <Filename Value="UfrmEditAccount.pas"/>
91
        <ComponentName Value="frmEditAccount"/>
221 92
        <IsPartOfProject Value="True"/>
222
        <ComponentName Value="frmDrawSettings"/>
223
        <ResourceBaseClass Value="Form"/>
224
        <UnitName Value="UfrmDrawSettings"/>
93
        <ResourceFilename Value="UfrmEditAccount.lrs"/>
94
        <UnitName Value="UfrmEditAccount"/>
225 95
      </Unit7>
226 96
      <Unit8>
227
        <Filename Value="Tools/UfrmBoundaries.pas"/>
97
        <Filename Value="Tools/UfrmDrawSettings.pas"/>
98
        <ComponentName Value="frmDrawSettings"/>
228 99
        <IsPartOfProject Value="True"/>
229
        <ComponentName Value="frmBoundaries"/>
230
        <ResourceBaseClass Value="Form"/>
231
        <UnitName Value="UfrmBoundaries"/>
100
        <ResourceFilename Value="Tools/UfrmDrawSettings.lrs"/>
101
        <UnitName Value="UfrmDrawSettings"/>
232 102
      </Unit8>
233 103
      <Unit9>
234
        <Filename Value="Tools/UfrmElevateSettings.pas"/>
104
        <Filename Value="Tools/UfrmBoundaries.pas"/>
105
        <ComponentName Value="frmBoundaries"/>
235 106
        <IsPartOfProject Value="True"/>
236
        <ComponentName Value="frmElevateSettings"/>
237
        <ResourceBaseClass Value="Form"/>
238
        <UnitName Value="UfrmElevateSettings"/>
107
        <ResourceFilename Value="Tools/UfrmBoundaries.lrs"/>
108
        <UnitName Value="UfrmBoundaries"/>
239 109
      </Unit9>
240 110
      <Unit10>
111
        <Filename Value="Tools/UfrmElevateSettings.pas"/>
112
        <ComponentName Value="frmElevateSettings"/>
113
        <IsPartOfProject Value="True"/>
114
        <ResourceFilename Value="Tools/UfrmElevateSettings.lrs"/>
115
        <UnitName Value="UfrmElevateSettings"/>
116
      </Unit10>
117
      <Unit11>
241 118
        <Filename Value="UOverlayUI.pas"/>
242 119
        <IsPartOfProject Value="True"/>
243 120
        <UnitName Value="UOverlayUI"/>
244
      </Unit10>
245
      <Unit11>
121
      </Unit11>
122
      <Unit12>
246 123
        <Filename Value="UResourceManager.pas"/>
247 124
        <IsPartOfProject Value="True"/>
248 125
        <UnitName Value="UResourceManager"/>
249
      </Unit11>
250
      <Unit12>
251
        <Filename Value="Tools/UfrmConfirmation.pas"/>
252
        <IsPartOfProject Value="True"/>
253
        <ComponentName Value="frmConfirmation"/>
254
        <ResourceBaseClass Value="Form"/>
255
        <UnitName Value="UfrmConfirmation"/>
256 126
      </Unit12>
257 127
      <Unit13>
258
        <Filename Value="Tools/UfrmMoveSettings.pas"/>
128
        <Filename Value="Tools/UfrmConfirmation.pas"/>
129
        <ComponentName Value="frmConfirmation"/>
259 130
        <IsPartOfProject Value="True"/>
260
        <ComponentName Value="frmMoveSettings"/>
261
        <ResourceBaseClass Value="Form"/>
262
        <UnitName Value="UfrmMoveSettings"/>
131
        <ResourceFilename Value="Tools/UfrmConfirmation.lrs"/>
132
        <UnitName Value="UfrmConfirmation"/>
263 133
      </Unit13>
264 134
      <Unit14>
265
        <Filename Value="UfrmAbout.pas"/>
135
        <Filename Value="Tools/UfrmMoveSettings.pas"/>
136
        <ComponentName Value="frmMoveSettings"/>
266 137
        <IsPartOfProject Value="True"/>
267
        <ComponentName Value="frmAbout"/>
268
        <ResourceBaseClass Value="Form"/>
269
        <UnitName Value="UfrmAbout"/>
138
        <ResourceFilename Value="Tools/UfrmMoveSettings.lrs"/>
139
        <UnitName Value="UfrmMoveSettings"/>
270 140
      </Unit14>
271 141
      <Unit15>
272
        <Filename Value="Tools/UfrmHueSettings.pas"/>
142
        <Filename Value="UfrmAbout.pas"/>
143
        <ComponentName Value="frmAbout"/>
273 144
        <IsPartOfProject Value="True"/>
274
        <ComponentName Value="frmHueSettings"/>
275
        <ResourceBaseClass Value="Form"/>
276
        <UnitName Value="UfrmHueSettings"/>
145
        <ResourceFilename Value="UfrmAbout.lrs"/>
146
        <UnitName Value="UfrmAbout"/>
277 147
      </Unit15>
278 148
      <Unit16>
279
        <Filename Value="UfrmRadar.pas"/>
149
        <Filename Value="Tools/UfrmHueSettings.pas"/>
150
        <ComponentName Value="frmHueSettings"/>
280 151
        <IsPartOfProject Value="True"/>
281
        <ComponentName Value="frmRadarMap"/>
282
        <ResourceBaseClass Value="Form"/>
283
        <UnitName Value="UfrmRadar"/>
152
        <ResourceFilename Value="Tools/UfrmHueSettings.lrs"/>
153
        <UnitName Value="UfrmHueSettings"/>
284 154
      </Unit16>
285 155
      <Unit17>
286
        <Filename Value="UfrmLargeScaleCommand.pas"/>
156
        <Filename Value="UfrmRadar.pas"/>
157
        <ComponentName Value="frmRadarMap"/>
287 158
        <IsPartOfProject Value="True"/>
288
        <ComponentName Value="frmLargeScaleCommand"/>
289
        <ResourceBaseClass Value="Form"/>
290
        <UnitName Value="UfrmLargeScaleCommand"/>
159
        <ResourceFilename Value="UfrmRadar.lrs"/>
160
        <UnitName Value="UfrmRadar"/>
291 161
      </Unit17>
292 162
      <Unit18>
293
        <Filename Value="Tools/UfrmVirtualLayer.pas"/>
163
        <Filename Value="UfrmLargeScaleCommand.pas"/>
164
        <ComponentName Value="frmLargeScaleCommand"/>
294 165
        <IsPartOfProject Value="True"/>
295
        <ComponentName Value="frmVirtualLayer"/>
296
        <ResourceBaseClass Value="Form"/>
297
        <UnitName Value="UfrmVirtualLayer"/>
166
        <ResourceFilename Value="UfrmLargeScaleCommand.lrs"/>
167
        <UnitName Value="UfrmLargeScaleCommand"/>
298 168
      </Unit18>
299 169
      <Unit19>
300
        <Filename Value="Tools/UfrmFilter.pas"/>
170
        <Filename Value="Tools/UfrmVirtualLayer.pas"/>
171
        <ComponentName Value="frmVirtualLayer"/>
301 172
        <IsPartOfProject Value="True"/>
302
        <ComponentName Value="frmFilter"/>
303
        <ResourceBaseClass Value="Form"/>
304
        <UnitName Value="UfrmFilter"/>
173
        <ResourceFilename Value="Tools/UfrmVirtualLayer.lrs"/>
174
        <UnitName Value="UfrmVirtualLayer"/>
305 175
      </Unit19>
306 176
      <Unit20>
177
        <Filename Value="Tools/UfrmFilter.pas"/>
178
        <ComponentName Value="frmFilter"/>
179
        <IsPartOfProject Value="True"/>
180
        <ResourceFilename Value="Tools/UfrmFilter.lrs"/>
181
        <UnitName Value="UfrmFilter"/>
182
      </Unit20>
183
      <Unit21>
184
        <Filename Value="UfrmTileInfo.pas"/>
185
        <ComponentName Value="frmTileInfo"/>
186
        <IsPartOfProject Value="True"/>
187
        <ResourceFilename Value="UfrmTileInfo.lrs"/>
188
        <UnitName Value="UfrmTileInfo"/>
189
      </Unit21>
190
      <Unit22>
307 191
        <Filename Value="UGUIPlatformUtils.pas"/>
308 192
        <IsPartOfProject Value="True"/>
309 193
        <UnitName Value="UGUIPlatformUtils"/>
310
      </Unit20>
311
      <Unit21>
194
      </Unit22>
195
      <Unit23>
312 196
        <Filename Value="UPlatformTypes.pas"/>
313 197
        <IsPartOfProject Value="True"/>
314 198
        <UnitName Value="UPlatformTypes"/>
315
      </Unit21>
316
      <Unit22>
317
        <Filename Value="UfrmRegionControl.pas"/>
318
        <IsPartOfProject Value="True"/>
319
        <ComponentName Value="frmRegionControl"/>
320
        <HasResources Value="True"/>
321
        <ResourceBaseClass Value="Form"/>
322
        <UnitName Value="UfrmRegionControl"/>
323
      </Unit22>
324
      <Unit23>
325
        <Filename Value="UPacketHandlers.pas"/>
326
        <IsPartOfProject Value="True"/>
327
        <UnitName Value="UPacketHandlers"/>
328 199
      </Unit23>
329
      <Unit24>
330
        <Filename Value="UPackets.pas"/>
331
        <IsPartOfProject Value="True"/>
332
        <UnitName Value="UPackets"/>
333
      </Unit24>
334
      <Unit25>
335
        <Filename Value="ULandscape.pas"/>
336
        <IsPartOfProject Value="True"/>
337
        <UnitName Value="ULandscape"/>
338
      </Unit25>
339
      <Unit26>
340
        <Filename Value="UGameResources.pas"/>
341
        <IsPartOfProject Value="True"/>
342
        <UnitName Value="UGameResources"/>
343
      </Unit26>
344
      <Unit27>
345
        <Filename Value="UAdminHandling.pas"/>
346
        <IsPartOfProject Value="True"/>
347
        <UnitName Value="UAdminHandling"/>
348
      </Unit27>
349
      <Unit28>
350
        <Filename Value="Tools/UfrmToolWindow.pas"/>
351
        <IsPartOfProject Value="True"/>
352
        <ComponentName Value="frmToolWindow"/>
353
        <ResourceBaseClass Value="Form"/>
354
        <UnitName Value="UfrmToolWindow"/>
355
      </Unit28>
356
      <Unit29>
357
        <Filename Value="../Logging.pas"/>
358
        <IsPartOfProject Value="True"/>
359
        <UnitName Value="Logging"/>
360
      </Unit29>
361
      <Unit30>
362
        <Filename Value="../UOLib/UStatics.pas"/>
363
        <IsPartOfProject Value="True"/>
364
        <UnitName Value="UStatics"/>
365
      </Unit30>
366
      <Unit31>
367
        <Filename Value="../UOLib/UWorldItem.pas"/>
368
        <IsPartOfProject Value="True"/>
369
        <UnitName Value="UWorldItem"/>
370
      </Unit31>
371
      <Unit32>
372
        <Filename Value="../UOLib/UMap.pas"/>
373
        <IsPartOfProject Value="True"/>
374
        <UnitName Value="UMap"/>
375
      </Unit32>
376
      <Unit33>
377
        <Filename Value="../UOLib/UTiledata.pas"/>
378
        <IsPartOfProject Value="True"/>
379
        <UnitName Value="UTiledata"/>
380
      </Unit33>
381
      <Unit34>
382
        <Filename Value="UGLFont.pas"/>
383
        <IsPartOfProject Value="True"/>
384
        <UnitName Value="UGLFont"/>
385
      </Unit34>
386
      <Unit35>
387
        <Filename Value="../UOLib/UAnimData.pas"/>
388
        <IsPartOfProject Value="True"/>
389
        <UnitName Value="UAnimData"/>
390
      </Unit35>
391
      <Unit36>
392
        <Filename Value="../MulProvider/UTileDataProvider.pas"/>
393
        <IsPartOfProject Value="True"/>
394
        <UnitName Value="UTileDataProvider"/>
395
      </Unit36>
396
      <Unit37>
397
        <Filename Value="../MulProvider/UAnimDataProvider.pas"/>
398
        <IsPartOfProject Value="True"/>
399
        <UnitName Value="UAnimDataProvider"/>
400
      </Unit37>
401
      <Unit38>
402
        <Filename Value="../MulProvider/UMulManager.pas"/>
403
        <IsPartOfProject Value="True"/>
404
        <UnitName Value="UMulManager"/>
405
      </Unit38>
406
      <Unit39>
407
        <Filename Value="../MulProvider/UArtProvider.pas"/>
408
        <IsPartOfProject Value="True"/>
409
        <UnitName Value="UArtProvider"/>
410
      </Unit39>
411
      <Unit40>
412
        <Filename Value="../MulProvider/UTexmapProvider.pas"/>
413
        <IsPartOfProject Value="True"/>
414
        <UnitName Value="UTexmapProvider"/>
415
      </Unit40>
416
      <Unit41>
417
        <Filename Value="../version.inc"/>
418
        <IsPartOfProject Value="True"/>
419
      </Unit41>
420
      <Unit42>
421
        <Filename Value="ULightManager.pas"/>
422
        <IsPartOfProject Value="True"/>
423
        <UnitName Value="ULightManager"/>
424
      </Unit42>
425
      <Unit43>
426
        <Filename Value="../UOLib/ULight.pas"/>
427
        <IsPartOfProject Value="True"/>
428
        <UnitName Value="ULight"/>
429
      </Unit43>
430
      <Unit44>
431
        <Filename Value="../MulProvider/ULightProvider.pas"/>
432
        <IsPartOfProject Value="True"/>
433
        <UnitName Value="ULightProvider"/>
434
      </Unit44>
435
      <Unit45>
436
        <Filename Value="Tools/UfrmLightlevel.pas"/>
437
        <IsPartOfProject Value="True"/>
438
        <ComponentName Value="frmLightlevel"/>
439
        <ResourceBaseClass Value="Form"/>
440
        <UnitName Value="UfrmLightlevel"/>
441
      </Unit45>
442
      <Unit46>
443
        <Filename Value="../heContnrs.pas"/>
444
        <IsPartOfProject Value="True"/>
445
        <UnitName Value="heContnrs"/>
446
      </Unit46>
447
      <Unit47>
448
        <Filename Value="../UContnrExt.pas"/>
449
        <IsPartOfProject Value="True"/>
450
        <UnitName Value="UContnrExt"/>
451
      </Unit47>
452 200
    </Units>
453 201
  </ProjectOptions>
454 202
  <CompilerOptions>
455
    <Version Value="11"/>
203
    <Version Value="5"/>
456 204
    <Target>
457 205
      <Filename Value="../bin/CentrED"/>
458 206
    </Target>
459 207
    <SearchPaths>
460
      <IncludeFiles Value="$(ProjOutDir);../Imaging;.."/>
461
      <OtherUnitFiles Value="..;../UOLib;../MulProvider;../Imaging;../Imaging/JpegLib;../Imaging/ZLib;Tools"/>
462
      <UnitOutputDirectory Value="../obj/$(TargetCPU)-$(TargetOS)"/>
208
      <IncludeFiles Value="../Imaging/;../"/>
209
      <OtherUnitFiles Value="../;../UOLib/;../MulProvider/;../Imaging/;../Imaging/JpegLib/;../Imaging/ZLib/;Tools/"/>
210
      <UnitOutputDirectory Value="../obj/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
211
      <LCLWidgetType Value="gtk"/>
212
      <SrcPath Value="$(LazarusDir)/lcl/;$(LazarusDir)/lcl/interfaces/$(LCLWidgetType)/;../;../UOLib/;../MulProvider/;../Imaging/;../Imaging/JpegLib/;../Imaging/ZLib/;Tools/"/>
463 213
    </SearchPaths>
464 214
    <Parsing>
465 215
      <SyntaxOptions>
466
        <CStyleOperator Value="False"/>
216
        <UseAnsiStrings Value="True"/>
467 217
      </SyntaxOptions>
468 218
    </Parsing>
469 219
    <CodeGeneration>
470
      <Checks>
471
        <RangeChecks Value="True"/>
472
      </Checks>
220
      <SmartLinkUnit Value="True"/>
221
      <Generate Value="Faster"/>
222
      <TargetCPU Value="i386"/>
473 223
      <Optimizations>
474
        <OptimizationLevel Value="0"/>
224
        <OptimizationLevel Value="3"/>
475 225
      </Optimizations>
226
      <TargetOS Value="Linux"/>
476 227
    </CodeGeneration>
477 228
    <Linking>
478 229
      <Debugging>
479
        <DebugInfoType Value="dsStabs"/>
230
        <UseLineInfoUnit Value="False"/>
231
        <StripSymbols Value="True"/>
480 232
      </Debugging>
233
      <LinkSmart Value="True"/>
234
      <Options>
235
        <Win32>
236
          <GraphicApplication Value="True"/>
237
        </Win32>
238
      </Options>
481 239
    </Linking>
482 240
    <Other>
483
      <CompilerMessages>
484
        <IgnoredMessages idx4079="True" idx4080="True" idx4081="True" idx5024="True" idx5028="True"/>
485
        <UseMsgFile Value="True"/>
486
      </CompilerMessages>
487
      <CustomOptions Value="-FE../bin/"/>
241
      <CustomOptions Value="-FE..\bin\
242
"/>
488 243
      <CompilerPath Value="$(CompPath)"/>
489 244
    </Other>
490 245
  </CompilerOptions>
b/Client/CentrED.lpr
21 21
 * CDDL HEADER END
22 22
 *
23 23
 *
24
 *      Portions Copyright 2012 Andreas Schneider
24
 *      Portions Copyright 2007 Andreas Schneider
25 25
 *)
26 26
program CentrED;
27 27

  
28 28
{$mode objfpc}{$H+}
29 29

  
30 30
uses
31
  {$IFNDEF NoLogging}heaptrc,{$ENDIF}
32 31
  {$IFDEF UNIX}{$IFDEF UseCThreads}
33 32
  cthreads,
34 33
  {$ENDIF}{$ENDIF}
35
  SysUtils,
36 34
  Interfaces, // this includes the LCL widgetset
37
  Forms, UdmNetwork;
38

  
39
{$R CentrED.res}
40

  
41
function GetApplicationName: String;
42
begin
43
  Result := 'CentrED';
44
end;
35
  Forms, lnetvisual, LazOpenGLContext,
36
  UdmNetwork, UfrmMain, UfrmLogin, UfrmInitialize, UfrmAccountControl,
37
  virtualtreeview_package, UfrmEditAccount, UfrmDrawSettings, UfrmBoundaries,
38
  UfrmElevateSettings, UOverlayUI, UResourceManager, UfrmConfirmation,
39
  UfrmMoveSettings, UfrmAbout, UfrmHueSettings, UfrmRadar,
40
  UfrmLargeScaleCommand, UfrmVirtualLayer, UfrmFilter, UfrmTileInfo,
41
  UGUIPlatformUtils, UPlatformTypes;
42
  
43
{$IFDEF Windows}
44
  {$R *.res}
45
{$ENDIF}
45 46

  
46 47
begin
47
  {$IFNDEF NoLogging}
48
  SetHeapTraceOutput('CentrED.trc');
49
  {$ENDIF}
50

  
51
  OnGetApplicationName := @GetApplicationName;
52

  
53 48
  Application.Initialize;
54 49
  Application.CreateForm(TdmNetwork, dmNetwork);
50
  //Application.CreateForm(TfrmMain, frmMain);
55 51
  Application.Run;
56 52
end.
57 53

  
/dev/null
1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
3
 <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="CompanyName.ProductName.YourApp" type="win32"/>
4
 <description>Your application description here.</description>
5
 <dependency>
6
  <dependentAssembly>
7
   <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
8
  </dependentAssembly>
9
 </dependency>
10
 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
11
  <security>
12
   <requestedPrivileges>
13
    <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
14
   </requestedPrivileges>
15
  </security>
16
 </trustInfo>
17
</assembly>
b/Client/ResourceList.txt
1
Overlay/LeftTopArrow.tga
2
Overlay/TopArrow.tga
3
Overlay/VirtualLayer.tga
4
GLFont/DejaVu.png
5
GLFont/DejaVu.fnt
1
Overlay/LeftTopArrow.tga
2
Overlay/TopArrow.tga
3
Overlay/VirtualLayer.tga
b/Client/Tools/UfrmBoundaries.lfm
1
inherited frmBoundaries: TfrmBoundaries
2
  Left = 290
3
  Height = 164
4
  Top = 171
5
  Width = 205
6
  Caption = 'Boundaries'
7
  ClientHeight = 164
8
  ClientWidth = 205
9
  object lblMaxZ: TLabel[0]
10
    AnchorSideLeft.Control = Owner
11
    AnchorSideTop.Control = seMaxZ
12
    AnchorSideTop.Side = asrCenter
13
    Left = 8
14
    Height = 16
15
    Top = 89
16
    Width = 68
17
    BorderSpacing.Left = 8
18
    Caption = 'Maximum Z:'
19
    Layout = tlCenter
20
    ParentColor = False
21
  end
22
  object lblMinZ: TLabel[1]
23
    AnchorSideLeft.Control = Owner
24
    AnchorSideTop.Control = seMinZ
25
    AnchorSideTop.Side = asrCenter
26
    Left = 8
27
    Height = 16
28
    Top = 12
29
    Width = 67
30
    BorderSpacing.Left = 8
31
    Caption = 'Minimum Z:'
32
    Layout = tlCenter
33
    ParentColor = False
34
  end
35
  object tbMinZ: TTrackBar[2]
36
    AnchorSideLeft.Control = Owner
37
    AnchorSideTop.Control = seMinZ
38
    AnchorSideTop.Side = asrBottom
39
    AnchorSideRight.Control = Owner
40
    AnchorSideRight.Side = asrBottom
41
    Left = 8
42
    Height = 36
43
    Top = 41
44
    Width = 189
45
    Frequency = 10
46
    Max = 127
47
    Min = -128
48
    OnChange = tbMinZChange
49
    PageSize = 1
50
    Position = -128
51
    Anchors = [akTop, akLeft, akRight]
52
    BorderSpacing.Around = 8
53
    TabOrder = 0
54
  end
55
  object tbMaxZ: TTrackBar[3]
56
    AnchorSideLeft.Control = Owner
57
    AnchorSideTop.Control = seMaxZ
58
    AnchorSideTop.Side = asrBottom
59
    AnchorSideRight.Control = Owner
60
    AnchorSideRight.Side = asrBottom
61
    Left = 8
62
    Height = 36
63
    Top = 118
64
    Width = 189
65
    Frequency = 10
66
    Max = 127
67
    Min = -128
68
    OnChange = tbMaxZChange
69
    PageSize = 1
70
    Position = 127
71
    Anchors = [akTop, akLeft, akRight]
72
    BorderSpacing.Around = 8
73
    TabOrder = 1
74
  end
75
  object seMaxZ: TSpinEdit[4]
76
    AnchorSideTop.Control = tbMinZ
77
    AnchorSideTop.Side = asrBottom
78
    AnchorSideRight.Control = Owner
79
    AnchorSideRight.Side = asrBottom
80
    Left = 149
81
    Height = 25
82
    Top = 85
83
    Width = 48
84
    Anchors = [akTop, akRight]
85
    BorderSpacing.Right = 8
86
    MaxValue = 127
87
    MinValue = -128
88
    OnChange = seMaxZChange
89
    TabOrder = 2
90
    Value = 127
91
  end
92
  object seMinZ: TSpinEdit[5]
93
    AnchorSideTop.Control = Owner
94
    AnchorSideRight.Control = Owner
95
    AnchorSideRight.Side = asrBottom
96
    Left = 149
97
    Height = 25
98
    Top = 8
99
    Width = 48
100
    Anchors = [akTop, akRight]
101
    BorderSpacing.Top = 8
102
    BorderSpacing.Right = 8
103
    MaxValue = 127
104
    MinValue = -128
105
    OnChange = seMinZChange
106
    TabOrder = 3
107
    Value = -128
108
  end
109
end
1
object frmBoundaries: TfrmBoundaries
2
  Left = 290
3
  Height = 105
4
  Top = 171
5
  Width = 187
6
  HorzScrollBar.Page = 186
7
  VertScrollBar.Page = 104
8
  ActiveControl = tbMinZ
9
  BorderIcons = []
10
  BorderStyle = bsToolWindow
11
  Caption = 'Boundaries'
12
  ClientHeight = 105
13
  ClientWidth = 187
14
  OnClose = FormClose
15
  OnDeactivate = FormDeactivate
16
  object lblMinZ: TLabel
17
    Left = 8
18
    Height = 16
19
    Top = 8
20
    Width = 67
21
    Caption = 'Minimum Z:'
22
    ParentColor = False
23
  end
24
  object lblMaxZ: TLabel
25
    Left = 8
26
    Height = 16
27
    Top = 56
28
    Width = 68
29
    Caption = 'Maximum Z:'
30
    ParentColor = False
31
  end
32
  object tbMinZ: TTrackBar
33
    Left = 8
34
    Height = 17
35
    Top = 32
36
    Width = 172
37
    Frequency = 10
38
    Max = 127
39
    Min = -128
40
    OnChange = tbMinZChange
41
    PageSize = 1
42
    Position = -128
43
    ScalePos = trTop
44
    TabOrder = 0
45
  end
46
  object tbMaxZ: TTrackBar
47
    Left = 8
48
    Height = 16
49
    Top = 80
50
    Width = 172
51
    Frequency = 10
52
    Max = 127
53
    Min = -128
54
    OnChange = tbMaxZChange
55
    PageSize = 1
56
    Position = 127
57
    ScalePos = trTop
58
    TabOrder = 1
59
  end
60
  object seMinZ: TSpinEdit
61
    Left = 128
62
    Height = 23
63
    Top = 4
64
    Width = 50
65
    MaxValue = 127
66
    MinValue = -128
67
    OnChange = seMinZChange
68
    TabOrder = 2
69
    Value = -128
70
  end
71
  object seMaxZ: TSpinEdit
72
    Left = 128
73
    Height = 23
74
    Top = 52
75
    Width = 50
76
    MaxValue = 127
77
    MinValue = -128
78
    OnChange = seMaxZChange
79
    TabOrder = 3
80
    Value = 127
81
  end
82
end
b/Client/Tools/UfrmBoundaries.pas
1
(*
2
 * CDDL HEADER START
3
 *
4
 * The contents of this file are subject to the terms of the
5
 * Common Development and Distribution License, Version 1.0 only
6
 * (the "License").  You may not use this file except in compliance
7
 * with the License.
8
 *
9
 * You can obtain a copy of the license at
10
 * http://www.opensource.org/licenses/cddl1.php.
11
 * See the License for the specific language governing permissions
12
 * and limitations under the License.
13
 *
14
 * When distributing Covered Code, include this CDDL HEADER in each
15
 * file and include the License file at
16
 * http://www.opensource.org/licenses/cddl1.php.  If applicable,
17
 * add the following below this CDDL HEADER, with the fields enclosed
18
 * by brackets "[]" replaced with your own identifying * information:
19
 *      Portions Copyright [yyyy] [name of copyright owner]
20
 *
21
 * CDDL HEADER END
22
 *
23
 *
24
 *      Portions Copyright 2009 Andreas Schneider
25
 *)
26
unit UfrmBoundaries;
27

  
28
{$mode objfpc}{$H+}
29

  
30
interface
31

  
32
uses
33
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
34
  ComCtrls, Spin, ExtCtrls, UfrmToolWindow;
35

  
36
type
37

  
38
  { TfrmBoundaries }
39

  
40
  TfrmBoundaries = class(TfrmToolWindow)
41
    lblMaxZ: TLabel;
42
    lblMinZ: TLabel;
43
    seMaxZ: TSpinEdit;
44
    seMinZ: TSpinEdit;
45
    tbMinZ: TTrackBar;
46
    tbMaxZ: TTrackBar;
47
    procedure seMaxZChange(Sender: TObject);
48
    procedure seMinZChange(Sender: TObject);
49
    procedure tbMaxZChange(Sender: TObject);
50
    procedure tbMinZChange(Sender: TObject);
51
  public
52
    { public declarations }
53
  end; 
54

  
55
var
56
  frmBoundaries: TfrmBoundaries;
57

  
58
implementation
59

  
60
uses
61
  UfrmMain;
62

  
63
{ TfrmBoundaries }
64

  
65
procedure TfrmBoundaries.seMaxZChange(Sender: TObject);
66
begin
67
  tbMaxZ.Position := seMaxZ.Value;
68
  frmMain.InvalidateFilter;
69
end;
70

  
71
procedure TfrmBoundaries.seMinZChange(Sender: TObject);
72
begin
73
  tbMinZ.Position := seMinZ.Value;
74
  frmMain.InvalidateFilter;
75
end;
76

  
77
procedure TfrmBoundaries.tbMaxZChange(Sender: TObject);
78
begin
79
  seMaxZ.Value := tbMaxZ.Position;
80
  frmMain.InvalidateFilter;
81
end;
82

  
83
procedure TfrmBoundaries.tbMinZChange(Sender: TObject);
84
begin
85
  seMinZ.Value := tbMinZ.Position;
86
  frmMain.InvalidateFilter;
87
end;
88

  
89
initialization
90
  {$I UfrmBoundaries.lrs}
91

  
92
end.
93

  
1
(*
2
 * CDDL HEADER START
3
 *
4
 * The contents of this file are subject to the terms of the
5
 * Common Development and Distribution License, Version 1.0 only
6
 * (the "License").  You may not use this file except in compliance
7
 * with the License.
8
 *
9
 * You can obtain a copy of the license at
10
 * http://www.opensource.org/licenses/cddl1.php.
11
 * See the License for the specific language governing permissions
12
 * and limitations under the License.
13
 *
14
 * When distributing Covered Code, include this CDDL HEADER in each
15
 * file and include the License file at
16
 * http://www.opensource.org/licenses/cddl1.php.  If applicable,
17
 * add the following below this CDDL HEADER, with the fields enclosed
18
 * by brackets "[]" replaced with your own identifying * information:
19
 *      Portions Copyright [yyyy] [name of copyright owner]
20
 *
21
 * CDDL HEADER END
22
 *
23
 *
24
 *      Portions Copyright 2007 Andreas Schneider
25
 *)
26
unit UfrmBoundaries;
27

  
28
{$mode objfpc}{$H+}
29

  
30
interface
31

  
32
uses
33
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, LMessages,
34
  LCLIntf, StdCtrls, ComCtrls, Spin;
35

  
36
type
37

  
38
  { TfrmBoundaries }
39

  
40
  TfrmBoundaries = class(TForm)
41
    lblMinZ: TLabel;
42
    lblMaxZ: TLabel;
43
    seMinZ: TSpinEdit;
44
    seMaxZ: TSpinEdit;
45
    tbMinZ: TTrackBar;
46
    tbMaxZ: TTrackBar;
47
    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
48
    procedure FormDeactivate(Sender: TObject);
49
    procedure seMaxZChange(Sender: TObject);
50
    procedure seMinZChange(Sender: TObject);
51
    procedure tbMaxZChange(Sender: TObject);
52
    procedure tbMinZChange(Sender: TObject);
53
  protected
54
    procedure MouseLeave(var msg: TLMessage); message CM_MouseLeave;
55
  public
56
    { public declarations }
57
  end; 
58

  
59
var
60
  frmBoundaries: TfrmBoundaries;
61

  
62
implementation
63

  
64
{ TfrmBoundaries }
65

  
66
procedure TfrmBoundaries.FormClose(Sender: TObject;
67
  var CloseAction: TCloseAction);
68
begin
69
  CloseAction := caHide;
70
end;
71

  
72
procedure TfrmBoundaries.FormDeactivate(Sender: TObject);
73
begin
74
  Close;
75
end;
76

  
77
procedure TfrmBoundaries.seMaxZChange(Sender: TObject);
78
begin
79
  tbMaxZ.Position := seMaxZ.Value;
80
end;
81

  
82
procedure TfrmBoundaries.seMinZChange(Sender: TObject);
83
begin
84
  tbMinZ.Position := seMinZ.Value;
85
end;
86

  
87
procedure TfrmBoundaries.tbMaxZChange(Sender: TObject);
88
begin
89
  seMaxZ.Value := tbMaxZ.Position;
90
end;
91

  
92
procedure TfrmBoundaries.tbMinZChange(Sender: TObject);
93
begin
94
  seMinZ.Value := tbMinZ.Position;
95
end;
96

  
97
procedure TfrmBoundaries.MouseLeave(var msg: TLMessage);
98
begin
99
  if not PtInRect(ClientRect, ScreenToClient(Mouse.CursorPos)) then
100
    Close;
101
end;
102

  
103
initialization
104
  {$I UfrmBoundaries.lrs}
105

  
106
end.
107

  
b/Client/Tools/UfrmConfirmation.lfm
1
object frmConfirmation: TfrmConfirmation
2
  Left = 290
3
  Height = 43
4
  Top = 171
5
  Width = 108
6
  BorderIcons = []
7
  BorderStyle = bsToolWindow
8
  Caption = 'Apply?'
9
  ClientHeight = 43
10
  ClientWidth = 108
11
  Font.Height = -11
12
  LCLVersion = '0.9.25'
13
  object btnYes: TButton
14
    Left = 8
15
    Height = 25
16
    Top = 8
17
    Width = 40
18
    BorderSpacing.InnerBorder = 4
19
    Caption = 'Yes'
20
    Default = True
21
    ModalResult = 6
22
    ParentFont = True
23
    TabOrder = 0
24
  end
25
  object btnNo: TButton
26
    Left = 56
27
    Height = 25
28
    Top = 8
29
    Width = 40
30
    BorderSpacing.InnerBorder = 4
31
    Cancel = True
32
    Caption = 'No'
33
    ModalResult = 7
34
    ParentFont = True
35
    TabOrder = 1
36
  end
37
end
1
object frmConfirmation: TfrmConfirmation
2
  Left = 290
3
  Height = 43
4
  Top = 171
5
  Width = 108
6
  HorzScrollBar.Page = 107
7
  VertScrollBar.Page = 42
8
  BorderIcons = []
9
  BorderStyle = bsToolWindow
10
  Caption = 'Apply?'
11
  ClientHeight = 43
12
  ClientWidth = 108
13
  object btnYes: TButton
14
    Left = 8
15
    Height = 25
16
    Top = 8
17
    Width = 40
18
    BorderSpacing.InnerBorder = 4
19
    Caption = 'Yes'
20
    Default = True
21
    ModalResult = 6
22
    TabOrder = 0
23
  end
24
  object btnNo: TButton
25
    Left = 56
26
    Height = 25
27
    Top = 8
28
    Width = 40
29
    BorderSpacing.InnerBorder = 4
30
    Cancel = True
31
    Caption = 'No'
32
    ModalResult = 7
33
    TabOrder = 1
34
  end
35
end
b/Client/Tools/UfrmConfirmation.pas
1
(*
2
 * CDDL HEADER START
3
 *
4
 * The contents of this file are subject to the terms of the
5
 * Common Development and Distribution License, Version 1.0 only
6
 * (the "License").  You may not use this file except in compliance
7
 * with the License.
8
 *
9
 * You can obtain a copy of the license at
10
 * http://www.opensource.org/licenses/cddl1.php.
11
 * See the License for the specific language governing permissions
12
 * and limitations under the License.
13
 *
14
 * When distributing Covered Code, include this CDDL HEADER in each
15
 * file and include the License file at
16
 * http://www.opensource.org/licenses/cddl1.php.  If applicable,
17
 * add the following below this CDDL HEADER, with the fields enclosed
18
 * by brackets "[]" replaced with your own identifying * information:
19
 *      Portions Copyright [yyyy] [name of copyright owner]
20
 *
21
 * CDDL HEADER END
22
 *
23
 *
24
 *      Portions Copyright 2007 Andreas Schneider
25
 *)
26
unit UfrmConfirmation;
27

  
28
{$mode objfpc}{$H+}
29

  
30
interface
31

  
32
uses
33
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;
34

  
35
type
36

  
37
  { TfrmConfirmation }
38

  
39
  TfrmConfirmation = class(TForm)
40
    btnYes: TButton;
41
    btnNo: TButton;
42
  private
43
    { private declarations }
44
  public
45
    { public declarations }
46
  end; 
47

  
48
var
49
  frmConfirmation: TfrmConfirmation;
50

  
51
implementation
52

  
53
initialization
54
  {$I UfrmConfirmation.lrs}
55

  
56
end.
57

  
1
(*
2
 * CDDL HEADER START
3
 *
4
 * The contents of this file are subject to the terms of the
5
 * Common Development and Distribution License, Version 1.0 only
6
 * (the "License").  You may not use this file except in compliance
7
 * with the License.
8
 *
9
 * You can obtain a copy of the license at
10
 * http://www.opensource.org/licenses/cddl1.php.
11
 * See the License for the specific language governing permissions
12
 * and limitations under the License.
13
 *
14
 * When distributing Covered Code, include this CDDL HEADER in each
15
 * file and include the License file at
16
 * http://www.opensource.org/licenses/cddl1.php.  If applicable,
17
 * add the following below this CDDL HEADER, with the fields enclosed
18
 * by brackets "[]" replaced with your own identifying * information:
19
 *      Portions Copyright [yyyy] [name of copyright owner]
20
 *
21
 * CDDL HEADER END
22
 *
23
 *
24
 *      Portions Copyright 2007 Andreas Schneider
25
 *)
26
unit UfrmConfirmation;
27

  
28
{$mode objfpc}{$H+}
29

  
30
interface
31

  
32
uses
33
  Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls;
34

  
35
type
36

  
37
  { TfrmConfirmation }
38

  
39
  TfrmConfirmation = class(TForm)
40
    btnYes: TButton;
41
    btnNo: TButton;
42
  private
43
    { private declarations }
44
  public
45
    { public declarations }
46
  end; 
47

  
48
var
49
  frmConfirmation: TfrmConfirmation;
50

  
51
implementation
52

  
53
initialization
54
  {$I UfrmConfirmation.lrs}
55

  
56
end.
57

  
b/Client/Tools/UfrmDrawSettings.lfm
1
inherited frmDrawSettings: TfrmDrawSettings
2
  Left = 268
3
  Height = 166
4
  Top = 165
5
  Width = 242
6
  ActiveControl = rbTileList
7
  Caption = 'Draw settings'
8
  ClientHeight = 166
9
  ClientWidth = 242
10
  OnCreate = FormCreate
11
  object rbTileList: TRadioButton[0]
12
    AnchorSideLeft.Control = Owner
13
    AnchorSideTop.Control = Owner
14
    Left = 8
15
    Height = 19
16
    Top = 8
17
    Width = 125
18
    BorderSpacing.Left = 8
19
    BorderSpacing.Top = 8
20
    BorderSpacing.Bottom = 4
21
    Caption = 'Use tile from the list'
22
    Checked = True
23
    TabOrder = 0
24
    TabStop = True
25
  end
26
  object rbRandom: TRadioButton[1]
27
    AnchorSideLeft.Control = rbTileList
28
    AnchorSideTop.Control = rbTileList
29
    AnchorSideTop.Side = asrBottom
30
    Left = 8
31
    Height = 19
32
    Top = 31
33
    Width = 184
34
    BorderSpacing.Top = 4
35
    Caption = 'Use tiles from the random pool'
36
    TabOrder = 1
37
  end
38
  object gbHue: TGroupBox[2]
39
    AnchorSideLeft.Control = Owner
40
    AnchorSideTop.Control = seRandomHeight
41
    AnchorSideTop.Side = asrBottom
42
    AnchorSideRight.Control = Owner
43
    AnchorSideRight.Side = asrBottom
44
    Left = 8
45
    Height = 38
46
    Top = 122
47
    Width = 226
48
    Anchors = [akTop, akLeft, akRight]
49
    BorderSpacing.Around = 8
50
    Caption = 'Hue (Statics only)'
51
    ClientHeight = 20
52
    ClientWidth = 222
53
    TabOrder = 2
54
    object pbHue: TPaintBox
55
      Cursor = crHandPoint
56
      Left = 4
57
      Height = 16
58
      Top = 0
59
      Width = 214
60
      Align = alClient
61
      BorderSpacing.Left = 4
62
      BorderSpacing.Right = 4
63
      BorderSpacing.Bottom = 4
64
      Font.Height = 14
65
      ParentFont = False
66
      OnClick = pbHueClick
67
      OnPaint = pbHuePaint
68
    end
69
  end
70
  object cbRandomHeight: TCheckBox[3]
71
    AnchorSideLeft.Control = cbForceAltitude
72
    AnchorSideTop.Control = cbForceAltitude
73
    AnchorSideTop.Side = asrBottom
74
    Left = 8
75
    Height = 19
76
    Top = 93
77
    Width = 135
78
    BorderSpacing.Top = 12
79
    Caption = 'Add Random Altitude'
80
    TabOrder = 3
81
  end
82
  object seRandomHeight: TSpinEdit[4]
83
    AnchorSideTop.Control = cbRandomHeight
84
    AnchorSideTop.Side = asrCenter
85
    AnchorSideRight.Control = Owner
86
    AnchorSideRight.Side = asrBottom
87
    Left = 184
88
    Height = 23
89
    Top = 91
90
    Width = 50
91
    Anchors = [akTop, akRight]
92
    BorderSpacing.Right = 8
93
    TabOrder = 4
94
  end
95
  object cbForceAltitude: TCheckBox[5]
96
    AnchorSideLeft.Control = rbRandom
97
    AnchorSideTop.Control = rbRandom
98
    AnchorSideTop.Side = asrBottom
99
    Left = 8
100
    Height = 19
101
    Top = 62
102
    Width = 95
103
    BorderSpacing.Top = 12
104
    Caption = 'Force altitude:'
105
    TabOrder = 5
106
  end
107
  object seForceAltitude: TSpinEdit[6]
108
    AnchorSideTop.Control = cbForceAltitude
109
    AnchorSideTop.Side = asrCenter
110
    AnchorSideRight.Control = Owner
111
    AnchorSideRight.Side = asrBottom
112
    Left = 184
113
    Height = 23
114
    Top = 60
115
    Width = 50
116
    Anchors = [akTop, akRight]
117
    BorderSpacing.Right = 8
118
    MaxValue = 127
119
    MinValue = -128
120
    TabOrder = 6
121
  end
122
  inherited tmClose: TTimer[7]
123
  end
124
end
1
object frmDrawSettings: TfrmDrawSettings
2
  Left = 290
3
  Height = 138
4
  Top = 171
5
  Width = 186
6
  HorzScrollBar.Page = 185
7
  VertScrollBar.Page = 137
8
  ActiveControl = rbTileList
9
  BorderIcons = []
10
  BorderStyle = bsToolWindow
11
  Caption = 'Draw settings'
12
  ClientHeight = 138
13
  ClientWidth = 186
14
  FormStyle = fsStayOnTop
15
  OnClose = FormClose
16
  OnDeactivate = FormDeactivate
17
  OnShow = FormShow
18
  object rbTileList: TRadioButton
19
    Left = 8
20
    Height = 15
21
    Top = 8
22
    Width = 113
23
    Caption = 'Use tile from the list'
24
    Checked = True
25
    State = cbChecked
26
    TabOrder = 0
27
    UseOnChange = True
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff