Changeset 215
- Timestamp:
- May 25, 2018, 8:30:06 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormClient.pas
r213 r215 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 UGame, LCLType, Menus, ActnList, ComCtrls, dateutils, XMLConf, DOM, UCommPin,9 UGame, LCLType, Menus, ActnList, ComCtrls, dateutils, XMLConf, DOM, 10 10 UGeometry, UGameClient, UGameProtocol, UThreading; 11 11 -
trunk/Languages/xtactics.cs.po
r213 r215 1026 1026 msgid "64-bit UInt read overflow." 1027 1027 msgstr "Přetečení při čtení 64-bit UInt" 1028 -
trunk/UCore.pas
r213 r215 8 8 Classes, SysUtils, XMLConf, FileUtil, ActnList, Controls, Dialogs, Forms, 9 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UCoolTranslator, 10 URegistry, ULastOpenedList, Registry, Menus, U Geometry, UFormClient,11 UGameServer, UGameClient, fgl, UServerList , UGameProtocol;10 URegistry, ULastOpenedList, Registry, Menus, UFormClient, 11 UGameServer, UGameClient, fgl, UServerList; 12 12 13 13 type … … 615 615 616 616 CommandLineParams; 617 if not GameLoaded and ReopenLastFile and (LastOpenedList1.Items.Count > 0) then 617 if not GameLoaded and ReopenLastFile and (LastOpenedList1.Items.Count > 0) and 618 FileExists(LastOpenedList1.Items[0]) then 618 619 LoadGame(LastOpenedList1.Items[0]); 619 620 FormClientActions; 620 621 621 if Game.FileName = '' then StartNewGame; 622 if Game.FileName = '' then begin 623 Game.Assign(GameSettings); 624 StartNewGame; 625 end; 622 626 end; 623 627 end; -
trunk/UGame.pas
r213 r215 3046 3046 I: Integer; 3047 3047 begin 3048 ReadXMLFile(Doc, FileName); 3048 3049 Self.FileName := FileName; 3049 3050 Clear; 3050 ReadXMLFile(Doc, FileName);3051 3051 with Doc do try 3052 3052 if Doc.DocumentElement.NodeName <> 'XtacticsGame' then -
trunk/UGameProtocol.pas
r213 r215 6 6 7 7 uses 8 Classes, SysUtils, UGame, UVarBlockSerializer, UCommPin, SpecializedList, 9 UCommFrame; 8 Classes, SysUtils, UGame, UVarBlockSerializer, UCommPin, SpecializedList; 10 9 11 10 type … … 50 49 FOnSurrender: TNotifyEvent; 51 50 FOnTurnEnd: TNotifyEvent; 52 CommFrame: TCommFrame;53 51 procedure Receive(Sender: TCommPin; Stream: TListByte); 54 52 procedure SendCmd(Command: TCommand);
Note:
See TracChangeset
for help on using the changeset viewer.