Changeset 21 for trunk/LocalPlayer
- Timestamp:
- Jan 8, 2017, 3:12:18 PM (8 years ago)
- Location:
- trunk/LocalPlayer
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/BaseWin.pas
r17 r21 7 7 ScreenTools, Messg, 8 8 9 LCLIntf, LCLType, LMessages, Messages,SysUtils, Classes, Graphics, Controls, Forms;9 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms; 10 10 11 11 type -
trunk/LocalPlayer/Battle.pas
r17 r21 6 6 uses 7 7 ScreenTools, Protocol, Messg, ButtonBase, ButtonA, Types, LCLIntf, LCLType, 8 9 Messages, SysUtils, Classes, Graphics, Controls, Forms; 8 SysUtils, Classes, Graphics, Controls, Forms; 10 9 11 10 type -
trunk/LocalPlayer/Diagram.pas
r17 r21 5 5 6 6 uses 7 BaseWin, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ButtonB, ButtonBase, Menus; 7 BaseWin, LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 8 ButtonB, Menus; 11 9 12 10 type … … 230 228 end; 231 229 230 y0 := 0; 232 231 if max > 0 then 233 232 begin -
trunk/LocalPlayer/Draft.pas
r20 r21 6 6 uses 7 7 Protocol, ClientTools, Term, ScreenTools, PVSB, BaseWin, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 10 ButtonA, 11 ButtonB, ButtonBase, Area; 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 9 ButtonA, ButtonB, Area; 12 10 13 11 type … … 91 89 Back.Height := ClientHeight; 92 90 Template := TBitmap.Create; 93 LoadGraphicFile(Template, HomeDir + 'Graphics ' + DirectorySeparator + 'MiliRes', gfNoGamma);91 LoadGraphicFile(Template, HomeDir + 'Graphics\MiliRes', gfNoGamma); 94 92 Template.PixelFormat := pf8bit; 95 93 end; -
trunk/LocalPlayer/Enhance.pas
r17 r21 7 7 ScreenTools, BaseWin, Protocol, ClientTools, Term, LCLIntf, LCLType, 8 8 9 Messages,SysUtils, Classes, Graphics, Controls, Forms,10 ButtonB ase, ButtonB, ButtonC, Menus;9 SysUtils, Classes, Graphics, Controls, Forms, 10 ButtonB, ButtonC, Menus; 11 11 12 12 type -
trunk/LocalPlayer/Help.pas
r20 r21 6 6 uses 7 7 Protocol, ScreenTools, BaseWin, StringTables, 8 9 8 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ExtCtrls, ButtonB, PVSB, ButtonBase,Types;9 ExtCtrls, ButtonB, PVSB, Types; 11 10 12 11 const … … 41 40 42 41 THyperText = class(TStringList) 42 public 43 43 procedure AddLine(s: String = ''; Format: integer = 0; Picpix: integer = 0; 44 44 LinkCategory: integer = 0; LinkIndex: integer = 0); … … 1165 1165 List := TStringList.Create; 1166 1166 plus := TStringList.Create; 1167 if FindFirst(HomeDir + 'Graphics ' + DirectorySeparator + '*.credits.txt', $27, sr) = 0 then1167 if FindFirst(HomeDir + 'Graphics\*.credits.txt', $27, sr) = 0 then 1168 1168 repeat 1169 plus.LoadFromFile(HomeDir + 'Graphics ' + DirectorySeparator+ sr.Name);1169 plus.LoadFromFile(HomeDir + 'Graphics\' + sr.Name); 1170 1170 List.AddStrings(plus); 1171 1171 until FindNext(sr) <> 0; … … 1199 1199 begin 1200 1200 List := TStringList.Create; 1201 List.LoadFromFile(HomeDir + 'Sounds ' + DirectorySeparator + 'sound.credits.txt');1201 List.LoadFromFile(HomeDir + 'Sounds\sound.credits.txt'); 1202 1202 for i := 0 to List.Count - 1 do 1203 1203 begin … … 1913 1913 case Link and $FF of 1914 1914 1: 1915 OpenDocument(pchar(HomeDir + 'AI Template ' + DirectorySeparator + 'AI development manual.html'));{ *Převedeno z ShellExecute* }1915 OpenDocument(pchar(HomeDir + 'AI Template\AI development manual.html'));{ *Převedeno z ShellExecute* } 1916 1916 2: 1917 1917 OpenURL('http://c-evo.org');{ *Převedeno z ShellExecute* } -
trunk/LocalPlayer/IsoEngine.pas
r17 r21 7 7 Protocol, ClientTools, ScreenTools, Tribes, 8 8 {$IFNDEF SCR}Term, {$ENDIF} 9 LCLIntf, LCLType, LMessages,SysUtils, Classes, Graphics;9 LCLIntf, LCLType, SysUtils, Classes, Graphics; 10 10 11 11 type … … 33 33 FLeft, FTop, FRight, FBottom, RealTop, RealBottom, AttLoc, DefLoc, 34 34 DefHealth, FAdviceLoc: integer; 35 OutDC, DataDC, MaskDC: Cardinal;35 OutDC, DataDC, MaskDC: HDC; 36 36 function Connection4(Loc, Mask, Value: integer): integer; 37 37 function Connection8(Loc, Mask: integer): integer; -
trunk/LocalPlayer/MessgEx.pas
r17 r21 6 6 uses 7 7 Messg, Protocol, ScreenTools, Platform, DateUtils, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 10 ButtonB, ButtonBase, StdCtrls; 8 LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 9 ButtonB, StdCtrls; 11 10 12 11 type -
trunk/LocalPlayer/NatStat.pas
r20 r21 6 6 uses 7 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ButtonBase, ButtonB, ButtonC, Menus, EOTButton; 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 9 ButtonB, ButtonC, Menus, EOTButton; 11 10 12 11 type -
trunk/LocalPlayer/Nego.pas
r17 r21 5 5 6 6 uses 7 ScreenTools, BaseWin, Protocol, Term, LCLType, 8 9 Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 10 ButtonBase, ButtonB, ButtonC, ButtonN; 7 ScreenTools, BaseWin, Protocol, Term, LCLType, SysUtils, Classes, Graphics, 8 Controls, Forms, ButtonA, ButtonB, ButtonN; 11 9 12 10 const … … 101 99 102 100 uses 103 Messg, ClientTools, Diplomacy, Inp, Select, NatStat, Help,Tribes, MessgEx;101 Messg, ClientTools, Diplomacy, Inp, Select, NatStat, Tribes, MessgEx; 104 102 105 103 {$R *.dfm} … … 290 288 preview, Dot: boolean; 291 289 begin 290 nLines := 0; 292 291 for preview := true downto false do 293 292 begin -
trunk/LocalPlayer/Term.pas
r20 r21 10 10 Protocol, Tribes, PVSB, ClientTools, ScreenTools, BaseWin, Messg, ButtonBase, 11 11 12 LCLIntf, LCLType, LMessages,Messages, SysUtils, Classes, Graphics, Controls, Forms, Menus,12 LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms, Menus, 13 13 ExtCtrls, dateutils, Platform, 14 Button A, ButtonB, ButtonC, EOTButton, Area;14 ButtonB, ButtonC, EOTButton, Area; 15 15 16 16 const … … 4972 4972 GotoOnly: boolean; 4973 4973 begin 4974 Dist := 0; 4974 4975 if ClientMode >= scContact then 4975 4976 exit; -
trunk/LocalPlayer/UnitStat.pas
r20 r21 6 6 uses 7 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, ButtonA, 10 ButtonB, 11 ButtonBase, ButtonC; 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 9 ButtonB, ButtonC; 12 10 13 11 type … … 83 81 Back.Height := hMax; 84 82 Template := TBitmap.Create; 85 LoadGraphicFile(Template, HomeDir + 'Graphics ' + DirectorySeparator + 'Unit', gfNoGamma);83 LoadGraphicFile(Template, HomeDir + 'Graphics\Unit', gfNoGamma); 86 84 Template.PixelFormat := pf8bit; 87 85 end; -
trunk/LocalPlayer/Wonders.pas
r17 r21 6 6 uses 7 7 ScreenTools, BaseWin, Protocol, 8 9 LCLIntf, LCLType, LMessages, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 ButtonBase, ButtonB; 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, ButtonB; 11 9 12 10 type
Note:
See TracChangeset
for help on using the changeset viewer.