Commit Graph

6053 Commits

Author SHA1 Message Date
Maxmtg
3215a5c32c Inputs base class renamed 2013-03-23 14:00:53 +00:00
Maxmtg
c30bb25547 Syncronous mana payment that used to execute commands 2013-03-23 13:57:56 +00:00
Maxmtg
c3f7facedf untied dependencies in newGame, made input field in match final 2013-03-23 12:14:18 +00:00
Maxmtg
76960e7ea8 targeting is also synchronous now 2013-03-23 12:06:30 +00:00
Maxmtg
0ce3aba250 All cost-paying inputs are syncronous 2013-03-23 10:48:28 +00:00
Sloth
51d607ff1e - Added Whipkeeper. 2013-03-22 21:42:41 +00:00
Maxmtg
d192d4977f code changes from trunk/src 2013-03-22 18:17:56 +00:00
Maxmtg
72d38b34a3 Thread-related routines moved from FControl to FThreads 2013-03-22 18:16:38 +00:00
Maxmtg
37a0c9952d left a single stack of inputs in InputControl
invokeInNewThread will now reset input the method has planted
2013-03-22 17:52:05 +00:00
Sloth
6e85029b3f - Fixed spliced Kodama's Reach. 2013-03-22 12:40:42 +00:00
Sloth
565fb266d1 - Commented out the unfinished "Blink permanents with ETB triggers" part in changeZoneAI. 2013-03-22 12:34:23 +00:00
Sloth
563d21a094 - Improved AI predicting some ETB triggers. 2013-03-22 12:22:54 +00:00
Maxmtg
55edddf27e Added locking UI input, added guards to playAbility, playLand and discard to disallow their execution from EDT
merged trunk up to 20537
2013-03-22 09:18:04 +00:00
Sloth
025c2a2e7f - Fixed AI problem with Angel of Serenity. 2013-03-22 07:13:11 +00:00
Sloth
9decf87bba - Fixed Painter's Servant crash. 2013-03-22 06:44:57 +00:00
Sol
1567fa996d - Convert Scroll Rack to script 2013-03-22 01:20:43 +00:00
myk
321282299f clarify comment in CPicture 2013-03-21 22:36:31 +00:00
Sloth
02c41195a8 - Fixed a possible UnmodifiableCollection.remove call. 2013-03-21 22:00:18 +00:00
Maxmtg
b64cd4a97d rename a method (getCount => size) to be more uniform with java data structures 2013-03-21 20:08:30 +00:00
Maxmtg
c13dd7aec9 fix typos, rename variables, move stopwatch to caller's scope 2013-03-21 20:01:49 +00:00
Sloth
ffa811dcc9 - Fixed Second Sunrise sometimes returning permanents tapped. 2013-03-21 19:15:06 +00:00
myk
07a571be5b revert 20503 and add a comment explaining why it is written the way it is 2013-03-21 16:26:12 +00:00
Maxmtg
ee2df73bd5 small refactoring - will use original side and perform no action if asked for other face of a different card (not transform, nor flip) instead of throwing exception 2013-03-21 16:02:53 +00:00
Maxmtg
54a39a5853 CardStorageReader uses threadPool for zips as well,
Thread pool is not used if 1 == Runtime.getRuntime().availableProcessors()
FControl static ctor prints number of cores available to JVM.
2013-03-21 16:01:17 +00:00
Sloth
15a52461a7 - Removed two unnecessary variables in the card class. 2013-03-21 09:10:34 +00:00
Sloth
0e084b6d39 - Improved PumpAllAi. 2013-03-21 08:47:19 +00:00
Sloth
87e607755d - Improved TapAllAI. 2013-03-21 08:33:10 +00:00
Sol
fcf4ac4339 - Converted Temporal Aperture to script 2013-03-21 03:59:59 +00:00
myk
2b7ad652c7 use new booster images from Xitax and align the filenames with what we're actually looking for 2013-03-21 00:23:50 +00:00
myk
bb20576911 make flippable cards flippable in VPicture and VDetail 2013-03-20 23:52:52 +00:00
myk
92027bd067 ensure guidownloader progress bar gets updated for skipped downloads 2013-03-20 23:14:29 +00:00
myk
e5abecafce resize import dialog up but not down to avoid having the checkboxes jump around on the screen when clicked 2013-03-20 22:49:28 +00:00
Maxmtg
4034544216 Filp cards also require a separate image for their changed state 2013-03-20 22:46:21 +00:00
myk
3006c71f9a ensure the parent panels of the text areas resize with the text areas 2013-03-20 22:38:22 +00:00
Maxmtg
b87e64ee05 lightly formatted message in console 2013-03-20 21:08:37 +00:00
Maxmtg
1fb5479e4f CardStorageReader uses a threadPool to load all cards in several threads, got 3x faster execution on i7-2600. 2013-03-20 21:06:12 +00:00
Sloth
8f35ae4961 - Fixed AI predicting Battletide Alchemist wrongly. 2013-03-20 20:06:31 +00:00
myk
fd90002a60 invalidate the image cache after downloading new images so the new images can be loaded if they were previously cached as not found 2013-03-20 17:13:19 +00:00
Sloth
31756b86cf - Fixed AI not using Ancient Tomb. 2013-03-20 16:47:52 +00:00
moomarc
906b82f3ab - Added a user preference that allows a user to choose whether a clone or copied card should use its native artwork or the artwork of the card being cloned. By default the cloned card's image will be used. 2013-03-20 09:34:48 +00:00
Maxmtg
5c14793d48 a default picture will be embedded into jar file to be used when a card image is missing 2013-03-20 05:38:06 +00:00
Maxmtg
10389722dc removal of setBeforePayMana 2013-03-20 04:39:23 +00:00
Maxmtg
a0de29bc13 setPriority to human player moved from Input and CField to Player.playSpellAbility (that both sources call)
InputProxy.selectCard no longer requires PlayerZone (it can be derived from card by those who needed it)
ComputerUtil - rem imports
2013-03-20 04:30:05 +00:00
Sol
06bf9d3e65 - Convert Global Ruin to script. 2013-03-20 01:31:33 +00:00
Maxmtg
be83ec87f3 a smarter way to make ImageLoader check for an image only once. It uses a placeholder value, that is not null and therefore may be added into cache without errors 2013-03-19 19:25:16 +00:00
Maxmtg
9074929c81 placed a static variable to prevent multiple BugReport windows 2013-03-19 19:23:17 +00:00
Chris
cdbb167be7 Temporarily comment out line 124 in the ImageCache class. 2013-03-19 16:57:17 +00:00
moomarc
ea94d76c0f - Added Infinite Reflection
- Converted Essence of the Wild to script
- added ImageSource parameter to CloneEffect
- some small checkstyle fixed
2013-03-19 16:35:41 +00:00
moomarc
9333d4fe4f - Cleaned up the code I added recently to return a list of cards sharing the highest cmc. Thanks for the assistence Max! 2013-03-19 14:18:47 +00:00
Maxmtg
37126549cc renamed GameActionPlay.playSpellAbilityForFree into playCardWithoutPayingManaCost
PlayEffect.java - optimized the part which plays the spell
2013-03-19 09:57:06 +00:00