Commit Graph

28210 Commits

Author SHA1 Message Date
Sol
d4b74ddc31 - For some reason hasFizzled didn't have any checks to make sure spells are still on the stack 2015-01-13 00:29:01 +00:00
Chris
88a61c2023 Added new card names to changes.txt. 2015-01-12 23:50:21 +00:00
swordshine
ed444c2705 - FRF: Added Grim Contest 2015-01-12 14:14:18 +00:00
Myrd
dc3f487d6b Fix following exception at game end:
java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
	at forge.match.input.InputQueue.removeInput(InputQueue.java:60)
	at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
	at forge.match.input.InputPayMana.onStateChanged(InputPayMana.java:431)
	at forge.match.input.InputPayMana$3.run(InputPayMana.java:382)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2015-01-10 01:50:56 +00:00
swordshine
ed2bfcc295 - FRF: Added Soulfire Grand Master 2015-01-09 04:21:01 +00:00
Agetian
cf718c48fa - Removed an extra empty line. 2015-01-08 11:28:15 +00:00
Agetian
4305ad0612 - Visualize the information about the outcome of Scry in the log (because this info is supposed to be public - you can see whether your opponent scries to the top or to the bottom of the library). The only minor problem is that this outcome appears right before the announcement of the ability in the log (in the reverse order), not sure how to fix. 2015-01-08 11:20:06 +00:00
Chris
8058e75151 Added new card names to changes.txt. 2015-01-08 03:43:34 +00:00
Chris
a183893492 Cleared out the changes.txt file, now ready for new material. 2015-01-08 03:27:38 +00:00
Chris
cfe726e14a update poms to 1.5.33 2015-01-08 03:25:07 +00:00
Agetian
cb7820eb80 - Submitting KTK token name corrections by Xitax. 2015-01-07 06:49:26 +00:00
Sloth
8fc20a4e72 - Added the quest decks: Bullseye 2 (by Nordos) and Imperial Guard 2 (by tojammot). 2015-01-06 13:48:09 +00:00
-gz
1a5d5efebc Allow tapping of less than everything for cards which may tap any number 2015-01-06 00:56:28 +00:00
-gz
aa6c7943aa During drafting stop reporting basic lands as not found on stdout 2015-01-06 00:52:13 +00:00
Chris
05e43cf21c Preparing the changes.txt file for the next beta build and release. 2015-01-05 13:49:35 +00:00
Chris
367466df4e Added new card names to changes.txt. 2015-01-05 13:45:26 +00:00
drdev
b2a3bcaae1 Make black and red tiles more distinct 2015-01-05 02:02:54 +00:00
drdev
3e51983237 Code cleanup 2015-01-05 01:49:00 +00:00
drdev
11b8cfed8b Support better tiles 2015-01-05 00:22:32 +00:00
drdev
a809ab2546 Support rendering color tiles instead of mana icons 2015-01-04 20:31:08 +00:00
Myrd
2853af3a10 Support saving/restoring game state that has creature tokens. 2015-01-03 19:15:44 +00:00
Sol
06801023b5 - Adding Manifest effect 2015-01-02 22:48:47 +00:00
Chris
37029fd2b9 Added new card names to changes.txt. 2015-01-01 21:09:54 +00:00
Myrd
16d4cf3dad Mobile: When updating cards and re-computing stacks, first clear all existing stack linked lists. Speculative fix for game freezing sometimes due to a cycle in the linked list. 2015-01-01 16:38:57 +00:00
swordshine
e0071af437 - Fixed Tamiyo, the Moon Sage 2015-01-01 11:11:46 +00:00
Myrd
51571c667d Oops, real fix for canBeTargetted. 2014-12-31 22:28:14 +00:00
swordshine
1634c04313 - Fixed canBeTargetedBy 2014-12-31 05:16:00 +00:00
Myrd
cee81da6ee Forgot to commit this. 2014-12-31 04:28:06 +00:00
Myrd
c57af8efc5 More use of visitor pattern to avoid allocations. 2014-12-31 04:10:21 +00:00
Myrd
6d7c7fe63c Use other method name here too. 2014-12-31 03:58:30 +00:00
Myrd
c2904fa2aa More visitors for keywords and merge duplicate keyword amount methods. 2014-12-31 03:57:16 +00:00
Myrd
35a1daf116 Fix a bug and more visiting. 2014-12-31 03:33:47 +00:00
Myrd
ea9f1f3ecf Fix error from my last commit. 2014-12-31 03:23:07 +00:00
Myrd
648756d1b8 More use of Visitor pattern - allowing iteration over all cards in the game without allocating a temporary collection. 2014-12-31 03:19:41 +00:00
Myrd
9f144f175e Bump android-maven-plugin version to rc.2, since rc.1 was throwing exceptions for me. Also, lower build heap size to 1G, which is still enough and is less likely to fail if there isn't enough memory. 2014-12-31 00:44:55 +00:00
Myrd
1f5cca02dd Optimize hasKeyword() to not need to allocate and concatenate a bunch of lists together.
Instead, makes it use the visitor pattern which allows traversing all the keywords without (usually) needing to allocate any  temporary lists.
2014-12-31 00:38:45 +00:00
Myrd
45c17d35da ArrayList of Floats -> float[] to avoid a bunch of temp allocations in frequently called code. 2014-12-30 22:32:52 +00:00
Myrd
46a870a0ea Optimize more temporary allocations. 2014-12-30 22:19:54 +00:00
Myrd
b39a7d310c Use game.getCardsInGame() rather than duplicating logic in a less efficient way. 2014-12-30 21:55:54 +00:00
Myrd
4096643769 Optimization to avoid excessive allocations. 2014-12-30 21:30:25 +00:00
Myrd
1a8ab8dfd0 Move DeckHtmlSerializer.java to forge-gui-desktop from forge-gui and remove freemarker as a dependency of forge-gui.
This removes a couple thousand unused methods from the Android APK.
2014-12-30 21:03:57 +00:00
swordshine
32f52f6880 - FRF: Added Soulflayer 2014-12-30 13:03:24 +00:00
swordshine
2cd0919d29 - FRF: Added Sandsteppe Mastodon 2014-12-30 12:27:42 +00:00
swordshine
ff26173d64 - FRF: Added Kolaghan, the Storm's Fury (Keyword: Dash) 2014-12-30 10:54:52 +00:00
Myrd
b6dbf28d0b Simplify and slightly optimize some code - move updateCard() to be a method of the CardAreaPanel. 2014-12-30 06:37:15 +00:00
Myrd
41a1c9b5e5 Change recursion to iteration. This is a bit more efficient, but also I've observed a stack overflow error with this recursion - so maybe iteration will help, unless there's another underlying logic error (e.g. a cycle). 2014-12-29 17:45:52 +00:00
swordshine
3d2156b429 - Fixed an NPE 2014-12-29 05:05:07 +00:00
Myrd
bf34aec4fc Get rid of global static Card cache and hang it off the Game instead.
This paves the way for having multiple simulataneous game objects (e.g. for simulation).
2014-12-28 16:31:23 +00:00
swordshine
5fe82c5758 - Fixed Soul Nova 2014-12-27 02:54:51 +00:00
swordshine
f9b867217c - Fixed ChangeTargets effect not working in WrappedAbility (reported by mastroego: http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=16350&start=120#p170429) 2014-12-27 02:32:32 +00:00