Changeset 9 for trunk/LocalPlayer
- Timestamp:
- Jan 7, 2017, 1:28:56 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 10 added
- 10 deleted
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 6 6 Win32 7 7 *.~dsk 8 C-evo.exe 9 Integrated.compiled 10 Integrated.lps 11 lib
-
- Property svn:ignore
-
trunk/LocalPlayer/BaseWin.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit BaseWin; 3 3 … … 7 7 ScreenTools, Messg, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms;9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms; 10 10 11 11 type -
trunk/LocalPlayer/CityScreen.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit CityScreen; 3 3 … … 7 7 Protocol, ClientTools, Term, ScreenTools, IsoEngine, BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 10 10 ButtonA, 11 11 ButtonB, ButtonBase, ButtonC, Area; … … 93 93 Math; 94 94 95 {$R *. DFM}95 {$R *.lfm} 96 96 97 97 const … … 306 306 with SmallCityMap.Canvas do 307 307 begin 308 brush.Color := Colors.Canvas.Pixels[clkAge0 + Age, cliImp];308 brush.Color := ScreenTools.Colors.Canvas.Pixels[clkAge0 + Age, cliImp]; 309 309 for i := 0 to 29 do 310 310 begin … … 338 338 if i < 36 then 339 339 begin 340 brush.Color := Colors.Canvas.Pixels[clkAge0 + Age, cliImpProject];340 brush.Color := ScreenTools.Colors.Canvas.Pixels[clkAge0 + Age, cliImpProject]; 341 341 FillRect(Rect(5 + 16 * (i mod 3) + 48 * (i div 18), 342 342 3 + 12 * (i mod 18 div 3), 13 + 16 * (i mod 3) + 48 * (i div 18), … … 989 989 if ProdHint then 990 990 begin 991 Frame(offscreen.Canvas, xView + 9 - 1, yView + 5 - 1,991 ScreenTools.Frame(offscreen.Canvas, xView + 9 - 1, yView + 5 - 1, 992 992 xView + 9 + xSizeBig, yView + 5 + ySizeBig, $B0B0B0, $FFFFFF); 993 993 RFrame(offscreen.Canvas, xView + 9 - 2, yView + 5 - 2, … … 1624 1624 bitblt(Canvas.Handle, xView + 5 + 62, yView + 3, 2, 42, 1625 1625 Back.Canvas.Handle, xView + 5 + 62, yView + 3, SRCCOPY); 1626 Frame(Canvas, xView + 9 - 1, yView + 5 - 1, xView + 9 + xSizeBig,1626 ScreenTools.Frame(Canvas, xView + 9 - 1, yView + 5 - 1, xView + 9 + xSizeBig, 1627 1627 yView + 5 + ySizeBig, $B0B0B0, $FFFFFF); 1628 1628 RFrame(Canvas, xView + 9 - 2, yView + 5 - 2, xView + 9 + xSizeBig + 1, -
trunk/LocalPlayer/Diagram.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Diagram; 3 3 … … 7 7 BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 10 ButtonB, ButtonBase, Menus; 11 11 … … 43 43 Protocol, ScreenTools, ClientTools, Term, Tribes; 44 44 45 {$R *. DFM}45 {$R *.lfm} 46 46 47 47 const … … 66 66 FillRect(Rect(Left, Top, Left + Width, Top + 200)); 67 67 Brush.Style := bsClear; 68 Frame(canvas, Left - 1, Top - 1, Left + Width, Top + 200,68 ScreenTools.Frame(canvas, Left - 1, Top - 1, Left + Width, Top + 200, 69 69 MainTexture.clBevelShade, MainTexture.clBevelLight); 70 70 RFrame(canvas, Left - 2, Top - 2, Left + Width + 1, Top + 200 + 1, -
trunk/LocalPlayer/Draft.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Draft; 3 3 … … 7 7 Protocol, ClientTools, Term, ScreenTools, PVSB, BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 10 10 ButtonA, 11 11 ButtonB, ButtonBase, Area; … … 47 47 uses Help, Tribes, Directories; 48 48 49 {$R *. DFM}49 {$R *.lfm} 50 50 51 51 const … … 352 352 DarkGradient(offscreen.Canvas, xFeature + 17, 353 353 yFeature + LinePitch * i, 16, 1); 354 Frame(offscreen.Canvas, xFeature + 18, yFeature + 1 + LinePitch * i,354 ScreenTools.Frame(offscreen.Canvas, xFeature + 18, yFeature + 1 + LinePitch * i, 355 355 xFeature + 20 - 2 + 13, yFeature + 2 + 1 - 2 + 13 + LinePitch * i, 356 356 $C0C0C0, $C0C0C0); -
trunk/LocalPlayer/Help.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Help; 3 3 … … 7 7 Protocol, ScreenTools, BaseWin, StringTables, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,10 ExtCtrls, ButtonB, PVSB, ButtonBase ;9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ExtCtrls, ButtonB, PVSB, ButtonBase, Types; 11 11 12 12 const … … 98 98 99 99 uses 100 Directories, ClientTools, Term, Tribes, ShellAPI,Inp, Messg;101 102 {$R *. DFM}100 Directories, ClientTools, Term, Tribes, Inp, Messg; 101 102 {$R *.lfm} 103 103 104 104 type 105 THelpLineInfo = packed record105 THelpLineInfo = class 106 106 Format, Picpix: Byte; 107 107 Link: Word; … … 113 113 HelpLineInfo: THelpLineInfo; 114 114 begin 115 HelpLineInfo := THelpLineInfo.Create; 115 116 if LinkIndex < 0 then 116 117 LinkIndex := liInvalid; … … 475 476 pkSmallIcon, pkSmallIcon_AsPreq: 476 477 begin 477 Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24,478 ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24, 478 479 8 + xSizeSmall + x0[i], 2 + 20 + i * 24, $000000, $000000); 479 480 if HelpLineInfo.Picpix = imPalace then … … 533 534 pkDomain: 534 535 begin 535 Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24,536 ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24, 536 537 8 + 36 + x0[i], 2 + 20 + i * 24, $000000, $000000); 537 538 Dump(OffScreen, HGrSystem, 8 + x0[i], 2 + i * 24, 36, 20, … … 541 542 pkAdvIcon, pkAdvIcon_AsPreq: 542 543 begin 543 Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24,544 ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24, 544 545 8 + xSizeSmall + x0[i], 2 + ySizeSmall + i * 24, 545 546 $000000, $000000); … … 582 583 Dump(OffScreen, HGrSystem, InnerWidth - 38 - 38 * cnt, 583 584 i * 24 + 1, 36, 20, 75 + j * 37, 295); 584 Frame(OffScreen.Canvas, InnerWidth - 39 - 38 * cnt, i * 24,585 ScreenTools.Frame(OffScreen.Canvas, InnerWidth - 39 - 38 * cnt, i * 24, 585 586 InnerWidth - 2 - 38 * cnt, i * 24 + 21, $000000, $000000); 586 587 end; … … 707 708 DarkGradient(OffScreen.Canvas, x0[i] + 8 - 1, 708 709 7 + i * 24 - 3, 16, 1); 709 Frame(OffScreen.Canvas, x0[i] + 8, 7 + i * 24 - 2, x0[i] + 8 + 13,710 ScreenTools.Frame(OffScreen.Canvas, x0[i] + 8, 7 + i * 24 - 2, x0[i] + 8 + 13, 710 711 7 + i * 24 - 2 + 13, $C0C0C0, $C0C0C0); 711 712 Sprite(OffScreen, HGrSystem, x0[i] + 8 + 2, 7 + i * 24, 10, 10, … … 716 717 pkExp: 717 718 begin 718 Frame(OffScreen.Canvas, 20 - 1, 8 - 4 + i * 24, 20 + 12,719 ScreenTools.Frame(OffScreen.Canvas, 20 - 1, 8 - 4 + i * 24, 20 + 12, 719 720 8 + 11 + i * 24, $000000, $000000); 720 721 Dump(OffScreen, HGrSystem, 20, 8 - 3 + i * 24, 12, 14, … … 730 731 pkGov: 731 732 begin 732 Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24,733 ScreenTools.Frame(OffScreen.Canvas, 8 - 1 + x0[i], 2 - 1 + i * 24, 733 734 8 + xSizeSmall + x0[i], 2 + 20 + i * 24, $000000, $000000); 734 735 BitBlt(OffScreen.Canvas.Handle, 8 + x0[i], 2 + i * 24, xSizeSmall, … … 750 751 x0[i] := x0[i] + 8 751 752 end; 752 line(OffScreen.Canvas, i, false)753 end 753 Self.line(OffScreen.Canvas, i, false) 754 end; 754 755 end; 755 756 MarkUsedOffscreen(InnerWidth, InnerHeight + 13 + 48); … … 1895 1896 case Link and $FF of 1896 1897 1: 1897 ShellExecute(Handle, 'open', 1898 pchar(HomeDir + 'AI Template\AI development manual.html'), '', '', 1899 SW_SHOWNORMAL); 1898 OpenDocument(pchar(HomeDir + 'AI Template\AI development manual.html'));{ *Převedeno z ShellExecute* } 1900 1899 2: 1901 ShellExecute(Handle, 'open', 'http://c-evo.org', '', '', 1902 SW_SHOWNORMAL); 1900 OpenURL('http://c-evo.org');{ *Převedeno z ShellExecute* } 1903 1901 3: 1904 ShellExecute(Handle, 'open', 'http://c-evo.org/_sg/contact', '', '', 1905 SW_SHOWNORMAL); 1902 OpenURL('http://c-evo.org/_sg/contact');{ *Převedeno z ShellExecute* } 1906 1903 end 1907 1904 else -
trunk/LocalPlayer/IsoEngine.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit IsoEngine; 3 3 … … 7 7 Protocol, ClientTools, ScreenTools, Tribes, 8 8 {$IFNDEF SCR}Term, {$ENDIF} 9 Windows, SysUtils, Classes, Graphics;9 LCLIntf, LCLType, LMessages, SysUtils, Classes, Graphics; 10 10 11 11 type … … 504 504 exit; 505 505 506 Windows.BitBlt(FOutput.Canvas.Handle, x, y, Width, Height,506 LCLIntf.BitBlt(FOutput.Canvas.Handle, x, y, Width, Height, 507 507 Src.Canvas.Handle, xSrc, ySrc, Rop); 508 508 end; … … 546 546 exit; 547 547 548 Windows.BitBlt(OutDC, xDst, yDst, Width, Height, MaskDC, xSrc,548 LCLIntf.BitBlt(OutDC, xDst, yDst, Width, Height, MaskDC, xSrc, 549 549 ySrc, SRCAND); 550 550 if not PureBlack then 551 Windows.BitBlt(OutDC, xDst, yDst, Width, Height, DataDC, xSrc, ySrc,551 LCLIntf.BitBlt(OutDC, xDst, yDst, Width, Height, DataDC, xSrc, ySrc, 552 552 SRCPAINT); 553 553 end; … … 1004 1004 if BordersOK and (1 shl p1) = 0 then 1005 1005 begin 1006 Windows.BitBlt(Borders.Canvas.Handle, 0, p1 * (yyt * 2),1006 LCLIntf.BitBlt(Borders.Canvas.Handle, 0, p1 * (yyt * 2), 1007 1007 xxt * 2, yyt * 2, GrExt[HGrTerrain].Data.Canvas.Handle, 1008 1008 1 + 8 * (xxt * 2 + 1), -
trunk/LocalPlayer/LocalPlayer.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit LocalPlayer; 3 3 … … 25 25 FormsCreated := true; 26 26 BaseWin.CreateOffscreen; 27 // Application.MainForm := MainScreen; 27 28 Application.CreateForm(TMainScreen, MainScreen); 29 MainScreen.HandleNeeded; // Force to call CreateParams method 28 30 Application.CreateForm(TCityDlg, CityDlg); 29 31 Application.CreateForm(TModalSelectDlg, ModalSelectDlg); -
trunk/LocalPlayer/MessgEx.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit MessgEx; 3 3 … … 5 5 6 6 uses 7 Messg, Protocol, ScreenTools, 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA,7 Messg, Protocol, ScreenTools, Windows, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 10 10 ButtonB, ButtonBase, StdCtrls; 11 11 … … 77 77 IsoEngine, Diagram; 78 78 79 {$R *. DFM}79 {$R *.lfm} 80 80 81 81 const -
trunk/LocalPlayer/NatStat.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit NatStat; 3 3 … … 7 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 10 ButtonBase, ButtonB, ButtonC, Menus, EOTButton; 11 11 … … 55 55 implementation 56 56 57 {$R *. DFM}57 {$R *.lfm} 58 58 59 59 uses -
trunk/LocalPlayer/Nego.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Nego; 3 3 … … 427 427 FillRect(Rect(X, Y, X + 64, Y + 48)); 428 428 Brush.Style := bsClear; 429 Frame(Offscreen.Canvas, X - 1, Y - 1, X + 64, Y + 48, $000000, $000000);429 ScreenTools.Frame(Offscreen.Canvas, X - 1, Y - 1, X + 64, Y + 48, $000000, $000000); 430 430 end 431 431 end; -
trunk/LocalPlayer/PVSB.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit PVSB; 3 3 … … 5 5 6 6 uses 7 Windows, Messages, SysUtils;7 Windows, LCLIntf, LCLType, LMessages, Messages, SysUtils; 8 8 9 9 type -
trunk/LocalPlayer/Select.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Select; 3 3 … … 7 7 Protocol, ClientTools, Term, ScreenTools, IsoEngine, PVSB, BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,10 ExtCtrls, ButtonB, ButtonBase, Menus ;9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ExtCtrls, ButtonB, ButtonBase, Menus, Types; 11 11 12 12 const … … 89 89 CityScreen, Help, UnitStat, Tribes, Inp; 90 90 91 {$R *. DFM}91 {$R *.lfm} 92 92 93 93 const … … 761 761 for i := -1 to DispLines do 762 762 if (i + sb.si.npos >= 0) and (i + sb.si.npos < Lines[Layer]) then 763 line(offscreen.Canvas, i, true, false)763 Self.line(offscreen.Canvas, i, true, false) 764 764 end; 765 765 MarkUsedOffscreen(InnerWidth, 8 + 48 + DispLines * LineDistance); -
trunk/LocalPlayer/Term.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Term; 3 3 … … 5 5 6 6 uses 7 Protocol, Tribes, PVSB, ClientTools, ScreenTools, BaseWin, Messg, ButtonBase,8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Menus,7 Windows, Protocol, Tribes, PVSB, ClientTools, ScreenTools, BaseWin, Messg, ButtonBase, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, Menus, 10 10 ExtCtrls, 11 11 ButtonA, ButtonB, ButtonC, EOTButton, Area; … … 427 427 uses 428 428 Directories, IsoEngine, CityScreen, Draft, MessgEx, Select, CityType, Help, 429 UnitStat, Diplomacy, Inp, log, Diagram, NatStat, Wonders, Enhance, Nego,429 UnitStat, Diplomacy, Inp, Log, Diagram, NatStat, Wonders, Enhance, Nego, 430 430 Battle, Rates, 431 431 TechTree, 432 432 433 Registry , ShellAPI;434 435 {$R *. DFM}436 {$R Res1.res}433 Registry; 434 435 {$R *.lfm} 436 // TODO {$R Res1.res} 437 437 438 438 const … … 4204 4204 offscreen.Canvas.Font.Assign(UniFont[ftSmall]); 4205 4205 rec := Rect(0, 0, MapWidth, MapHeight); 4206 ScrollDC(offscreen.Canvas.Handle, (xwd - xw) * (xxt * 2),4207 (ywd - yw) * yyt, rec, rec, 0, nil); 4206 { TODO ScrollDC(offscreen.Canvas.Handle, (xwd - xw) * (xxt * 2), 4207 (ywd - yw) * yyt, rec, rec, 0, nil);} 4208 4208 for DoInvalidate := false to FastScrolling do 4209 4209 begin … … 4211 4211 begin 4212 4212 rec.Bottom := MapHeight - overlap; 4213 ScrollDC(Canvas.Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec,4214 rec, 0, nil); 4213 { TODO ScrollDC(Canvas.Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec, 4214 rec, 0, nil);} 4215 4215 ProcessOptions := prInvalidate; 4216 4216 end … … 4372 4372 if supervising then 4373 4373 begin 4374 Frame(Panel.Canvas, ClientWidth - xPalace - 1, yPalace - 1,4374 ScreenTools.Frame(Panel.Canvas, ClientWidth - xPalace - 1, yPalace - 1, 4375 4375 ClientWidth - xPalace + xSizeBig, yPalace + ySizeBig, 4376 4376 $B0B0B0, $FFFFFF); … … 4392 4392 4393 4393 if GameMode = cMovie then 4394 Frame(Panel.Canvas, xMini + 1, yMini + 1, xMini + 2 + G.lx * 2,4394 ScreenTools.Frame(Panel.Canvas, xMini + 1, yMini + 1, xMini + 2 + G.lx * 2, 4395 4395 yMini + 2 + G.ly, $000000, $000000) 4396 4396 else 4397 4397 begin 4398 Frame(Panel.Canvas, xMini + 1, yMini + 1, xMini + 2 + G.lx * 2,4398 ScreenTools.Frame(Panel.Canvas, xMini + 1, yMini + 1, xMini + 2 + G.lx * 2, 4399 4399 yMini + 2 + G.ly, $B0B0B0, $FFFFFF); 4400 4400 RFrame(Panel.Canvas, xMini, yMini, xMini + 3 + G.lx * 2, … … 4498 4498 if BrushTypes[i] = BrushType then 4499 4499 begin 4500 Frame(Panel.Canvas, xTroop + 2 + x, yTroop + 7 - yyt div 2,4500 ScreenTools.Frame(Panel.Canvas, xTroop + 2 + x, yTroop + 7 - yyt div 2, 4501 4501 xTroop + 2 * xxt + x, yTroop + 2 * yyt + 11, $000000, $000000); 4502 Frame(Panel.Canvas, xTroop + 1 + x, yTroop + 6 - yyt div 2,4502 ScreenTools.Frame(Panel.Canvas, xTroop + 1 + x, yTroop + 6 - yyt div 2, 4503 4503 xTroop + 2 * xxt - 1 + x, yTroop + 2 * yyt + 10, 4504 4504 MainTexture.clMark, MainTexture.clMark); … … 4655 4655 if uix = UnFocus then 4656 4656 begin 4657 Frame(Panel.Canvas, xTroop + 4 + x, yTroop + 3,4657 ScreenTools.Frame(Panel.Canvas, xTroop + 4 + x, yTroop + 3, 4658 4658 xTroop + 64 + x, yTroop + 47, $000000, $000000); 4659 Frame(Panel.Canvas, xTroop + 3 + x, yTroop + 2,4659 ScreenTools.Frame(Panel.Canvas, xTroop + 3 + x, yTroop + 2, 4660 4660 xTroop + 63 + x, yTroop + 46, MainTexture.clMark, 4661 4661 MainTexture.clMark); … … 4822 4822 LineTo(ClientWidth, TopBarHeight - 3); 4823 4823 Pen.Color := MainTexture.clBevelLight; 4824 Frame(TopBar.Canvas, 40, -1, xTreasurySection - 1, TopBarHeight - 7,4824 ScreenTools.Frame(TopBar.Canvas, 40, -1, xTreasurySection - 1, TopBarHeight - 7, 4825 4825 MainTexture.clBevelShade, MainTexture.clBevelLight); 4826 Frame(TopBar.Canvas, xResearchSection + 332, -1, ClientWidth,4826 ScreenTools.Frame(TopBar.Canvas, xResearchSection + 332, -1, ClientWidth, 4827 4827 TopBarHeight - 7, MainTexture.clBevelShade, MainTexture.clBevelLight); 4828 4828 end; … … 6845 6845 end 6846 6846 else 6847 with MessgExDlg do6847 // TODO with MessgExDlg do 6848 6848 begin // revolution! 6849 Messg Text := Tribe[me].TPhrase('REVOLUTION');6850 Kind := mkYesNo;6851 IconKind := mikPureIcon;6852 IconIndex := 72; // anarchy palace6853 ShowModal;6849 MessgExDlg.MessgText := Tribe[me].TPhrase('REVOLUTION'); 6850 MessgExDlg.Kind := mkYesNo; 6851 MessgExDlg.IconKind := mikPureIcon; 6852 MessgExDlg.IconIndex := 72; // anarchy palace 6853 MessgExDlg.ShowModal; 6854 6854 if ModalResult = mrOK then 6855 6855 begin … … 6868 6868 end 6869 6869 else if Sender = mWebsite then 6870 ShellExecute(Handle, 'open', 'http://c-evo.org', '', '', SW_SHOWNORMAL)6870 OpenURL('http://c-evo.org'){ *Převedeno z ShellExecute* } 6871 6871 else if Sender = mRandomMap then 6872 6872 begin -
trunk/LocalPlayer/UnitStat.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit UnitStat; 3 3 … … 7 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 10 10 ButtonB, 11 11 ButtonBase, ButtonC; … … 54 54 uses Inp, Select, Tribes, IsoEngine, Help, Directories; 55 55 56 {$R *. DFM}56 {$R *.lfm} 57 57 58 58 const -
trunk/LocalPlayer/Wonders.pas
r6 r9 1 {$INCLUDE switches }1 {$INCLUDE switches.pas} 2 2 unit Wonders; 3 3 … … 7 7 ScreenTools, BaseWin, Protocol, 8 8 9 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 10 ButtonBase, ButtonB; 11 11 … … 36 36 Term, ClientTools, Help, Tribes; 37 37 38 {$R *. DFM}38 {$R *.lfm} 39 39 40 40 const
Note:
See TracChangeset
for help on using the changeset viewer.