Changeset 263 for trunk/UKeyBindings.pas
- Timestamp:
- Jun 11, 2020, 10:57:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UKeyBindings.pas
r262 r263 38 38 BNations: TKeyBinding; 39 39 BEmpire: TKeyBinding; 40 BResign: TKeyBinding; 41 BRandomMap: TKeyBinding; 42 BDisbandUnit: TKeyBinding; 43 BFortify: TKeyBinding; 44 BCenterUnit: TKeyBinding; 45 BStay: TKeyBinding; 46 BNoOrders: TKeyBinding; 40 47 41 48 … … 113 120 114 121 KeyBindings := TKeyBindings.Create; 115 BEndTurn := KeyBindings.AddItem('EndTurn', 'End turn', 'NumPlus'); 116 BHelp := KeyBindings.AddItem('Help', 'Help', 'F1'); 117 BUnitStat := KeyBindings.AddItem('UnitStat', 'Unit stat', 'F2'); 118 BCityStat := KeyBindings.AddItem('CityStat', 'City stat', 'F3'); 119 BScienceStat := KeyBindings.AddItem('ScienceStat', 'Science research', 'F4'); 120 BEUnitStat := KeyBindings.AddItem('EnemyUnitStat', 'Enemy unit stat', 'F5'); 121 BDiagram := KeyBindings.AddItem('Diagram', 'Charts', 'F6'); 122 BWonders := KeyBindings.AddItem('Wonders', 'World wonders', 'F7'); 123 BShips := KeyBindings.AddItem('Ships', 'Colonization ships', 'F8'); 124 BNations := KeyBindings.AddItem('Nations', 'Nations', 'F9'); 125 BEmpire := KeyBindings.AddItem('Empire', 'Empire', 'F10'); 122 with KeyBindings do begin 123 BEndTurn := AddItem('EndTurn', 'End turn', 'NumPlus'); 124 BHelp := AddItem('Help', 'Help', 'F1'); 125 BUnitStat := AddItem('UnitStat', 'Unit stat', 'F2'); 126 BCityStat := AddItem('CityStat', 'City stat', 'F3'); 127 BScienceStat := AddItem('ScienceStat', 'Science research', 'F4'); 128 BEUnitStat := AddItem('EnemyUnitStat', 'Enemy unit stat', 'F5'); 129 BDiagram := AddItem('Diagram', 'Charts', 'F6'); 130 BWonders := AddItem('Wonders', 'World wonders', 'F7'); 131 BShips := AddItem('Ships', 'Colonization ships', 'F8'); 132 BNations := AddItem('Nations', 'Nations', 'F9'); 133 BEmpire := AddItem('Empire', 'Empire', 'F10'); 134 BResign := AddItem('Resign', 'Resign', 'Ctrl+Q'); 135 BRandomMap := AddItem('RandomMap', 'Random map', 'Ctrl+R'); 136 BDisbandUnit := AddItem('DisbandUnit', 'Disband unit', 'Ctrl+D'); 137 BFortify := AddItem('Fortify', 'Fortify', 'F'); 138 BCenterUnit := AddItem('CenterUnit', 'Center', 'C'); 139 BStay := AddItem('Stay', 'Stay', 'S'); 140 BNoOrders := AddItem('NoOrders', 'No orders', ' '); 141 end; 126 142 127 143
Note:
See TracChangeset
for help on using the changeset viewer.