Commit Graph

2168 Commits

Author SHA1 Message Date
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
Agetian
aa3e76544b - Make the -/+ buttons in the deck editor consistent with the -/+ buttons in the add basic lands dialog. 2017-01-11 06:56:46 +00:00
Agetian
10b5d69b04 - A little cleanup in PlayArea. 2017-01-11 05:55:24 +00:00
Agetian
ae491a7b3f - Better fix for NPE related to card panel layouting and refresh (for the sake of targeting overlay): only force doLayout if a card panel was removed, which also causes the targeting overlay to refresh without causing a NPE. 2017-01-10 20:04:26 +00:00
Agetian
1eab1f0425 - Only run the layout code from removeCardPanel if the panel has no attached panels (fixes NPE). 2017-01-10 17:30:47 +00:00
Sol
e3c4386473 - Add Improvise keyword handling first pass 2017-01-10 02:10:32 +00:00
Agetian
802a3c4336 - NPE prevention related to adding a card panel in desktop Forge (might happen if an aura attached to a permanent is swapped for something else an opponent controls). 2017-01-09 17:17:16 +00:00
Agetian
3ae51102cc - Update for the desktop Forge Targeting Overlay code: significantly improves performance of targeting overlay, gets rid of the serious and continuous CPU overload whenever targeting arrows are displayed (includes code contribution from nefigah). 2017-01-09 05:59:39 +00:00
Myrd
3488c9423f [Simulated AI] Support multiple choices from an SA and plumb cost decision choices into simulation AI.
With these changes, both decisions for Crop Rotation (what to sac and what to search for) are taken into account. Also adds a test.
2017-01-09 03:56:47 +00:00
Myrd
8ccb126dc5 Don't in GameSimulatorTest - since that isn't being tested. 2017-01-08 22:53:37 +00:00
Myrd
88634bb0a0 [Simulated AI] Add support for cards that need multiple targets.
Note: Currently, no special optimizations are made to try to prune decision trees for these, even though they definitely can result in a lot of choices and really slow simulation AI performance.
2017-01-08 21:02:24 +00:00
Myrd
f5423fe16e [Simulated AI] Add unit test coverage for mode selection. 2017-01-08 17:49:03 +00:00
Myrd
be5b5ac3d2 [Simulated AI] Add tests for mode choosing logic. 2017-01-08 17:42:57 +00:00
Myrd
1208736f36 Inspect full plan in spell picker test. 2017-01-08 17:18:35 +00:00
Myrd
a45e005897 [Simulated AI] Test coverage for playing lands. 2017-01-08 17:09:38 +00:00
Myrd
742ef8157b [Simulated AI] Add actual test coverage for SpellAbilityPicker logic. 2017-01-08 17:06:52 +00:00
Myrd
331eaae221 [Simulated AI] Add a base SimulationTestCase class so other test classes could derive from it. 2017-01-08 16:59:19 +00:00
Hanmac
78eb7ee367 GameSimulatorTest: add more test cases for damage spliting 2017-01-07 17:31:38 +00:00
Agetian
9a75816ef2 - Adding a preference to control whether the Escape key can be used in desktop Forge as an alternative "end turn" shortcut (for players who prefer the old behavior). It is disabled by default. 2017-01-06 19:52:42 +00:00
Agetian
b5ad2e27e9 - Do not use Escape as a key for passing priority until end of turn. 2017-01-06 06:46:48 +00:00
Agetian
b2709acc36 - Committed "exile from hand/battlefield" dev menu options by Zuchinni. 2017-01-04 20:14:35 +00:00
Agetian
ee8b1dd237 - Show the source of the triggered ability on the battlefield if it's a WrappedAbility when ordering simultaneous SAs (e.g. Evolve) [affects desktop Forge, already taken care of in mobile Forge].
- Treat triggers with the same description coming from different sources as different for the purpose of auto-ordering them (do not auto order by default).
2017-01-03 06:06:31 +00:00
Agetian
cc3a587e42 - Implemented biasing random (simulated) AI vs AI matches towards decks with higher draft rank value.
- Better name for the random decision simulation option.
2017-01-01 20:14:13 +00:00