- Timestamp:
- Jul 15, 2020, 11:31:41 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r68 r71 165 165 procedure TFormMain.FormCreate(Sender: TObject); 166 166 begin 167 Core.Translator1.TranslateComponentRecursive(Self); 167 168 MoveBufferLock := TCriticalSection.Create; 168 169 MoveThread := TMoveThread.Create(True); -
trunk/Packages/Common/URegistry.pas
r36 r71 1 1 unit URegistry; 2 2 3 {$MODE Delphi}3 {$MODE delphi} 4 4 5 5 interface … … 17 17 RootKey: HKEY; 18 18 Key: string; 19 class function Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; static; overload; 20 class function Create(RootKey: HKEY; Key: string): TRegistryContext; static; overload; 19 21 class operator Equal(A, B: TRegistryContext): Boolean; 20 function Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; overload;21 function Create(RootKey: HKEY; Key: string): TRegistryContext; overload;22 22 end; 23 23 … … 58 58 end; 59 59 60 function TRegistryContext.Create(RootKey: TRegistryRoot; Key: string): TRegistryContext;60 class function TRegistryContext.Create(RootKey: TRegistryRoot; Key: string): TRegistryContext; 61 61 begin 62 62 Result.RootKey := RegistryRootHKEY[RootKey]; … … 64 64 end; 65 65 66 function TRegistryContext.Create(RootKey: HKEY; Key: string): TRegistryContext;66 class function TRegistryContext.Create(RootKey: HKEY; Key: string): TRegistryContext; 67 67 begin 68 68 Result.RootKey := RootKey; -
trunk/Read Me.txt
r44 r71 14 14 * Home page: https://app.zdechov.net/2048/ 15 15 * Source code: https://svn.zdechov.net/2048/ 16 * Developed in [http://www.lazarus-ide.org/ Lazarus/FPC] 2.0. 416 * Developed in [http://www.lazarus-ide.org/ Lazarus/FPC] 2.0.10 17 17 * To build new Windows installer run Install/build.bat. InnoSetup (http://www.jrsoftware.org/isdl.php) needs to be installed). -
trunk/UGame.pas
r70 r71 34 34 P1, P2: TPoint; 35 35 function Increment: TPoint; 36 function Create(P1, P2: TPoint): TArea; overload;37 function Create(X1, Y1, X2, Y2: Integer): TArea; overload;36 class function Create(P1, P2: TPoint): TArea; static; overload; 37 class function Create(X1, Y1, X2, Y2: Integer): TArea; static; overload; 38 38 end; 39 39 … … 339 339 end; 340 340 341 function TArea.Create(P1, P2: TPoint): TArea;341 class function TArea.Create(P1, P2: TPoint): TArea; 342 342 begin 343 343 Result.P1 := P1; … … 345 345 end; 346 346 347 function TArea.Create(X1, Y1, X2, Y2: Integer): TArea;347 class function TArea.Create(X1, Y1, X2, Y2: Integer): TArea; 348 348 begin 349 349 Result.P1 := Point(X1, Y1);
Note:
See TracChangeset
for help on using the changeset viewer.