- Timestamp:
- Nov 19, 2017, 10:59:54 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BigMetro.lpi
r42 r44 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value=" 9"/>4 <Version Value="10"/> 5 5 <General> 6 6 <SessionStorage Value="InProjectDir"/> … … 14 14 <EnableI18N LFM="False"/> 15 15 </i18n> 16 <VersionInfo>17 <StringTable ProductVersion=""/>18 </VersionInfo>19 16 <BuildModes Count="4"> 20 17 <Item1 Name="Debug" Default="True"/> … … 223 220 </Linking> 224 221 <Other> 222 <CompilerMessages> 223 <IgnoredMessages idx5024="True"/> 224 </CompilerMessages> 225 225 <CustomOptions Value="-dDEBUG"/> 226 226 </Other> -
trunk/Forms/UFormMain.pas
r42 r44 33 33 procedure PaintBox1Resize(Sender: TObject); 34 34 procedure Timer1Timer(Sender: TObject); 35 private36 procedure EraseBackground(DC: HDC); override;37 35 public 38 36 Engine: TEngine; 37 procedure EraseBackground(DC: HDC); override; 39 38 end; 40 39 -
trunk/Install/deb/debian/control
r39 r44 3 3 Section: utils 4 4 Priority: optional 5 Standards-Version: 1. 0.05 Standards-Version: 1.1.0 6 6 Build-Depends: fpc, lazarus, lcl, lcl-utils, debhelper (>= 8) 7 7 -
trunk/Install/deb/debian/rules
r39 r44 1 1 #!/usr/bin/make -f 2 3 # Set temporary HOME for lazarus primary config directory 4 export HOME=$(CURDIR)/tmphome 2 5 3 6 ROOT = $(CURDIR)/debian/bigmetro -
trunk/Install/win/BigMetro.iss
r40 r44 4 4 #define MyAppName "BigMetro" 5 5 #define MyAppNameShort "BigMetro" 6 #define MyAppVersion "1. 0-alfa"6 #define MyAppVersion "1.1-alfa" 7 7 #define MyAppPublisher "Chronosoft" 8 8 #define MyAppPublisherShort "Chronosoft" -
trunk/Install/win/build.bat
r40 r44 1 set LAZARUSDIR=C:\lazarus 2 3 %LAZARUSDIR%\lazbuild ..\BigMetro.lpi --build-mode="Windows 32-bit" --lazarusdir=%LAZARUSDIR% 4 %LAZARUSDIR%\lazbuild ..\BigMetro.lpi --build-mode="Windows 64-bit" --lazarusdir=%LAZARUSDIR% 1 if not defined LAZDIR ( 2 set LAZDIR=C:\lazarus 3 ) 4 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 32-bit" ..\..\BigMetro.lpi 5 %LAZDIR%\lazbuild.exe --lazarusdir=%LAZDIR% --build-mode="Windows 64-bit" ..\..\BigMetro.lpi 5 6 6 7 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "BigMetro.iss" -
trunk/UEngine.pas
r41 r44 1306 1306 procedure TEngine.ResizeView; 1307 1307 var 1308 StationRect: TRect;1309 1308 NewPoint: TPoint; 1310 1309 begin … … 1533 1532 var 1534 1533 I: Integer; 1535 L: Integer;1536 1534 S: TStationShape; 1537 1535 begin … … 2093 2091 var 2094 2092 Station: TMapStation; 2095 Line: TMetroLine;2096 I: Integer;2097 2093 NewLine: TMetroLine; 2098 2094 Track: TTrackLink; … … 2390 2386 end; 2391 2387 2392 if ShowDistances then begin2388 { if ShowDistances then begin 2393 2389 Canvas.Brush.Style := bsClear; 2394 2390 Text := ''; … … 2397 2393 Canvas.TextOut(Position.X + StationSize div 2, Position.Y + StationSize div 2, Text); 2398 2394 end; 2395 } 2399 2396 end; 2400 2397 -
trunk/UGeometric.pas
r38 r44 53 53 var 54 54 l2, t: Double; 55 projection,tt: TPoint;55 tt: TPoint; 56 56 begin 57 57 // Return minimum distance between line segment vw and point p … … 74 74 Exit; 75 75 end; 76 //projection := v + t * (w - v); // Projection falls on the segment77 76 TT.X := Trunc(V.X + T * (W.X - V.X)); 78 77 TT.Y := Trunc(V.Y + T * (W.Y - V.Y)); -
trunk/UMetaCanvas.pas
r30 r44 6 6 7 7 uses 8 Classes, SysUtils, Graphics, Contnrs, GraphMath,Types;8 Classes, SysUtils, Graphics, Contnrs, Types; 9 9 10 10 type … … 124 124 procedure DoLine (x1,y1,x2,y2:integer); override; 125 125 procedure DoTextOut(X, Y: Integer; Text: string); override; 126 procedure TextOut(X,Y: Integer; const Text: String); override;127 126 procedure DoRectangle(const Bounds: TRect); override; 128 127 procedure DoRectangleFill(const Bounds: TRect); override; 129 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: boolean = False); override;130 128 procedure DoPolygon(const Points: array of TPoint); override; 131 129 procedure CreateHandle; override; 130 procedure DoEllipse(const Bounds: TRect); override; 131 procedure DoMoveTo(X, Y: Integer); override; 132 procedure DoLineTo(X, Y: Integer); override; 133 public 134 Objects: TObjectList; 135 procedure TextOut(X,Y: Integer; const Text: String); override; 136 procedure Polygon(Points: PPoint; NumPts: Integer; Winding: boolean = False); override; 132 137 procedure Ellipse(x1, y1, x2, y2: Integer); override; 133 procedure DoEllipse(const Bounds: TRect); override;134 138 procedure StretchDraw(const DestRect: TRect; SrcGraphic: TGraphic); override; 135 139 function TextExtent(const Text: string): TSize; override; 136 procedure DoMoveTo(X, Y: Integer); override;137 procedure DoLineTo(X, Y: Integer); override;138 140 procedure Pie(EllipseX1, EllipseY1, EllipseX2, EllipseY2, 139 141 StartX, StartY, EndX, EndY: Integer); override; 140 public141 Objects: TObjectList;142 142 procedure SetSize(Size: TPoint); 143 143 procedure Reset;
Note:
See TracChangeset
for help on using the changeset viewer.