Myrd
edbbc582c7
Fix game copy error with monstrous with a test.
2015-02-13 05:17:22 +00:00
Myrd
5617b87c28
Re-enable test now that it's fixed.
2015-02-12 04:44:08 +00:00
Myrd
1963cc94ad
Fix simulated AI finding wrong card in hand when simulating and add a test.
2015-02-08 20:21:23 +00:00
Myrd
2766caec2c
Fix simulation of unmorph abilities that don't use the stack, with a test.
...
Also, disables a test that started to fail for some reason. Will investigate why it's failing after this commit.
2015-02-08 18:08:51 +00:00
Sloth
74d25c7ce1
- Fixed two typos.
2015-02-08 12:59:08 +00:00
Myrd
859a853499
Add a somewhat hidden option in the UI to turn on simulation via a context menu on the AI radio button on desktop.
...
This allows choosing the AI mode without recompiling and also allows things like making a non-simulation AI play a simulation AI.
2015-02-07 18:32:02 +00:00
Myrd
4e1706ad22
Remove some assumptions about ordering of players in simulation AI code.
2015-02-07 17:54:43 +00:00
Myrd
cfd38b7111
Fix game copy inconsistency with paid echo cost during simulation.
2015-02-07 02:55:48 +00:00
Myrd
2c25351a2e
Fix ETB effects not triggering during simulation and add a test.
2015-02-06 04:06:11 +00:00
Myrd
392e8e7008
Fix game copy error with equipment.
2015-02-05 02:52:15 +00:00
Myrd
8d5706b36e
Fix copying game with static effects to not double count them along with expanded tests for this.
2015-02-03 04:43:40 +00:00
Myrd
16ac1713c5
Add a failing simulation test related to static abilities.
...
Will enable the test in the CL that fixes it.
2015-02-03 03:26:58 +00:00
Myrd
58b2e2b24a
Add first unit test for game simulation AI - tests the fix for activations of ability triggers from my last commit.
2015-01-31 19:02:37 +00:00
elcnesh
92b80c69ff
Refactoring changes and other updates:
...
- Completely refactor continuous static effects. Layers are now implemented properly in the sense that every effect applies the relevant parts in the relevant layer, while locking in the set of cards to which it applies.
- Refactor the (un)freezing of Trackable objects to a per-game Tracker object rather than static methods, to allow multiple games hosted on the same machine.
- Refactor the changing of card colours to match other parts of the code (like type and P/T changing) more closely. Also get rid of some static parameters in that code.
- Some changes in how split cards on the stack are handled to make them more robust.
- Some more minor changes/cleanup.
2015-01-26 10:41:06 +00:00
drdev
6d5416c175
Fix how net deck categories appear in select list
2015-01-25 05:12:54 +00:00
drdev
30fbe55ac3
Add Net Decks support
2015-01-25 05:10:32 +00:00
Agetian
e50e7f575e
- Fixed the game spoiling card IDs when looking in the players' libraries, opponent's hand, etc.
2015-01-21 08:16:46 +00:00
Agetian
56dd767343
- Revert the last couple commits, looks like there is no unwanted console spamming if everything is set up properly.
2015-01-14 04:59:23 +00:00
Agetian
eaa80c9583
- Avoid spamming "picture not found" messages when looking for XLHQ art.
2015-01-13 19:57:17 +00:00
Agetian
3c3a830d04
- Refactored the XLHQ card zoom code, moved GetImageXlhq to FImageUtil where it belongs more.
2015-01-13 18:04:45 +00:00
Agetian
c9e4dd9ffc
- Support foiling XLHQ card images.
2015-01-13 17:55:36 +00:00
Agetian
1bd2aff0b1
- Added support for zooming in to XLHQ tokens (documented in CHANGES.txt).
2015-01-13 17:37:24 +00:00
Agetian
b7191150f0
- Reorganized the imports a little bit.
2015-01-13 16:56:06 +00:00
Agetian
027f0038e7
- Added a way to zoom to a XLHQ card picture if available (optional), documented it in CHANGES.txt.
...
- Fixed the planes and phenomena not being rotated 90 degrees when zooming in on them.
2015-01-13 16:54:12 +00:00
Agetian
3a45df9217
- Fixed the image sprite loading bar going to 116% instead of to 100%.
2015-01-13 14:29:37 +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
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
Myrd
30fb451a45
Remove global Player cache, instead make it hang off the Game object.
2014-12-16 21:55:33 +00:00
Myrd
3fe326bf71
Dump game state in dev menu.
2014-12-16 19:39:42 +00:00
Myrd
5af52be0c6
Layout dump game state button side by side.
2014-12-16 19:37:11 +00:00
Myrd
85e7ad50b1
Ability to dump the current game state to a file in dev mode.
2014-12-16 19:04:05 +00:00
drdev
02040ee026
Start major Planar Conquest overhaul
2014-12-16 01:28:29 +00:00
Sol
d3e7051f34
- Fixing NPE in VLog and VStack that pops up 10x tournament
2014-12-15 04:49:11 +00:00
Krazy
01e8dc2186
Fixed a bug that resulted in draft tokens being spent when a draft was not selected.
2014-12-14 00:21:31 +00:00
Myrd
23b3551ab3
In "Import Deck" dialog, uncheck "Use only core and expansion sets" when editing commander decks.
2014-12-13 17:52:08 +00:00
drdev
6845df50de
Fix warnings
2014-12-13 05:30:50 +00:00
elcnesh
5055ed4d2b
Add a "Hidden card ID" to face-down cards to uniquely identify them without spoiling the actual card id (hidden id increments each time a card is turned face-down).
2014-12-10 18:36:04 +00:00
drdev
f7fbdc05dd
Refactor code to make it easier to show rewards for planar conquest games
2014-12-06 23:52:54 +00:00
elcnesh
e7803b0572
- For face-down cards you can see, always display their face-up image for easier browsing through morphs.
...
- Don't display face-down cards in library/hand/exile as creatures.
2014-12-03 14:54:27 +00:00
drdev
e688d78781
Prevent showing flip icon for split cards in zoom view
2014-12-02 03:35:05 +00:00
drdev
3590fc3891
Support flipping card on zoom view for mobile app
2014-12-02 03:05:59 +00:00
drdev
ec29cd8eca
Cleanup warnings
2014-12-02 02:23:59 +00:00
Myrd
b3a2ca8291
When attacked by morph creatures, show the word "Morph" when referring to the creature.
2014-12-01 06:08:46 +00:00
Myrd
6c2347a261
Fix bug where card draw animations are shown even if you're in another tab (e.g. if you made two AIs play).
2014-12-01 06:03:27 +00:00
drdev
9e2c0bfcf6
Add Shift+click support for Mana Pool icons
2014-11-29 17:06:45 +00:00
drdev
4fe33c6c9b
Prevent crash in CardDetailPanel::setCard
2014-11-29 16:41:45 +00:00
drdev
4c6bd6a715
Prevent race condition when selecting multiple abilities using Shift+click
2014-11-27 02:05:26 +00:00
drdev
2cb2c266b3
Make Shift+tap and two finger tap select entire stack for mobile game
2014-11-27 00:44:33 +00:00
drdev
073db00909
Remove double-click as way to select entire stack
2014-11-27 00:27:29 +00:00
drdev
043304e35b
Support double-click and Shift+left click to tap all lands in the same stack
2014-11-26 20:47:47 +00:00