Ticket #3962: forcedelete_v3.patch
File forcedelete_v3.patch, 3.3 KB (added by , 8 years ago) |
---|
-
config/default.cfg
284 284 batchtrain = Shift ; Modifier to train units in batches 285 285 massbarter = Shift ; Modifier to barter bunch of resources 286 286 masstribute = Shift ; Modifier to tribute bunch of resources 287 noconfirmation = Shift ; Do not ask confirmation when deleting a building/unit 287 288 fulltradeswap = Shift ; Modifier to put the desired trade resource to 100% 288 289 unloadtype = Shift ; Modifier to unload all units of type 289 290 deselectgroup = Ctrl ; Modifier to deselect units when clicking group icon, instead of selecting … … 292 293 293 294 [hotkey.session.savedgames] 294 295 delete = Delete ; Delete the selected saved game asking confirmation 295 no Confirmation = Shift ; Do not ask confirmation when deleting a game296 noconfirmation = Shift ; Do not ask confirmation when deleting a game 296 297 297 298 [hotkey.session.queueunit] ; > UNIT TRAINING 298 299 1 = "Z" ; add first unit type to queue -
mods/public/gui/credits/texts/programming.json
161 161 {"name": "Rolf Sievers"}, 162 162 {"nick": "s0600204", "name": "Matthew Norwood"}, 163 163 {"nick": "SafaAlfulaij"}, 164 {"nick": "Sandarac"}, 164 165 {"nick": "sanderd17", "name": "Sander Deryckere"}, 165 166 {"nick": "sathyam", "name": "Sathyam Vellal"}, 166 167 {"nick": "sbte", "name": "Sven Baars"}, -
mods/public/gui/replaymenu/replay_actions.js
133 133 if (!Engine.GetGUIObjectByName("deleteReplayButton").enabled) 134 134 return; 135 135 136 if (Engine.HotkeyIsPressed("session.savedgames.no Confirmation"))136 if (Engine.HotkeyIsPressed("session.savedgames.noconfirmation")) 137 137 deleteReplayWithoutConfirmation(); 138 138 else 139 139 deleteReplay(); -
mods/public/gui/savedgames/load.xml
31 31 <action on="Press"> 32 32 if (!this.enabled) 33 33 return; 34 if (Engine.HotkeyIsPressed("session.savedgames.no Confirmation"))34 if (Engine.HotkeyIsPressed("session.savedgames.noconfirmation")) 35 35 deleteGameWithoutConfirmation(); 36 36 else 37 37 deleteGame(); -
mods/public/gui/session/unit_actions.js
1022 1022 let selection = g_Selection.toList(); 1023 1023 if (!selection.length) 1024 1024 return; 1025 1026 openDeleteDialog(selection); 1025 if (Engine.HotkeyIsPressed("session.noconfirmation")) 1026 Engine.PostNetworkCommand({ 1027 "type": "delete-entities", 1028 "entities": selection 1029 }); 1030 else 1031 openDeleteDialog(selection); 1027 1032 }, 1028 1033 }, 1029 1034 "stop": {