Commit Graph

6761 Commits

Author SHA1 Message Date
DarkPhoenix
aa9f16d3ad Make sure our handled lists are not sorted
Because we rely on item positions within lists to identify modules for undo/redo stuff
2019-04-13 02:46:54 +03:00
DarkPhoenix
c997661f3a Rework implant fit commands 2019-04-13 01:56:17 +03:00
DarkPhoenix
6174bf8a0b Refactor non-projected fighter commands 2019-04-13 01:27:26 +03:00
DarkPhoenix
36c19fe6e8 Rework local drone commands 2019-04-12 23:46:41 +03:00
DarkPhoenix
e6c9db3eef Change command-related commands a little 2019-04-12 22:24:13 +03:00
DarkPhoenix
336af0f669 Rework cargo to use cargoinfo 2019-04-12 20:09:13 +03:00
DarkPhoenix
2800637a90 Rework cargo fit commands 2019-04-12 19:51:18 +03:00
DarkPhoenix
1fb9936893 Fix booster commands 2019-04-12 17:55:56 +03:00
DarkPhoenix
d738ba615e Finish overhauling module-related fit commands 2019-04-12 14:32:25 +03:00
DarkPhoenix
e5a694384d Raise errors on all insertions to handled lists which fail 2019-04-12 12:41:46 +03:00
DarkPhoenix
1d98f889fd Raise exceptions on failures to add module to module list 2019-04-12 10:47:14 +03:00
DarkPhoenix
ad03f907fa Overhaul module-related commands 2019-04-12 04:02:28 +03:00
DarkPhoenix
5579929f83 Undoing removal of drones now restores their proper state 2019-04-11 18:20:56 +03:00
DarkPhoenix
e90e9a5ca1 Make removal of fighters completely undoable 2019-04-11 16:31:44 +03:00
DarkPhoenix
2341650437 Store projected fit state on deletion for undo purposes 2019-04-11 14:03:44 +03:00
DarkPhoenix
f2c26af791 Fix toggling of abilities of projected fighters 2019-04-11 13:45:25 +03:00
DarkPhoenix
fc82e45d6c As wormhole effects are still modules and we now fully support reverting modules even in case they were overwritten, consider them as modules in commands too 2019-04-11 13:21:49 +03:00
DarkPhoenix
1b54f07ce0 Fix small but significant oversight 2019-04-11 12:36:41 +03:00
DarkPhoenix
938fa11d13 Removed projected modules now keep their state for undoing 2019-04-11 10:45:09 +03:00
DarkPhoenix
a08aa77afc Restore state of command fits on undo 2019-04-11 00:54:42 +03:00
DarkPhoenix
4cbeb34a3e Make toggling fighter abilities undoable 2019-04-11 00:05:28 +03:00
DarkPhoenix
d2fab0a10e Make removal of fighters undoable w/o information loss 2019-04-10 23:42:05 +03:00
DarkPhoenix
a8c3612248 Make removal of item from cargo via double-click undoable 2019-04-10 23:16:46 +03:00
DarkPhoenix
50e4e6fdcf Fix undoing of drone removal 2019-04-10 23:01:43 +03:00
DarkPhoenix
69ada4f3ad Make sure we do not store any sqlalchemy-managed objects in projected command 2019-04-10 21:50:04 +03:00
DarkPhoenix
3fc77d03b4 Restore state of removed implants on undo 2019-04-10 19:32:48 +03:00
DarkPhoenix
8072bb600c Make toggling side-effects undoable 2019-04-10 18:47:46 +03:00
DarkPhoenix
fda2c43a1d Restore booster state even when it was replaced by another booster 2019-04-10 18:18:26 +03:00
DarkPhoenix
7fc98037a6 Save booster state upon deletion for undo 2019-04-10 17:59:34 +03:00
DarkPhoenix
b51c8d8ecf Focus projected pane when something is projected via context menu 2019-04-10 16:11:23 +03:00
DarkPhoenix
dca2db5a6d Make projected states undo'able 2019-04-10 15:44:03 +03:00
DarkPhoenix
fbb192404f Add undo support to muta->normal conversion 2019-04-10 09:51:07 +03:00
DarkPhoenix
7e41d8e20c Make conversion to mutaplasmid undoable 2019-04-10 09:14:22 +03:00
DarkPhoenix
9460998015 Make removing mutated items undoable 2019-04-10 01:22:41 +03:00
DarkPhoenix
86056bf282 Save all the info about mutations into command cache 2019-04-09 18:07:49 +03:00
Anton Vorobyov
bacb374ea4 Merge pull request #1914 from pyfa-org/menu_overhaul
Main menu & stats menu overhaul
2019-04-09 16:34:23 +03:00
DarkPhoenix
8d07f11aa4 Update shortcuts in main menu 2019-04-09 16:20:09 +03:00
DarkPhoenix
b6a13b32de Rework alt-key shortcuts 2019-04-09 15:55:10 +03:00
DarkPhoenix
1f1a16f896 Merge branch 'master' into menu_overhaul 2019-04-09 12:18:35 +03:00
Anton Vorobyov
444d7af7ed Merge pull request #1916 from pyfa-org/issue1887
Stats menu indicators
2019-04-09 12:13:43 +03:00
DarkPhoenix
e45e0b9444 Merge branch 'master' into menu_overhaul 2019-04-08 19:12:59 +03:00
DarkPhoenix
33886aea1b Add exotic plasma to damage patterns 2019-04-08 19:12:30 +03:00
DarkPhoenix
1ddc2edd88 Move loading defaults to preference buttons 2019-04-08 17:43:11 +03:00
DarkPhoenix
01b16ec5f0 Rework main menu by rearranging it into different groups 2019-04-08 16:32:07 +03:00
DarkPhoenix
ba337599c2 Do not activate ADC and PANIC upon fitting 2019-04-08 13:33:21 +03:00
DarkPhoenix
211a83defd Show market jump menu item only for items residing in groups shown by pyfa 2019-04-08 13:01:35 +03:00
Anton Vorobyov
091a7d7ab8 Merge pull request #1904 from burnsypet/issue-1871
Logic to enable/disable redo/undo buttons
2019-04-08 10:21:52 +03:00
Anton Vorobyov
b3030bacf9 Merge pull request #1913 from pyfa-org/market_metagroups
Market meta category options
2019-04-08 10:21:02 +03:00
DarkPhoenix
feb164a48e Reset item list to empty during search cancel only if we still were searching, do nothing otherwise 2019-04-08 00:16:58 +03:00
DarkPhoenix
b3a556e70a Raise error instead of doing nothing for abstract methods 2019-04-07 23:59:54 +03:00