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
LevelX2
d51acbf090
* Removed unused imports.
2020-08-22 11:51:34 +02:00
LevelX2
84370ee5ab
* Allow to addd hint texts to stack abilities. Swicthed to html text format for text box of stack abilites.
2020-07-02 00:53:46 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
vraskulin
d93061c0bc
Equals should be compared with == but not equals()
2017-03-22 14:50:50 +03:00
ingmargoudt
2b91b88551
fixing some additional singleton classes
2017-03-16 09:48:02 +01: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
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
Neil Gentleman
6c43858046
Deck Editor: Fix redraw after missing image
2015-10-19 00:27:59 -07:00
LevelX2
88aca77695
* Split cards - The images of split cards are now rotated in the enlarged image view (moueswheel up/down).
2014-03-13 00:20:37 +01: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
0a18a7bea6
Removed majority of memory leaks from game / editor / dialog handling.
2014-02-02 21:57:02 +01:00
LevelX2
1f8555447d
Removed mana leaks for deck editor and draft panels.
2014-02-01 03:26:27 +01:00
North
c0ad7812cd
minor changes (mostly code style)
2012-12-24 18:43:54 +02:00
North
f0b32e7ca3
Removed unused imports
2012-12-20 00:26:21 +02:00
LevelX2
91b2d7056f
Fixed wrong size of textbox when showing big card for the spell/ability on the stack.
2012-11-16 08:31:15 +01:00
magenoxx
fc2283898c
[UI]Alt+E:enlarge card. New game panel layout (experimental).
2012-07-13 14:55:52 +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
e2049409ab
Fixed image not correctly resized for big card component.
2011-10-16 02:43:43 +04:00
North
1f72804968
Load croped image from Wizard images. fixes display issue
...
When resizing image to fit the BigCard panel, scale it to fit width.
The result is better.
2011-06-14 22:13:22 +03:00
magenoxx
6e3a7ede39
Advanced card image loading: thumbnails (slow on first run). Updated mage-card-plugin. Disabled foil cards.
2011-05-11 17:17:15 +04:00
magenoxx
2abc0e888d
Reduced hand cards size. Removed battlefield card area gap (cards now have more place and are less reduced in size).
2011-01-29 20:03:22 +03:00
magenoxx
8003a1073e
SOM cards.
2011-01-24 02:50:58 +03: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
5a0ca8025d
[cl.viewer] bigCard update issue fix.
2011-01-10 01:34:32 +03:00
magenoxx
56eff16857
Collection Viewer.
2011-01-09 03:03:19 +03:00
magenoxx
5774a886fe
[mage.client] again updated foil effect params.
2011-01-05 19:19:26 +03:00
magenoxx
b76fa3db0d
[mage.client] because of slowness, turned off all foil animation for cards except bigCard. Changed range (left and right color offset) of the effect.
2011-01-05 19:12:46 +03:00
magenoxx
85f69e1520
minor fix
2011-01-05 13:19:52 +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
1a945de4de
One more compilation error fix.
2010-12-14 21:31:42 +03:00
magenoxx
a006f37457
Fixed wrong import (compilation error fix).
2010-12-14 21:25:21 +03:00
magenoxx
49e44b92b1
[card.plugin] Added card info panel. At the moment can be seen only in deck editor with -DtestCardInfo VM parameter.
2010-12-14 19:33:30 +03:00
magenoxx
03cb41f2aa
Now StackAbilityView has sourceCard. Added displaying source card for abilities. Fixed arrows offsets. Added "source" blue arrows (target arrows are red). Fixed NullPointerException happen for AbilityPicker. Fixed random order of spells in stack. Code clean up.
2010-11-27 15:29:48 +00:00
magenoxx
2aad7682bd
Removed white rectangle at startup in big card. Changed gaps between components a little.
2010-11-24 14:41:45 +00:00
magenoxx
3a0fd73854
[card.plugin] Displaying JXPanel in case there is no image.
2010-11-19 15:10:04 +00:00
magenoxx
502b21fddb
Now if there is big image (card.plugin), rules box is not displayed.
2010-11-19 09:01:47 +00:00
magenoxx
ad50277430
...
2010-11-05 15:53:24 +00:00
magenoxx
9eb8b0e487
Interfaces and abstract classes for Mage.Card.Plugin. Replaced creating permanent by calling plugin manager that returns old implementation but new is also possible since now.
2010-11-03 06:59:55 +00:00
magenoxx
f775f7c511
Moved /src and /resources to maven stardard /src/main/java and /src/main/resources. Hope it's ok, if not I'll revert.
2010-10-22 12:40:50 +00:00