Oleg Agafonov
a32b4b75af
UI: added set search button in deck generator (but it bugged and disabled);
2017-12-30 16:03:49 +04:00
Oleg Agafonov
1239592c2e
UI: added fast set/expansion search button in deck editor
2017-12-29 06:13:01 +04:00
Oleg Agafonov
5fc0393bc7
Deck editor:
...
+ added warning messages dialog after load/import decks with errors (instead throw exception);
+ added loading cursors on import-load decks;
- fixed null exception error on empty/error deck loading;
2017-12-08 00:20:18 +04:00
Oleg Agafonov
1efc062f66
Decks importer:
...
+ added support for new decklist text format from deckstats.net (see #4228 );
+ added new checks to text format (too many empty lines, too big card number: more then 100);
+ fixed double window popup on cancel/close import from clipboard window;
2017-12-07 23:14:22 +04:00
Oleg Agafonov
66a70dd116
- Fixed #4220 - card viewer raise error with alternative card numbers;
...
- Fixed potential error on getCardsByRarity;
- Added inner checks for wrong booster max card numbers settings;
2017-12-07 08:01:54 +04:00
Oleg Agafonov
c29bac08d8
Refactor and fixed and images downloading and paths loading:
...
- Added new images and symbols downloading;
- Fixed user defined images path (now work for all images: cards, symbols, temp downloading);
- Fixed not working cancel button at download window (it close window, but tasks is working, download and didn't save);
- Fixed temp files trash all around images folder (on cancel button);
- Fixed not saving new downloaded cards on cancel button (zip file didn't close on cancel);
2017-11-27 08:09:52 +04:00
Oleg Agafonov
efee0b5328
Merge branch 'master' into svg-mana-icons-support
2017-11-26 18:44:48 +04:00
Oleg Agafonov
5cda60270c
Added svg support: new render for mana icons in tables (deck editor, draft)
2017-11-26 00:50:25 +04:00
Oleg Agafonov
ca90f2dc45
Add more card's info to viewer (mage book) - full set name, card numbers and total stats
2017-11-23 06:30:49 +04:00
Oleg Agafonov
f81489c377
Add fallback card render (origin card render), see #4168
2017-11-18 05:13:38 +04:00
igoudt
9cbc2b7ea2
change client messages to enum rather than string
2017-10-03 15:18:31 +02:00
spjspj
6435b9950a
Add in Penny Dreadful EDH format (plus filter options for deck editor).
2017-08-04 17:13:25 +10:00
LevelX2
18cab46b05
* Improved editor search function, fixed some problems with search for split card rules.
2017-07-29 11:43:05 +02:00
spacemoses
882060bf3e
Enhancement #3222 - Adding scroll to clipboard import in deck builder
2017-06-18 18:44:59 -05:00
spjspj
f85c7e07ba
Emblems refactor to show emblems in Card/Token Viewer
2017-05-14 13:43:18 +10:00
spjspj
bec0964726
Token refactor
2017-05-08 21:53:01 +10:00
spjspj
e73e7d8600
Token refactor
2017-05-06 23:35:14 +10:00
spjspj
0d0fccc105
spjspj - Remove Tokens from Card Viewer - need to reorg the tokens first.
2017-04-30 11:14:24 +10:00
spjspj
04f298923c
spjspj - Add in Tokens to the Card Viewer (fix)
2017-04-29 17:42:08 +10:00
spjspj
241691b153
spjspj - Add in Tokens to the Card Viewer (first version)
2017-04-29 17:25:54 +10:00
igoudt
5b21f34941
rewrote gettypetext, added removeIf to TableModel
2017-04-27 10:57:48 +02:00
spjspj
6ab4a94bd7
spjspj - Add in 'View Current Deck' option.
2017-04-23 13:06:09 +10:00
spjspj
8845d77628
spjspj - Remove View Limited Deck option
2017-04-22 19:35:08 +10:00
spjspj
0cd4e06e22
spjspj - Add a View Limited Deck option to allow you to see your deck during matches.
2017-04-22 19:16:12 +10:00
Mark Langen
321f5597b7
Change main client window MagePanes from JInternalFrames to JLayeredPanes
...
* This change's purpose is to get rid of the extra borders shown around the window border. These arise from using JInternalFrames in a JDestopPane and are impossible to remove in a forwards compatible way when using JInternalFrames. The solution it to move to have MagePane inherit from a plain old JLayeredPane instead of JInternalFrame. All of the MagePanes are always maximized anyways, so this doesn't lose any functionality.
2017-04-07 22:08:13 -06:00
ingmargoudt
f519b12d0e
introduced isCreature/isLand/isArtifact/... etc for CardView
2017-04-07 15:08:28 +02:00
ingmargoudt
08197f192c
remove CardHelper class
2017-04-07 10:00:16 +02:00
ingmargoudt
d60e01d497
move CardHelper::getColor to CardView::getColorText
2017-04-06 22:11:57 +02:00
ingmargoudt
63df7f65a7
remove isCreature from CardHelper, move to Cardview
2017-04-06 22:07:59 +02:00
LevelX2
2446abcc98
* Some minor changes to sleep command.
2017-04-02 11:48:05 +02:00
fireshoes
55b433ae36
[AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards.
2017-03-28 22:25:29 -05:00
ingmargoudt
2b91b88551
fixing some additional singleton classes
2017-03-16 09:48:02 +01:00
ingmargoudt
234cfe9519
rewrote singleton to enum where applicable
2017-03-14 16:32:47 +01:00
ingmargoudt
4aaf73e0d2
changed the type used in ImagePanel from an int to an enum
2017-03-07 22:28:10 +01:00
ingmargoudt
daed944eb6
refactored the SortBy.getByString
2017-03-07 22:06:44 +01:00
JOAC69
c854fc3d1a
Remove trailing space on CardHelper.getType()
2017-03-05 19:10:20 -06:00
ingmargoudt
6b20d352ca
added unit test
2017-03-03 22:28:34 +01:00
ingmargoudt
d966c82019
change enum equals to == for client
2017-03-01 17:03:11 +01:00
vraskulin
11dc1e10f1
Few lambda's and removed explicit type from creating lists and hashmaps
2017-02-28 13:46:57 +03:00
vraskulin
0a3c95dde5
Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback
2017-02-28 12:40:12 +03:00
vraskulin
498c8cf60c
Made utility classes final to explicitly forbid it's inheritance
2017-02-27 17:03:38 +03:00
vraskulin
af3986df46
All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time
2017-02-27 16:33:32 +03:00
vraskulin
f99cd21275
Mostly code format fixes.
2017-02-09 18:30:31 +03:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
igoudt
ac8962cb29
replaced enum comparison from equals to ==
2017-01-11 09:53:16 +01:00
vraskulin
076840df53
Big refactoring
...
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3) Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
spjspj
7a8055172d
spjspj - Allow appending from the clipboard in deck editor
2017-01-08 01:02:01 +11:00
LevelX2
8075ea2e50
* Fixed a problem that Emblems created by permanents where its owner left the game caused errors in clients. Some handling cganges of emblems.
2016-12-27 16:00:22 +01:00
spjspj
946e0c54fc
spjspj - Add invert selection to deck editor
2016-12-13 00:42:57 +11:00