Commit Graph

890 Commits

Author SHA1 Message Date
pfps
588597b1ee move swing call into GUI thread 2017-02-09 15:36:06 +00:00
pfps
0a98b03180 move some focus stuff into GUI thread to try to fix crash 2017-02-08 23:36:47 +00:00
pfps
87aaf7d997 make targetting area in VDock be non-focusable 2017-02-08 23:30:42 +00:00
Agetian
156b11fda6 - Reverted 33597 (breaks a lot). 2017-02-08 16:45:52 +00:00
Agetian
6fbc395f79 - Call setFocusable and setEnabled in CMatchUI in the event dispatch thread to try and prevent a crash in this area resulting from threading issues. 2017-02-08 16:06:46 +00:00
pfps
30ed1f6677 make sure that P/T line has room in card detail pane 2017-02-08 14:23:11 +00:00
Agetian
4be29c4df0 - Code formatting. 2017-02-08 06:28:57 +00:00
pfps
9da848ed4b better layout for card type and p/t in card detail pane 2017-02-05 14:22:00 +00:00
pfps
443ac7853c Floating card areas don't get focus 2017-02-05 13:44:51 +00:00
pfps
d63b3b7846 change back to prompt buttons grabbing focus from other windows on prompt update 2017-02-05 12:40:34 +00:00
Agetian
4f324f6598 - Make sure the targeting overlay menu is initialized correctly. 2017-02-05 10:16:47 +00:00
pfps
3e46f4cd64 make focus-setting runnables run synchronously 2017-02-04 17:10:04 +00:00
pfps
d0abf9f75c Allow card type line in CardDetailPane to wrap 2017-02-04 14:13:07 +00:00
nefigah
a845bd13dc Broaden keyboard handler attachment; this hopefully fixes cases where keyboard interaction stops working entirely 2017-02-04 05:21:42 +00:00
nefigah
13941c9264 Add initial implementation of an action-sequencing system (macros) 2017-02-02 17:04:34 +00:00
Agetian
79da71ced1 - Somewhat better option name for auto-yield granularity. 2017-02-01 18:09:40 +00:00
Agetian
10f76eae82 - Implemented a toggleable option to auto-yield either per ability or per card ("Auto-Yield Mode" under Gameplay).
- Restored the historical Forge default of auto-yielding per ability.
2017-02-01 17:32:02 +00:00
Agetian
10736e1e24 - Imports cleanup. 2017-02-01 15:33:55 +00:00
Agetian
5d63419109 - Prevent a crash if a match window is switched to something else while targeting overlay is displayed. 2017-02-01 15:22:40 +00:00
Agetian
4803c757ee [maven-release-plugin] prepare for next development iteration 2017-01-29 19:47:52 +00:00
Agetian
63809ef5ec [maven-release-plugin] prepare release forge-1.5.59 2017-01-29 19:47:46 +00:00
Hanmac
e630fafb22 CountersPutOrRemoveEffect: refactor to use better methods
CountersPutOrRemoveAI: use better logic to check when its good to remove a counter and when not
PlayerController: add chooseBinary with Params, use it for AddOrRemove. no need for chooseAndRemoveOrPutCounter
2017-01-29 14:44:43 +00:00
Agetian
6d8eb230aa - Fixing PlayerControllerForTests 2017-01-28 15:38:37 +00:00
Agetian
267285afe1 - Forge defocusing solution: part 2 [code contribution by nefigah]. Fixes defocusing on window pop-ups such as Goblin Guide. 2017-01-26 18:43:32 +00:00
Agetian
b9df573ca5 - Attempting to fix desktop Forge defocusing problem [code contribution by nefigah]. 2017-01-26 06:59:52 +00:00
Agetian
510a2df095 - Making throttle-based targeting overlay optimization optional for users running older hardware at slower CPU clock speeds. 2017-01-25 16:47:35 +00:00
Agetian
a37cbc2d14 - Some cleanup in targeting overlay code. 2017-01-25 14:38:54 +00:00
Agetian
b45ae80f6e - Attempting to remedy high CPU use when dragging around card panels. 2017-01-25 14:00:20 +00:00
pfps
5924706b1a Move several confirm popups to prompt pane - required modifying prompt pane to have a cardview instead of a spellabilityview 2017-01-21 16:28:11 +00:00
Agetian
32327187fa - Trying a smaller value for Targeting Overlay update rate once more, some additional testing needed. 2017-01-21 08:52:40 +00:00
Agetian
9914c53016 - Setting Max Consecutive Updates to 3 in desktop Targeting Overlay, should get rid of the cases of "missing targeting arrows". 2017-01-21 06:01:07 +00:00
pfps
ab867a40ee Better prompt messages for confirming optional triggers 2017-01-20 20:19:31 +00:00
Agetian
55e34867ff - Changed the desktop Forge Targeting Overlay from timer-based approach to a blocking mechanism which appears to work much better across systems (Linux, Mac, Windows) without causing visual artifacts and without causing the CPU overload (code submission by nefigah). 2017-01-20 17:06:15 +00:00
pfps
00ecfe7e49 Make mouseover on prompt pane show cardview of the controlling card if there is one 2017-01-20 00:48:01 +00:00
pfps
43b99d130a Drag the current spellability closer to the GUI so that it can be (eventually) displayed 2017-01-18 16:37:41 +00:00
Agetian
c31d1bae80 - Added an option to preselect the last known order of simultaneous abilities to simplify confirming the previous order (which is by far the most common thing you'd want).
- Fixed an issue where the wrapped abilities triggered by different objects counted as different abilities for the purpose of remembering simultaneous ability order.
- Updated CHANGES.txt.
2017-01-18 12:23:13 +00:00
Agetian
24b1679c3d - Show [P/T] overlay for vehicles in desktop Forge. 2017-01-17 07:42:11 +00:00
Agetian
084b4ef8d2 - Less demanding layouting notification for the targeting overlay when removing a card panel 2017-01-15 14:17:29 +00:00
Agetian
126eb33e45 - Reverting previous commit, didn't work very well in practice. 2017-01-15 10:28:23 +00:00
Agetian
d4f28dfcda - Less aggressive match UI repaint on removeCardPanel (since it's done for the sake of targeting overlay, only call repaint for the selected card panel). 2017-01-15 10:21:32 +00:00
Agetian
6c0a38154d - Instead of doing the full layout, just redraw the match frame from removeCardPanel (prevents a crash when mass-removing cards with enchantments on them while also getting rid of lingering visual artifacts OTB). 2017-01-15 07:50:45 +00:00
Agetian
62ff68fde6 - Instead of doing the full layout, just redraw the match frame from removeCardPanel (prevents a crash when mass-removing cards with enchantments on them while also getting rid of lingering visual artifacts OTB). 2017-01-15 07:47:31 +00:00
Agetian
e46dd5ae69 - Do not forget to relayout cards on removing a card panel (fixes targeting overlay problems and possibly other "lingering layouting issues". 2017-01-15 07:28:47 +00:00
Agetian
7d498e2b03 - Better (shorter) option name. 2017-01-14 19:51:48 +00:00
Agetian
ef27adc5c6 - Improved detailed spell ability descriptions when paying costs/targeting by getting rid of the Targeting ERROR text in the prompt box at the time when the SA is not yet targeted by the player.
- Made the detailed SA descriptions on paying costs/targeting optional (can be enabled/disabled in preferences, enabled by default) for people wanting the old behavior (which might especially be useful for mobile Forge on small screens).
2017-01-14 19:44:01 +00:00
Krazy
26eec4cf8b [maven-release-plugin] prepare for next development iteration 2017-01-14 02:08:47 +00:00
Krazy
5196c1bf62 [maven-release-plugin] prepare release forge-1.5.58 2017-01-14 02:08:36 +00:00
Agetian
78b6c3610d - A more graceful solution for cases when a deck ends up being null for any reason in ACEditorBase. 2017-01-11 18:55:17 +00:00
Agetian
01e402f292 - A little cleanup in ACEditorBase, made the code a little bit more readable and added some additional crash protection. 2017-01-11 18:38:41 +00:00
Agetian
004ac7d91a - Fixed a NPE on right-clicking a card in Limited deck editor. 2017-01-11 12:02:50 +00:00