Ignore:
Timestamp:
Nov 5, 2014, 9:51:30 AM (10 years ago)
Author:
chronos
Message:
  • Added: New game option "Fog of war" which cause map to be covered to black and only explored cells will be visible.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r76 r82  
    2424    ButtonPlayerModify: TButton;
    2525    ButtonPlayerRemove: TButton;
     26    CheckBoxFogOfWar: TCheckBox;
    2627    CheckBoxCity: TCheckBox;
    2728    CheckBoxSymetricMap: TCheckBox;
     
    351352  ComboBoxMapShape.ItemIndex := Integer(Game.Map.Shape);
    352353  EditImageFile.Text := Game.MapImageFileName;
     354  CheckBoxFogOfWar.Checked := Game.FogOfWar;
    353355end;
    354356
     
    379381  Game.Map.Shape := TMapShape(ComboBoxMapShape.ItemIndex);
    380382  Game.MapImageFileName := EditImageFile.Text;
     383  Game.FogOfWar := CheckBoxFogOfWar.Checked;
    381384end;
    382385
Note: See TracChangeset for help on using the changeset viewer.