Changeset 220 for trunk/UCore.pas
- Timestamp:
- Jun 10, 2018, 12:18:28 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r216 r220 17 17 TCore = class(TDataModule) 18 18 AAbout: TAction; 19 AToggleFogOfWar: TAction; 19 20 AShowKeyShortcuts: TAction; 20 21 AGameSave: TAction; … … 57 58 procedure AShowKeyShortcutsExecute(Sender: TObject); 58 59 procedure AShowUnitMovesExecute(Sender: TObject); 60 procedure AToggleFogOfWarExecute(Sender: TObject); 59 61 procedure CoolTranslator1Translate(Sender: TObject); 60 62 procedure DataModuleCreate(Sender: TObject); … … 389 391 end; 390 392 393 procedure TCore.AToggleFogOfWarExecute(Sender: TObject); 394 begin 395 Game.FogOfWar := not Game.FogOfWar; 396 Server.DoChange(Self); 397 end; 398 391 399 procedure TCore.CoolTranslator1Translate(Sender: TObject); 392 400 begin
Note:
See TracChangeset
for help on using the changeset viewer.