Commit Graph

711 Commits

Author SHA1 Message Date
Myrd
72e9b85f49 [Desktop] Fall back to download LQ card image if downloading magiccards.info one fails. 2016-01-03 18:03:03 +00:00
Myrd
29e82fa322 [Desktop] Simplify a bunch of CardPanel image updating code. 2016-01-03 16:55:58 +00:00
Myrd
82801af655 Make AI pick correctly for Dark Depths copy trigger. Also, add a test for simulation code to correctly simulate this as well with a test. Currently, there's a TODO because it's not clear to me why we need to check static effects twice. 2015-12-31 23:40:08 +00:00
Myrd
beaebddc86 Fix GameSimulatorTest and add a testcase I forgot to add before. 2015-12-31 20:33:14 +00:00
Myrd
c184cec164 Name the audio thread. 2015-12-31 16:31:06 +00:00
Sol
2f963ebc9e - Fixing issue with ImageFetcher with "fake" cards (used in Ante and other places) 2015-12-30 02:34:26 +00:00
Myrd
56b8f40bf4 Use ImageKey's logic for generating the set subdirectory which also fixes a subtle problem with different card arts. 2015-12-29 20:06:48 +00:00
Myrd
ba8894ef9f Add an explicit field MciCode to edition .txt file, since neither Code nor Code2 matches what magiccards.info uses. Use it for image fetching. 2015-12-29 19:37:07 +00:00
Myrd
393920e05c Make CardPicturePanel also trigger an image fetch. 2015-12-29 18:56:26 +00:00
Myrd
3894bfcf9b Save images to their set-specific directories. Also, don't try to download files that already exist. 2015-12-29 18:15:23 +00:00
Sol
ff73eb78eb - Synchronize nomenclature of Generic Cost
- Add new Colorless Cost
- Start displaying of colorless mana with new symbol (with backwards compatibility for existing scripts that produce "{1}" instead of "{C}")
2015-12-29 16:37:22 +00:00
Sol
e311a1463c - Convert Chaos abbreviation from {C} to {CHAOS} and add {C} as Colorless 2015-12-29 04:33:35 +00:00
Myrd
8abd786a3a [Desktop] Make ImageFetcher default to fetching card images from magiccards.info. 2015-12-29 04:09:13 +00:00
Myrd
01f347f2d2 [Desktop] Add support for downloading token images and card backs too. Again, limited to what is known to the LQ image downloaded, which currently doesn't include recent sets. :\ 2015-12-28 17:11:00 +00:00
Myrd
e546c36b88 [Desktop] Clicking cancel in a save dialog (e.g. dump state) shouldn't still try to save the file. 2015-12-28 16:39:06 +00:00
Myrd
54273f334e Fix a copy/paste issue in my previous commit. 2015-12-28 06:35:26 +00:00
Myrd
dd4c458221 Simplify some lobby code. 2015-12-28 06:24:02 +00:00
Myrd
fa0f5068b1 [Desktop] Fix issue where some cards can only be partially painted in the initial hand until you mouse over them. This was caused by the CardPanels not telling Swing to repaint themselves after their card was actually set, which likely cause only a partial repaint of their display rects. 2015-12-27 18:00:11 +00:00
Myrd
b5ebc9569d Clean up some duplicated code. 2015-12-27 17:45:51 +00:00
Myrd
0500c59d94 Clean up some code to avoid duplication. 2015-12-26 18:17:02 +00:00
Myrd
b1bbdf178c [Desktop] More fixes to Commander & TL deck selection lobby. 2015-12-26 17:34:13 +00:00
Myrd
501dcfc3fa [Mac] Fix copy/cut/paste/select-all keyboard shortcuts in text areas to use Command key. 2015-12-26 16:58:24 +00:00
Myrd
3d1d6cff2a Fix up some stuff around deck editing & loading for tiny leaders format. 2015-12-26 06:10:51 +00:00
Myrd
5a762aa823 [Desktop] Fix issue where the battlefield sometimes would not get repainted. 2015-12-26 04:58:13 +00:00
Myrd
6dc693890c [Desktop] Auto download LQ card pictures on demand if they don't exist on disk. 2015-12-26 04:17:58 +00:00
Myrd
3aa0e71675 Fix some warnings reported by Eclipse. 2015-12-25 23:39:49 +00:00
drdev
8685d3231f Create dialog for showing conquest rewards 2015-12-13 21:57:41 +00:00
drdev
aa7531c98c Improve performance of addAll function for most ItemPools 2015-12-07 02:25:11 +00:00
drdev
1d8efee185 Improve performance of getting image keys by moving it into InventoryItem interface 2015-12-07 02:02:05 +00:00
drdev
ac172d0d4d Make it so Advanced Search filter automatically prompts to select a filter if no filters defined already
Prevent crash when clearing a filter
2015-11-26 16:37:33 +00:00
drdev
3b81f30e28 Fix so poison counters show up properly 2015-11-24 19:42:45 +00:00
drdev
229169b7a7 Fix warnings 2015-11-24 19:19:01 +00:00
drdev
306e5a742e Improve UI for variant deck selection header 2015-11-23 18:59:05 +00:00
drdev
52b1308104 Make Tiny Leaders deck selection filter out invalid Commander decks
Make random deck selection able to search nested folders
2015-11-23 18:48:44 +00:00
Sol
636bdd0238 - Fix SimulateMatch not initializing Commander appropriately 2015-11-19 22:12:49 +00:00
Sol
547385f8fd - Update SimulateMatch to handle multiple (>2) players and multiple formats 2015-11-19 04:24:23 +00:00
drdev
d89dc0d439 Fix crash when saving quest decks 2015-11-10 23:59:43 +00:00
Sol
022041a2f6 - Allowing Charms to have subAbilities be chosen more than once (AI support needs improving to actually filter through all the permutations) 2015-11-10 03:10:53 +00:00
Chris
de7058ca46 [maven-release-plugin] prepare for next development iteration 2015-11-06 20:38:00 +00:00
Chris
de3658d504 [maven-release-plugin] prepare release forge-1.5.47 2015-11-06 20:37:52 +00:00
Sol
1477009c03 - Fix some c/p errors in the Sealed Submenu 2015-10-15 14:12:54 +00:00
Sol
e80d30ba5c - Adding Amulet of Vim to allow 1 game matches to be played in quest mode 2015-10-13 22:32:02 +00:00
Krazy
830c323a2d Added tournament name to UI. 2015-10-12 17:30:47 +00:00
Sol
5369435451 - Allow Sealed to play a specific opponent instead of just a gauntlet (always create 7 opponents for a sealed deck) 2015-10-12 01:43:03 +00:00
Krazy
e535bba675 Fixed bugs and improved set selection for quest drafts. 2015-10-11 21:07:59 +00:00
drdev
c55a4a49ba Close loophole where ability menu could remain open when advancing phases, allowing playing cards when you shouldn't be able to 2015-10-10 17:54:10 +00:00
Sol
f216c8821b - Allow Draft to play a specific drafted opponent instead of just a random one. 2015-10-10 02:40:49 +00:00
Sol
d5dc1a9e2a - Temporarily wrapping faulty logic with a try/catch so Quest Mode decks can actually save 2015-10-08 13:40:29 +00:00
Sloth
41397aafe5 - The number of wins to unlock challenges can now be modified by the users in Quest Preferences. 2015-10-07 17:54:27 +00:00
drdev
8c49a7d264 Support setting directory for newly created decks by adding fullPath to StorageBase 2015-10-04 21:59:20 +00:00