spjspj
9366e8c0b7
Update TableModel.java
2021-06-18 00:39:25 +10:00
spjspj
ae2787f119
Add in color identity as a sortable option in the deck editor and draft editor
2021-06-18 00:36:38 +10:00
Evan Kranzler
a61d5543fa
replaced all instances of converted mana cost with mana value
2021-04-17 17:02:27 -04:00
Oleg Agafonov
c1dea5b21e
* Performance: memory usage optimization for deck editor (improved search for low end computers, see #7177 );
2021-02-12 22:00:16 +04:00
Oleg Agafonov
275e996c08
* Performance: memory usage optimization for deck editor (removed bloated usage of ManaCosts -> ManaColor objects, see #7515 );
2021-02-12 22:00:16 +04:00
Oleg Agafonov
a1da5ef437
* GUI: new reworked GUI and card render engine, card icons and dozens of other fixes (see full list in related PR);
2021-01-30 16:38:55 +04:00
Oleg Agafonov
cb8d4dc340
* Non creature tokens - fixed rollback errors in AI games (example: Food token, see #6331 );
...
Fixed other potentially NPE errors with rarity;
2020-03-06 03:27:46 +04:00
Oleg Agafonov
b56587a383
Code cleanup (removed outdated client's config.properties settings)
2020-01-26 15:19:22 +04:00
Oleg Agafonov
339c419d4b
* UI: multiple improves for adventure/split cards:
...
* Split cards shows left and right mana cost (in deck editor, hand, etc);
* Adventure cards shows adventure and normal cost (in deck editor, hand, etc);
* Adventure cards shows adventure spell name in deck editor's list;
* Fixed missing loading cursor in deck editor searching;
2020-01-07 11:49:55 +04:00
Ingmar Goudt
8319fbf9ad
replace public fields with encapsulation
2019-03-03 09:51:14 +01:00
Oleg Agafonov
0697cbe24c
UI: added draft rating column to deck editor
2019-02-01 18:57:24 +04:00
Oleg Agafonov
72d23bfe95
* UI: deck editor - added cards sorting by rarity ( #4414 );
2018-10-03 23:59:51 +04:00
Ingmar Goudt
f04d7c9b03
remove redundant null checks before instanceof
2018-09-17 21:09:42 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
af2d55f8aa
Deck editor - Fixed a bug that the card list could not be sorted by color text.
2018-05-26 01:20:55 +02:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01: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
igoudt
9cbc2b7ea2
change client messages to enum rather than string
2017-10-03 15:18:31 +02:00
igoudt
5b21f34941
rewrote gettypetext, added removeIf to TableModel
2017-04-27 10:57:48 +02: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
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
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
vraskulin
498c8cf60c
Made utility classes final to explicitly forbid it's inheritance
2017-02-27 17:03:38 +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
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
LevelX2
67cf1604c9
Fixed a problem with images of transformed cards. Workaround for images of basic lands. Does not work correctly yet, because card art od basic lands is switched between various versions continuously.
2016-10-09 03:07:23 +02:00
LevelX2
e46895420e
Added card# to deck pool area.
2016-10-09 03:05:10 +02:00
LevelX2
5d8ae4d411
* Workaround to fix problem with deck layout.
2016-10-08 19:03:09 +02:00
Mark Langen
d5415d2d04
Working Card Rendering
2016-08-31 04:43:28 -06:00
draxdyn
e3d84ca212
Cache resized and rotated images
...
RotatedResizedImageCache and MultiRotatedResizedImageCache contain the caching
machinery.
A cache of rotated and resized images is added to ImageCache, and is used by
the resizing functions there.
All the resizing and rotation functions in ImageHelper are redirected to the
ones in ImageCache.
This is slightly inefficient because it will cache some calls that are never
repeated, but it prevents developers from mistakenly using uncached functions
when calls are repeated, seriously impacting performance.
Also resizing functions that only take a width or an height have been removed,
and their calls fixed to provide the other dimension. It's still possible to
specify -1 as width or height to ignore constraints in that dimension, though.
Greatly speeds up UI performance.
2016-06-23 16:21:34 +02:00
Liam Speirs
8758c2de36
Add tracking for number of artifacts in card lists.
2016-04-27 14:43:40 -04:00
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
LevelX2
5ca4e3bc7a
Some more changes to GUI to better support high screen resolutions.
2016-02-16 23:15:34 +01:00
LevelX2
ea0ba76736
* Deck editor - Fixed a bug that prevented users to add cards to deck or sideboard (was caused by creatures with negative toughness and it was sorted by p/t - fixes #1414 ).
2015-12-13 10:34:35 +01:00
LevelX2
382223bb90
* Deck Editor - Show images for amna symbols.
2014-09-10 17:11:06 +02:00
LevelX2
0e34720611
* Some more changes to the deck editor.
2014-05-10 11:35:07 +02:00
LevelX2
0561499d5b
* Deck editor - Added possibility to edit number of cards for deck and sideboard directly if deck editor is in normal mode to build a deck from complete card pool.
2014-05-09 16:00:37 +02:00
LevelX2
02e6ba045b
* Deck editor - Some changes to card movement with double click.
2014-05-05 17:52:29 +02:00
LevelX2
59d907c981
* Improved handling of enlarged images. Added mode to show other side of flip and transform cards. Added icon for copied cards and possibility to show enlarged original or copied card.
2014-03-06 21:51:51 +01:00
LevelX2
88d8c30b6c
* Fixed a problem of defaulting pile setiing in deck editor. Pile setiing is now saved separate for different usages.
2014-02-15 22:34:08 +01:00
LevelX2
1f8555447d
Removed mana leaks for deck editor and draft panels.
2014-02-01 03:26:27 +01:00
LevelX2
f3992bd2d5
Redesigned sorting handling of deck, sideboard and draft card area (keep sorting if and view if cards move).
2014-01-20 22:13:28 +01:00
LevelX2
893a3acb65
* Card editor - Done some code cleanup, done some speed up for card loading time.
2013-09-26 17:26:23 +02:00
North
0bb110be45
[refactor] moved enums from Constants class
2013-06-16 12:28:10 +03:00