Changeset 143 for trunk/Engine.pas
- Timestamp:
- May 29, 2023, 7:30:31 PM (11 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Engine.pas
r140 r143 1 unit UEngine;1 unit Engine; 2 2 3 3 {$IFDEF DARWIN}{$modeswitch Objectivec1}{$ENDIF} … … 8 8 {$IFDEF DARWIN}MacOSAll, CocoaAll, CocoaUtils,{$ENDIF} 9 9 Classes, SysUtils, Graphics, Controls, ExtCtrls, Math, DateUtils, Types, 10 URegistry, UMetaCanvas, Generics.Collections, Generics.Defaults, UMenu,11 UControls, UMetroPassenger, UColors, UView, URiver, UTrack, UCity, UGeometric,12 UTranslator, DOM, XMLRead, XMLWrite, UXMLUtils, UItems, FileUtil;10 RegistryEx, MetaCanvas, Generics.Collections, Generics.Defaults, Menu, 11 BasicControls, MetroPassenger, Colors, View, River, Track, City, Geometric, 12 Translator, DOM, XMLRead, XMLWrite, XML, Items, FileUtil; 13 13 14 14 type … … 432 432 433 433 uses 434 ULanguages;434 Languages; 435 435 436 436 resourcestring … … 1578 1578 case Shape of 1579 1579 ssSquare: begin 1580 Points := nil; 1580 1581 SetLength(Points, 4); 1581 1582 Points[0] := Point(Position.X - Size div 2, Position.Y - Size div 2); … … 2760 2761 Angle := Vector.GetAngle; 2761 2762 2763 Points := nil; 2762 2764 SetLength(Points, 4); 2763 2765 Points[0] := RotatePoint(Pos, Point(Pos.X - TrainSize div 2, Pos.Y - TrainSize div 3), Angle); … … 4360 4362 FreeAndNil(Cities); 4361 4363 FreeAndNil(ButtonBack); 4364 FreeAndNil(Colors); 4362 4365 inherited; 4363 4366 end;
Note:
See TracChangeset
for help on using the changeset viewer.