Myrd
30fb451a45
Remove global Player cache, instead make it hang off the Game object.
2014-12-16 21:55:33 +00:00
Myrd
6be85a1741
Fix shard sort order when deciding if a mana cost is payable.
...
Prior to this change, the logic would conclude that a {1}{W} cost is not payable with an untapped Scoured Barrens (w/b) and Jungle Hollow (b/g) on the field.
The code is unfortunately too tangled (has too many dependencies) to write a unit test for this. Ideally, we should refactor so it wouldn't depend on the player, etc and just take parameters that can be fed test data.
2014-12-16 20:26:41 +00:00
Myrd
8c25bfd8b7
Refactor duplicated logic into a function.
2014-12-16 20:04:57 +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
205699bda3
fix restoring tapped and summon sick state
2014-12-16 19:19:42 +00:00
Myrd
ff17ebbc6c
Clear cards in battlefield before adding the loaded ones when using set up game state function.
2014-12-16 19:07:58 +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
Myrd
8e3011294e
Clean up includes.
2014-12-16 17:31:59 +00:00
Myrd
07757ff5d3
Refactor dev mode game state setting to a separate class.
2014-12-16 17:30:24 +00:00
drdev
fe82ac76ac
Reduce appearance of character
2014-12-16 06:05:12 +00:00
drdev
f6b7ea95f2
Add a few more empty tiles
2014-12-16 06:01:10 +00:00
drdev
e62f103ad9
Fix edges of tiles
2014-12-16 05:58:22 +00:00
drdev
b0ccdaea9d
Fix rounding issues with hexagon rendering
2014-12-16 05:43:18 +00:00
drdev
8c82551adc
Support laying out and drawing tile map
2014-12-16 05:20:15 +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
drdev
25c2e67979
Prevent fling immediately after releasing fingers from quick zoom
2014-12-15 04:19:00 +00:00
drdev
547c247732
Fix so gesture issues for mobile game
2014-12-15 03:39:07 +00:00
Sol
605e3a2501
- Fixing missing period in Hobble
2014-12-15 01:08:02 +00:00
drdev
4f565c4b0c
Prevent zoom leading to fling unintentionally
2014-12-14 22:40:57 +00:00
drdev
a40a5636b8
Replace gdx.jar with specially compiled trimmed down version of libgdx so Android build can work
2014-12-14 22:37:08 +00:00
elcnesh
191b8e4e71
Add Fatespinner (AI uses it at random for now).
2014-12-14 17:00:31 +00:00
elcnesh
706a98460b
Fix clone effects, among others the bug of Renegade Doppelganger doesn't change back.
2014-12-14 16:20:57 +00:00
elcnesh
4b32a86679
Add Spy Network. Add new card names to CHANGES.txt.
2014-12-14 13:22:42 +00:00
elcnesh
6fb1fd3058
Fix certain planes by triggering once for each plane left when planeswalking.
2014-12-14 13:08:26 +00:00
elcnesh
50db5c165b
Fix cards that cause each player to play with the top card of their libraries revealed.
2014-12-14 12:49:29 +00:00
Sloth
7bd39f7996
- Made the easy quest deck Frodo 1 easier.
2014-12-14 12:49:11 +00:00
Sloth
db557aa016
- Updated a quest challenge (by Nordos).
2014-12-14 11:15:20 +00:00
elcnesh
89dc827756
Add Aven Soulgazer and Smoke Teller.
2014-12-14 09:39:59 +00:00
drdev
4fe3a083a5
Move down plane stat labels slightly
2014-12-14 05:37:19 +00:00
drdev
3a583e0edb
Remove tail at bottom of monitor
2014-12-14 05:27:58 +00:00
drdev
e10d51fdc4
Make long press on Commander view deck
2014-12-14 05:19:03 +00:00
drdev
1d71fffc72
Prevent crash if double tap commander panel not unlocked
2014-12-14 05:16:20 +00:00
drdev
83326e397b
Clean up command center UI and add double-tap to edit deck
2014-12-14 05:14:59 +00:00
drdev
7d2be88175
Add plane stats to command center screen
2014-12-14 04:39:08 +00:00
drdev
f89316603b
Support displaying unlock and win ratios for region
2014-12-14 04:02:44 +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
drdev
de08df303b
Improve how available pool is determined for Conquest deck editor
2014-12-13 19:34:48 +00:00
drdev
6c6554008c
Support deck editing for Planar Conquest
2014-12-13 18:39:06 +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
8ecf833a11
Add Deck and Portal buttons
2014-12-13 16:56:32 +00:00
Myrd
59c1aa95b8
Fix Satyr Wayfinder revealing the top 4 cards twice.
2014-12-13 16:50:04 +00:00
Sol
60b0a1bbb4
- Adding YouCtrl to Crowned Ceratok
2014-12-13 14:00:54 +00:00
drdev
02b13cbc89
Allow human and AI to have different planar decks
2014-12-13 06:31:11 +00:00
drdev
20b47f3b91
Support starting games with variants in Planar Conquest
2014-12-13 06:16:10 +00:00
drdev
6845df50de
Fix warnings
2014-12-13 05:30:50 +00:00
drdev
7a20bd682e
Support using commander as game avatar
2014-12-13 05:03:42 +00:00
elcnesh
691fd67b9c
Update libgdx to 1.5.0, now including binary library files.
2014-12-12 10:44:19 +00:00
elcnesh
9283328e22
Large cleanup in game; fix some small bugs and make a lot of methods static where applicable.
2014-12-12 10:39:45 +00:00