- Timestamp:
- May 8, 2020, 4:54:17 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CityProcessing.pas
r38 r205 630 630 TileInfo: TTileInfo; 631 631 begin 632 BestDist := MaxInt; 632 633 {$IFOPT O-}assert(1 shl p and InvalidTreatyMap = 0); {$ENDIF} 633 634 Best := 0; … … 660 661 result := Loc1; 661 662 Best := Resources; 662 BestDist := Dist 663 end 664 end 665 end 666 end; 667 end 663 BestDist := Dist; 664 end; 665 end; 666 end; 667 end; 668 end; 668 669 end; 669 670 -
trunk/GameServer.pas
r192 r205 7 7 8 8 uses 9 Protocol, Database, dynlibs, Platform, dateutils, fgl, FileUtil, Graphics;9 Protocol, Database, dynlibs, Platform, dateutils, fgl, LazFileUtils, Graphics; 10 10 11 11 const … … 2700 2700 end; 2701 2701 2702 const2703 Dirx: array [0 .. 7] of integer = (1, 2, 1, 0, -1, -2, -1, 0);2704 Diry: array [0 .. 7] of integer = (-1, 0, 1, 2, 1, 0, -1, -2);2705 2706 2702 var 2707 2703 d, i, j, p1, p2, pt0, pt1, uix1, cix1, Loc0, Loc1, dx, dy, NewCap, MinCap, … … 2709 2705 StopTurn, FutureMCost, NewProject, OldImp, mix, V8, V21, AStr, DStr, 2710 2706 ABaseDamage, DBaseDamage: integer; 2711 CityReport , AltCityReport: TCityReport;2707 CityReport: TCityReport; 2712 2708 FormerCLState: TCmdListState; 2713 EndTime: int64;2714 2709 Adjacent: TVicinity8Loc; 2715 2710 Radius: TVicinity21Loc; -
trunk/LocalPlayer/Battle.pas
r188 r205 5 5 6 6 uses 7 ScreenTools, Protocol, Messg,ButtonBase, ButtonA, Types, LCLIntf, LCLType,7 ScreenTools, Protocol, ButtonBase, ButtonA, Types, LCLIntf, LCLType, 8 8 SysUtils, Classes, Graphics, Controls, Forms, DrawDlg; 9 9 -
trunk/LocalPlayer/CityScreen.pas
r189 r205 498 498 499 499 var 500 x, y, xGr, i, i1,j, iix, d, dx, dy, PrCost, Cnt, Loc1, FreeSupp, Paintiix,500 x, y, xGr, i, j, iix, d, dx, dy, PrCost, Cnt, Loc1, FreeSupp, Paintiix, 501 501 HappyGain, OptiType, rx, ry, TrueFood, TrueProd, TruePoll: integer; 502 502 av: integer; -
trunk/LocalPlayer/ClientTools.pas
r70 r205 695 695 initialization 696 696 697 assert(nImp < 128);697 Assert(nImp < 128); 698 698 CalculateAdvValues; 699 699 -
trunk/LocalPlayer/Help.pas
r190 r205 6 6 uses 7 7 Protocol, ScreenTools, BaseWin, StringTables, Math, LCLIntf, LCLType, 8 LMessages,Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls,8 Messages, SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, 9 9 ButtonB, PVSB, Types, fgl; 10 10 -
trunk/LocalPlayer/Select.pas
r188 r205 7 7 Protocol, ClientTools, Term, ScreenTools, IsoEngine, PVSB, BaseWin, 8 8 9 LCLIntf, LCLType, LMessages,Messages, SysUtils, Classes, Graphics, Controls, Forms,9 LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics, Controls, Forms, 10 10 ExtCtrls, ButtonB, ButtonBase, Menus, Types; 11 11 -
trunk/LocalPlayer/TechTree.pas
r190 r205 5 5 6 6 uses 7 ScreenTools, Messg, LCLIntf, LCLType, Messages, SysUtils, Classes, Graphics,8 Controls, Forms, ButtonB ase, ButtonB, DrawDlg;7 ScreenTools, LCLIntf, LCLType, SysUtils, Classes, Graphics, 8 Controls, Forms, ButtonB, DrawDlg; 9 9 10 10 type … … 34 34 35 35 uses 36 Directories , PixelPointer;36 Directories; 37 37 38 38 {$R *.lfm} -
trunk/LocalPlayer/Term.pas
r202 r205 1629 1629 (Adv: adSpaceFlight; Icon: woMIR)); 1630 1630 var 1631 Domain, p1, i, ad, uix, cix, MoveOptions, MoveResult, Loc1, Dist,1632 NewAgeCenterTo, Bankrupt, ShipMore,Winners, NewGovAvailable, dx,1631 p1, i, ad, uix, cix, MoveOptions, MoveResult, Loc1, 1632 NewAgeCenterTo, Winners, NewGovAvailable, dx, 1633 1633 dy: integer; 1634 1634 MoveAdviceData: TMoveAdviceData; … … 6008 6008 var 6009 6009 ToLoc, xFromLoc, yFromLoc, xToLoc, yToLoc, xFrom, yFrom, xTo, yTo, xMin, yMin, 6010 xRange, yRange, xw1, Step, xMoving, yMoving, yl,SliceCount: integer;6010 xRange, yRange, xw1, Step, xMoving, yMoving, SliceCount: integer; 6011 6011 UnitInfo: TUnitInfo; 6012 6012 Ticks0, Ticks: TDateTime; -
trunk/Locale.pas
r194 r205 128 128 var 129 129 S: string; 130 W: Integer;131 130 begin 132 131 PaintBackground(self, 3, 3, ClientWidth - 6, ClientHeight - 6); -
trunk/Packages/CevoComponents/DrawDlg.pas
r189 r205 6 6 7 7 uses 8 Classes, SysUtils, Forms, LCLIntf, LCLType, LMessages, Messages, Graphics,9 Controls, ButtonBase, ButtonA, ButtonB, Area, ScreenTools;8 Classes, SysUtils, Forms, LCLIntf, LCLType, {$IFDEF LINUX}LMessages,{$ENDIF} 9 Messages, Graphics, Controls, ButtonBase, ButtonA, ButtonB, Area, ScreenTools; 10 10 11 11 type … … 119 119 procedure TDrawDlg.MouseDown(Button: TMouseButton; Shift: TShiftState; X, 120 120 Y: Integer); 121 {$IFDEF LINUX} 121 122 var 122 123 MousePosNew: TPoint; 123 124 NewFormPos: TPoint; 125 {$ENDIF} 124 126 begin 125 127 inherited; -
trunk/Packages/CevoComponents/ScreenTools.pas
r196 r205 208 208 209 209 uses 210 Directories, Sound, Registry,PixelPointer;210 Directories, Sound, PixelPointer; 211 211 212 212 var -
trunk/Packages/CevoComponents/Sound.pas
r201 r205 4 4 5 5 uses 6 Messages,SysUtils, Classes, Graphics, Controls, Forms, fgl, FileUtil,6 SysUtils, Classes, Graphics, Controls, Forms, fgl, FileUtil, 7 7 StringTables, Directories 8 8 {$IFDEF WINDOWS}, MMSystem, Windows{$ENDIF} 9 {$IFDEF LINUX}, Process, AsyncProcess{$ENDIF};9 {$IFDEF LINUX}, Messages, Process, AsyncProcess{$ENDIF}; 10 10 11 11 type
Note:
See TracChangeset
for help on using the changeset viewer.