Ignore:
Timestamp:
Aug 18, 2014, 9:34:15 AM (10 years ago)
Author:
chronos
Message:
  • Fixed: More translation of TGroupBox and TComboBox items.
  • Fixed: Shape of hexagon was not regular due to rounding error in polygon generation and drawing. Cells are now generated internally as bigger to avoid rounding error.
  • Fixed: After game end do not allow to execute End turn and End game actions.
  • Added: Preparation for random voronoi map. So far hidden in developer mode as algorithm is missing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormSettings.pas

    r33 r55  
    1515    ButtonOk: TButton;
    1616    ButtonCancel: TButton;
     17    CheckBoxDevelMode: TCheckBox;
    1718    ComboBoxLanguage: TComboBox;
    1819    Label1: TLabel;
     
    4142   ComboBoxLanguage.ItemIndex := ComboBoxLanguage.Items.IndexOfObject(Core.CoolTranslator1.Language);
    4243   if ComboBoxLanguage.ItemIndex = -1 then ComboBoxLanguage.ItemIndex := 0;
     44   CheckBoxDevelMode.Checked := Core.DevelMode;
    4345end;
    4446
     
    4749  if ComboBoxLanguage.ItemIndex <> -1 then
    4850    Core.CoolTranslator1.Language := TLanguage(ComboBoxLanguage.Items.Objects[ComboBoxLanguage.ItemIndex]);
     51  Core.DevelMode := CheckBoxDevelMode.Checked;
    4952end;
    5053
Note: See TracChangeset for help on using the changeset viewer.