Changeset 111
- Timestamp:
- Nov 27, 2016, 2:34:31 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r107 r111 5 5 Width = 775 6 6 Caption = 'xTactics' 7 ClientHeight = 5 917 ClientHeight = 589 8 8 ClientWidth = 775 9 9 Menu = MainMenu1 … … 14 14 OnKeyUp = FormKeyUp 15 15 OnShow = FormShow 16 LCLVersion = '1. 4.4.0'16 LCLVersion = '1.6.0.4' 17 17 WindowState = wsMaximized 18 18 object StatusBar1: TStatusBar 19 19 Left = 0 20 20 Height = 28 21 Top = 56 321 Top = 561 22 22 Width = 775 23 23 Panels = < … … 35 35 object ToolBar1: TToolBar 36 36 Left = 0 37 Height = 56 337 Height = 561 38 38 Top = 0 39 39 Width = 80 … … 118 118 object PaintBox1: TPaintBox 119 119 Left = 80 120 Height = 56 3120 Height = 561 121 121 Top = 0 122 122 Width = 695 -
trunk/Forms/UFormMain.pas
r107 r111 257 257 if Factor.X < Factor.Y then NewZoom := Factor.X 258 258 else NewZoom := Factor.Y; 259 //if NewZoom <> 0 then259 if NewZoom = 0 then NewZoom := 1; 260 260 Zoom := NewZoom; 261 261 CenterMap; … … 330 330 procedure TFormMain.FormShow(Sender: TObject); 331 331 begin 332 Core.XMLConfig1.Filename := 'Config.xml'; 332 333 LoadConfig(Core.XMLConfig1, 'FormMain'); 333 334 Core.PersistentForm.Load(Self, True); -
trunk/UCore.lfm
r99 r111 4 4 OldCreateOrder = False 5 5 Height = 542 6 HorizontalOffset = 5 427 VerticalOffset = 2226 HorizontalOffset = 565 7 VerticalOffset = 329 8 8 Width = 752 9 9 object ActionList1: TActionList … … 2018 2018 end 2019 2019 object XMLConfig1: TXMLConfig 2020 Filename = 'Config.xml'2021 2020 StartEmpty = False 2022 2021 RootName = 'CONFIG' 2022 ReadOnly = False 2023 2023 left = 209 2024 2024 top = 360 … … 2045 2045 AuthorsName = 'Chronos' 2046 2046 AppName = 'xTactics' 2047 ReleaseDate = 4 19082047 ReleaseDate = 42701 2048 2048 RegistryKey = '\Software\xTactics' 2049 2049 RegistryRoot = rrKeyCurrentUser -
trunk/UCore.pas
r110 r111 185 185 if (ParamCount > 0) then begin 186 186 FileName := UTF8Encode(ParamStr(1)); 187 if FileExists UTF8(FileName) then begin187 if FileExists(FileName) then begin 188 188 Game.LoadFromFile(FileName); 189 189 Player := Game.Players.GetFirstHuman; -
trunk/xtactics.lpi
r107 r111 188 188 <StackChecks Value="True"/> 189 189 </Checks> 190 <VerifyObjMethodCallValidity Value="True"/> 190 191 </CodeGeneration> 191 192 <Linking>
Note:
See TracChangeset
for help on using the changeset viewer.