Commit Graph

819 Commits

Author SHA1 Message Date
Maxmtg
6d34dbc286 refactored cardDb, added getEdition method to DeckProxy 2014-01-25 15:43:48 +00:00
Maxmtg
2981668172 PreconDecks' folder property will be filled with their set (temporary) 2014-01-25 09:56:14 +00:00
moomarc
4cab5da076 - Planechase variant now launched from Constructed match setup screen.
- moved random deck checkboxes into deck panel. Only show them when a random deck type is selected. They are still global settings however.
- when player 1 name is changed in preferences, switching back to constructed setup screen will reflect the change
2014-01-24 19:06:31 +00:00
Maxmtg
9bcc6cbc64 save/delete methods implemented on DeckProxy 2014-01-22 05:06:56 +00:00
Maxmtg
8b8b9f0cf5 add methods to search for nested folders and create them 2014-01-22 04:22:31 +00:00
Maxmtg
567ffe84cd DeckManagers use DeckProxies 2014-01-21 09:32:36 +00:00
Maxmtg
2bc61a9e68 the great move 2014-01-21 06:27:36 +00:00
Maxmtg
d93b041397 moved 2 files to ensure history is saved 2014-01-21 06:11:18 +00:00
Maxmtg
ecd14e1de4 Revert module separation to make another commit that would keep files' history 2014-01-21 06:05:34 +00:00
Maxmtg
18e96a1028 module separation in progress. Project cannot be compiled. Will restore in under an hour 2014-01-20 18:33:47 +00:00
Maxmtg
8393bc02e4 remove ItemPoolView class, instead a read-only pool will be an instance of same class, but backed with an unmodifiable map 2014-01-20 09:13:13 +00:00
Maxmtg
85e5b0ff13 removed list or items from CardPool that had to be kept in sync with the main map, since no other class but ItemManagerModel used it (I wanted to do that for too long already!) 2014-01-20 08:49:52 +00:00
Maxmtg
3b8d779b27 reverted another change to core (the ordering of colors for random generation is implemented in a simpler way) 2014-01-20 08:20:28 +00:00
drdev
f0ce722aa4 Don't retain selection when clicking to change column sort
Support showing color deck options in proper order with no column header
2014-01-19 18:15:02 +00:00
drdev
7e7969988a Rework player zone message building for ability effects 2014-01-18 17:06:18 +00:00
drdev
81363bc537 Revert my revert of Max's revert (now that I see what I did wrong, sorry Max) 2014-01-18 03:49:45 +00:00
drdev
e9ddf8400b Revert Max's revert 2014-01-18 00:31:45 +00:00
Maxmtg
22b78255bb Storages must not be changed for UI needs 2014-01-17 17:23:50 +00:00
Agetian
b249028b8e - Code simplification related to effective art index calculation. Deprecated art index 0 will now be treated as random art (please update your decks if they use art index 0). 2014-01-17 16:39:21 +00:00
Agetian
4cb2077e1a - The art indexes in .dck files now start at 1, not at 0, and thus match the image file name conventions (e.g. index 1 for a Forest matches Forest1.full.jpg). Note that if you had decks created with different art in mind prior to this beta, the art in your decks will be slightly off (index 0 will be treated as index 1 for the sake of limited backwards compatibility). Please update your decks if necessary. 2014-01-17 15:37:19 +00:00
drdev
a52a88e0cb Fix so DeckManagers list decks in nested folders
Update FDeckChooser to use DeckManager
2014-01-16 15:57:43 +00:00
Agetian
e44cada50e - [Fixed] only save the information about the card art index to .dck file if the card has more than one possible art in set. 2014-01-16 04:45:17 +00:00
Agetian
f131aafa44 - Optimized the generation of basic lands with random art for the quest mode card pool and quest shop.
- Better name for a function to split a value into a predefined number of random groups.
2014-01-15 15:59:57 +00:00
Agetian
634289407b - Optimization of adding cards with random art index in CardPool. 2014-01-15 09:34:03 +00:00
Agetian
c64ef5deed - Fix a crash in the multiple art processing code related to cards not assigned to any edition. 2014-01-15 07:50:27 +00:00
drdev
a5a0c510b5 More code cleanup 2014-01-15 05:48:53 +00:00
drdev
d7f8231717 More code cleanup 2014-01-15 05:20:00 +00:00
drdev
f0f7cfc839 Move remaining storage classes out of GUI 2014-01-15 05:14:05 +00:00
drdev
03870821c5 Code cleanup 2014-01-15 05:07:59 +00:00
Agetian
726084bc06 - Removed a check for variant card art index (all variant cards currently have only one art). 2014-01-15 05:02:50 +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
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
drdev
b776929fe8 Ignore sideboard when determining deck color (mostly for sake of limited) 2014-01-14 03:16:05 +00:00
Maxmtg
870ffe3437 better color sorting, colorless decks icon is properly centered 2014-01-13 19:30:07 +00:00
Maxmtg
4a611fcf58 fix problems with deck format detection 2014-01-13 19:01:46 +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
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
17891a62fa remove global object reference from ZoneType 2014-01-12 17:20:45 +00:00
Maxmtg
f6577217ff remove 'put' method from ItemPool , use 'add' instead 2014-01-12 12:22:12 +00:00
Maxmtg
283af44c48 removed deckbox 2014-01-12 12:16:51 +00:00
drdev
4a3e07bbae Fix titles on dig effect prompts
Make reveal dialogs have more consistent titles
2014-01-11 18:26:43 +00:00
Chris
5dbe15e7e0 [maven-release-plugin] prepare for next development iteration 2014-01-11 15:11:47 +00:00
Chris
cbf38aed9c [maven-release-plugin] prepare release forge-1.5.10 2014-01-11 15:11:36 +00:00
Chris
d937a397a7 [maven-release-plugin] prepare for next development iteration 2014-01-10 14:01:32 +00:00
Chris
c9daed2056 [maven-release-plugin] prepare release forge-1.5.9 2014-01-10 14:01:20 +00:00