Commit Graph

24528 Commits

Author SHA1 Message Date
drdev
cd505adc3d Fix padding around deck list buttons 2014-01-15 01:46:11 +00:00
drdev
5b1dd964ae Fix warnings 2014-01-15 01:33:07 +00:00
Sol
86ef4d0820 - Adding support for Gain Ownership cards, utilizing some of the same methods Ante is already using
- Added Darkpact
2014-01-15 01:06:14 +00:00
moomarc
966e593617 - Initial implementation of new constructed game setup 2014-01-14 16:04:10 +00:00
Agetian
eb4a355dc7 - Only write out the card art index to the deck if the art count for the card is greater than 1. 2014-01-14 15:42:47 +00:00
Agetian
d65b645a64 - Added a function to CardDb to get the number of different art available for a given card in a given set (to be used soon). 2014-01-14 15:27:33 +00:00
Chris
f899c6e58c Added new card names to changes.txt. 2014-01-14 14:30:40 +00:00
Agetian
a554599fd7 - Updated the Duel Decks: HvM edition file to correctly recognize 8 Mountains with different art (thanks Diogenes!) 2014-01-14 13:53:47 +00:00
swordshine
6046860e15 - BNG: Added Hero of Iroas
- Tweak Bestow
2014-01-14 12:15:24 +00:00
Maxmtg
1dda7d72a9 restore fields( in case GameFormat is serialized) 2014-01-14 07:35:07 +00:00
Maxmtg
3e2f3ab1c5 small bug 2014-01-14 07:22:39 +00:00
Maxmtg
286d7d043c Restored functionality : deckeditor shows all valid formats for decks in its list. 2014-01-14 07:21:49 +00:00
Maxmtg
563c089b9d now GameFormat supports "Restricted" cards (ex: power 9 in Vintage) 2014-01-14 07:13:48 +00:00
Agetian
ca103655bd - Optimize splitCardName by getting rid of continuous regular expression parsing. 2014-01-14 06:56:06 +00:00
Agetian
666fb6b35c - Cards with no art index specified will now have random art in every match (e.g. the line "20 Forest|7ED" provides twenty 7th Edition Forest cards each with randomized art).
- Some code reogranization related to card art randomization.
2014-01-14 06:02:06 +00:00
swordshine
d234975cde - BNG: Added Nessian Wilds Ravager and Pharagax Giant 2014-01-14 04:40:40 +00:00
drdev
13a6310ac0 Increase height of table rows slightly 2014-01-14 03:55:54 +00:00
drdev
62bfb66e11 Tweak spell shop columns 2014-01-14 03:39:48 +00:00
drdev
b776929fe8 Ignore sideboard when determining deck color (mostly for sake of limited) 2014-01-14 03:16:05 +00:00
drdev
273b7286cf Tweak cost column width 2014-01-14 02:27:45 +00:00
drdev
5bd450e0c9 Fix deck sort logic 2014-01-14 02:19:51 +00:00
drdev
777dff3c4b Adjust column widths 2014-01-14 02:06:15 +00:00
drdev
e3ddb00eee Left align table headers and ColorSetRenderer
Fix default sort for Format column
2014-01-14 01:54:45 +00:00
Maxmtg
870ffe3437 better color sorting, colorless decks icon is properly centered 2014-01-13 19:30:07 +00:00
Maxmtg
b8ea837204 align colors on center 2014-01-13 19:21:39 +00:00
Maxmtg
4a611fcf58 fix problems with deck format detection 2014-01-13 19:01:46 +00:00
Maxmtg
91be7b5a32 ColorSetRenderer for deck list 2014-01-13 18:46:40 +00:00
Maxmtg
42cf0def0f rollback changes to Deck, ManaCost, StorageBase, CardPool 2014-01-13 18:21:29 +00:00
Agetian
10fd05478d - Sealed Deck and Booster Draft limited modes now correctly handle and support cards with different art. 2014-01-13 14:46:12 +00:00
Chris
9fbc7a17c3 Added new card names to changes.txt. 2014-01-13 14:29:06 +00:00
Agetian
3cd105bac0 - Restore the functionality to show all cards from all sets and with different card art in the Constructed deck editor. This is temporarily the default and only behavior because it's the only way to properly support cards from multiple sets and with multiple card art indexes at the same time (given the note below).
- NOTE: The "Show unique cards only" functionality of the Constructed deck editor is currently broken (it was commented out by someone, possibly to be reworked later?)
2014-01-13 10:48:38 +00:00
swordshine
559c96412a - BNG: Added Ephara, God of the Polis 2014-01-13 09:56:21 +00:00
Agetian
ee5187c7e7 - Snow-covered lands have only one art (at least thus far). 2014-01-13 09:47:12 +00:00
Agetian
0cb7573494 - Generate basic land cards with random art in quest mode starting pool and quest mode card shop. 2014-01-13 09:46:35 +00:00
Agetian
0f514be363 - Added a simple Python tool to batch-scan a number of deck files for compatibility with Forge AI (use -h to get help). Right now it requires an unpacked 'cardsfolder' and a 'decks' folder in the same folder as the tool in order to operate.
- The -p option will only list decks that are playable by the AI, the -u option will only list decks that are unplayable by the AI (along with the lists of unplayable cards in each deck), the -d option will physically remove all deck files that are not compatible with the AI.
2014-01-13 09:10:34 +00:00
Agetian
ca07a8103a - Use the single-line 'for' style similar to other code places.
- Fix unused imports.
2014-01-13 08:55:47 +00:00
Agetian
4837bb5740 - Support distinction between cards with different card art indexes in the deck editors (the card index is now saved to .dck file and loaded from there if available).
- Remove a Singleton call from Match that was necessary to randomize card art (will be unsupported later and will not be necessary anyway once the true support is fully implemented).
- (WIP) Automatically randomize card art for cards that do not have the art index specified; for now only works for basic lands that were generated randomly (e.g. in random Constructed decks). Limited mode (sealed decks, draft decks, quest mode generated pool, quest mode spell shop) support for generating cards with different card art will hopefully follow soon.
2014-01-13 08:54:04 +00:00
drdev
fc7cc33111 Allow filtering and sorting decks based on name, color, and format
Refactor table column logic to be easier to implement new columns
Provide set sizes for certain columns so other columns can auto-size nicer
2014-01-13 08:35:47 +00:00
Maxmtg
ce341302a3 renamed createIngamePlayer method to minimize confusion 2014-01-13 06:23:32 +00:00
Maxmtg
4cb27c40ac (doubtful) replace xcantbe0 flag with restriction 2014-01-13 06:20:58 +00:00
swordshine
84e3fc1be9 - Fixed ChangeZoneAllEffect (r23967 broke many cards. Sloth, please review this fix) 2014-01-13 02:41:33 +00:00
Maxmtg
2522450930 Kill all gui 2014-01-12 18:32:49 +00:00
Maxmtg
e3e761ddc0 -1 gui call 2014-01-12 18:27:37 +00:00
Maxmtg
c95ee53137 remove gui calls from RepeatEachEffect.java 2014-01-12 18:22:26 +00:00
Maxmtg
7f9ef96178 wipe gui calls from effects 2014-01-12 18:16:03 +00:00
Maxmtg
95cbb2870c event phased had to be game event, not purely UI one 2014-01-12 17:34:40 +00:00
Maxmtg
17891a62fa remove global object reference from ZoneType 2014-01-12 17:20:45 +00:00
Maxmtg
f1ff893962 Human payment for costs now uses visitor pattern... as a result the concrete Cost classes no longer depend on UI 2014-01-12 16:15:41 +00:00
Chris
ce6d092b16 Cleared out the changes.txt file, now ready for new material. 2014-01-12 15:31:45 +00:00
Maxmtg
f6577217ff remove 'put' method from ItemPool , use 'add' instead 2014-01-12 12:22:12 +00:00