L_J
e7301e2c08
Implemented banding ( #41 )
2018-02-13 20:36:25 +01:00
Oleg Agafonov
f81489c377
Add fallback card render (origin card render), see #4168
2017-11-18 05:13:38 +04:00
ingmargoudt
09f0c9ad97
huge rework on subtypes ( #3668 )
...
* huge rework on subtypes
* update for coat of arms
* fix test
2017-07-16 16:57:39 -05:00
igoudt
0528555075
make DefaulActionCallback an enum and remove unused parameter
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
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
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
d7dd635bca
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
2016-09-16 21:23:31 +02:00
ingmargoudt
3019991473
removed the Session out of local scope and introduced a static SessionHandler that acts as interface to remote.Session
2016-09-15 20:52:41 +02:00
Mark Langen
d33f8a636e
Most obvious bugs ironed out. Ready for PR.
2016-08-31 23:37:31 -06: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
LevelX2
f7a7b2e7a0
Some more changes to GUI to better support high screen resolutions.
2016-02-14 23:34:36 +01:00
LevelX2
532d4e0af0
* Added automatic handling for order of triggered abilities going to stack ( fixes #701 / related to #328 ).
2015-08-22 19:29:57 +02:00
LevelX2
d245ce1ad2
* Fixed that card name text was covered by next card beneath if cards are displayed close together (library search).
2015-04-16 16:29:54 +02:00
magenoxx
60d04e2614
[UI] Showing choosable cards in dialog - Issue#456
2014-07-15 16:31:41 +04:00
magenoxx
f8a1b327b4
[UI] Order of cards in hand is changable
2014-07-11 10:49:00 +04: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
e892d4388d
* Draft shows now cards to draft in optimized size. Added some elements to cardPanel only if needed. Removed some legacy code about foiled card display.
2014-01-15 01:45:07 +01:00
North
0bb110be45
[refactor] moved enums from Constants class
2013-06-16 12:28:10 +03:00
LevelX2
dc131fa8dd
Changes to show name and number of counter on a card.
2013-03-04 00:03:21 +01:00
magenoxx
55f40d2e9d
Implemented Issue#73: Enchant Player enchantments - show enchanted player
2013-01-14 18:57:13 +04:00
magenoxx
ec5b5845ef
Fixed Issue#84: Arrows that show the targets are always on top
2013-01-08 15:58:48 +04:00
North
25cd490be3
[CardRepository] moved Sets, DeckImporter and CardRepository to Mage Framework
2012-11-04 12:52:02 +02:00
magenoxx
b5032226f4
Showing already chosen cards in choice dialog
2012-06-27 18:44:03 +04:00
magenoxx
638a6368d2
Displayint card name in choice dialog. Bigger cards for choice many.
2012-06-27 18:07:13 +04:00
North
239a4fb100
[refactoring][minor] Replaced all tabs with four spaces.
2012-06-19 23:50:20 +03:00
magenoxx
0c785abb46
New way for displaying combat
2012-06-17 13:13:51 +04:00
magenoxx
1bf0e216de
Displaying tooltips and green arrows for paired creatures
2012-05-17 11:59:47 +04:00
magenoxx
e7bb796d48
Double-faced cards support
2011-09-17 16:47:28 +04:00
magenoxx
903dc0c5ef
Added card transform in UI. For now for all cards.
2011-09-08 22:23:35 +04:00
magenoxx
31d849ef46
Displaying top revealed card in client. PlayWithTheTopCardRevealedEffect.
2011-08-27 16:30:06 +04:00
magenoxx
2fe5bff43d
Flipped cards.
2011-07-06 09:33:53 +04:00
magenoxx
74b9b53091
Fixed Issue 167.
2011-06-26 18:46:23 +04:00
BetaSteward
c4a3a496aa
moved Session to Mage.Common
2011-06-15 23:24:03 -04:00
BetaSteward
c38804af5f
rolled back changes since 0.7.3 R2 - going to switch client/server architecture
2011-06-14 23:09:18 -04:00
BetaSteward
8b1c463d35
big client update - moved Session to Mage.Common project, this will allow other clients to reuse connection logic
2011-05-31 23:01:07 -04:00
North
569191a55a
Removed getArt and everything related to it.
2011-05-30 00:07:02 +03:00
BetaSteward
4f06f78621
UI fixes - can now play simultaneous games
2011-03-04 22:46:56 -05:00
magenoxx
08a4aa4aea
New game panel: new player info, centered hand, displaying poison counters, layout fix (Issue 25 fix), avatars, etc.
2011-01-23 14:41:57 +03:00
magenoxx
3cf90f2875
[mage.client] Foil cards support. For now have strange noise that is only with JInternalFrame, works for JFrame nicely so possibly will need to reimplement all dialogs.
...
For now every 5 card is a foil and the property is not attached to the card and may differ in various zone (need to change card entity).
2011-01-05 13:14:39 +03:00
magenoxx
850f931bc7
Fade in\fade out effects for adding and removing permanents.
2010-12-09 22:14:19 +00:00
magenoxx
fe3903d825
Replaced mouseClicked by mousePressed everywhere (works betters). Rebuild everything.
2010-12-04 09:02:57 +00:00
magenoxx
08d020d998
[card.plugin] now replaces cards in deckeditor if used. removed debug logging.
2010-11-22 13:02:36 +00:00
magenoxx
b501b10f9a
[card.plugin] unified mouse adapter. now tooltips should work.
2010-11-22 12:36:37 +00:00
magenoxx
63d8231928
[card.plugin] now cards displayed on hand and stack (some stuff still needs to be updated). PLEASE DO REBUILD PLUGIN IF U USE mage-card-plugins.jar.
2010-11-21 13:02:55 +00:00
magenoxx
c0139976bf
[card.plugin] Copied tooltips from Mage.Client\Card. Moved TextPopup to Mage.Common. Need to rebuild mage-card-plugin.jar if you use it.
2010-11-19 16:19:11 +00:00