Changeset 104


Ignore:
Timestamp:
Dec 27, 2014, 12:10:34 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Hide Debug settings.
  • Fixed: Remove previous cell links from map if they were disabled.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormSettings.pas

    r99 r104  
    6666procedure TFormSettings.FormShow(Sender: TObject);
    6767begin
    68 
     68  {$IFDEF DEBUG}
     69  TabSheetDebug.TabVisible := True;
     70  {$ELSE}
     71  TabSheetDebug.TabVisible := False;
     72  {$ENDIF}
    6973end;
    7074
     
    7983  SpinEditX.Value := Core.ScaleDPI1.DPI.X;
    8084  SpinEditY.Value := Core.ScaleDPI1.DPI.Y;
    81   {$IFDEF DEBUG}
    82   TabSheetDebug.Visible := True;
    83   {$ELSE}
    84   TabSheetDebug.Visible := False;
    85   {$ENDIF}
    8685end;
    8786
  • trunk/UGame.pas

    r103 r104  
    28912891
    28922892  // Build bridges
    2893 
     2893  Map.CellLinks.Clear;
    28942894  if BridgeEnabled then begin
    2895     Map.CellLinks.Clear;
    28962895    BuildMapAreas;
    28972896    LastAreaCount := -1;
  • trunk/xtactics.lpi

    r103 r104  
    1818      <StringTable ProductVersion=""/>
    1919    </VersionInfo>
    20     <MacroValues Count="2">
    21       <Macro2 Name="LCLWidgetType" Value="qt"/>
     20    <MacroValues Count="1">
     21      <Macro1 Name="LCLWidgetType" Value="qt"/>
    2222    </MacroValues>
    2323    <BuildModes Count="2">
    2424      <Item1 Name="Debug" Default="True"/>
    2525      <Item2 Name="Release">
     26        <MacroValues Count="1">
     27          <Macro1 Name="LCLWidgetType" Value="qt"/>
     28        </MacroValues>
    2629        <CompilerOptions>
    2730          <Version Value="11"/>
     
    5154            <Debugging>
    5255              <GenerateDebugInfo Value="False"/>
     56              <StripSymbols Value="True"/>
    5357            </Debugging>
    5458            <LinkSmart Value="True"/>
     
    6165        </CompilerOptions>
    6266      </Item2>
    63       <SharedMatrixOptions Count="2">
    64         <Item1 ID="345389164333" Modes="Debug" Type="IDEMacro"/>
    65         <Item2 ID="462723536445" Modes="Debug" Type="IDEMacro" MacroName="LCLWidgetType" Value="qt"/>
     67      <SharedMatrixOptions Count="1">
     68        <Item1 ID="462723536445" Modes="Debug,Release" Type="IDEMacro" MacroName="LCLWidgetType" Value="qt"/>
    6669      </SharedMatrixOptions>
    6770    </BuildModes>
Note: See TracChangeset for help on using the changeset viewer.