ingmargoudt
e2a479255a
refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer
2016-09-05 15:03:47 +02:00
fireshoes
b9d29d3ebf
Added upcoming sets. [KLD] Updated mtg-cards-data.txt. Added some simple cards.
2016-09-04 22:54:05 -05:00
fireshoes
16c40d0248
Merge origin/master
2016-09-04 09:13:47 -05:00
fireshoes
5e911ca63c
Updated image sources for upcoming sets.
2016-09-04 09:08:46 -05:00
spjspj
fb5087683f
spjspj - Implement new token source (mtg.onl) for downloading of tokens to tokenDescriptor format in TOK.zip
2016-09-04 22:34:43 +10:00
LevelX2
720a4457fd
* Fixed hybrid mana symbol display for characteristic-based card rendering. Removed not used import statements.
2016-09-03 10:52:14 +02:00
Mark Langen
629da22dd9
Small fix to renderer.
2016-09-01 17:23:17 -06:00
Mark Langen
b2895ee9eb
Tweaked layout for small card text.
2016-09-01 16:13:28 -06:00
Mark Langen
463576dbd0
Merged up to current
2016-09-01 15:44:14 -06:00
Mark Langen
818efb8535
* Textual set symbols no longer displayed if set symbol image doesn't exist.
...
* Fixed a small graphical mispositioning in rendering of keyword abilities.
* Added an option to hide set symbols entirely when rendering.
* Fixed flip walkers like Arlin Kord showing a "0" loyalty on their back face (when they should have no loyalty there).
* Removed some log files I accidentally committed.
* Fixed a bug in tokens, where they are missing their expansion symbol of they are created by another token
* Fixed the the new Rendering based CardPanel not returning the correct Image through getImage (resulting in a poor quality image in the card preview window)
2016-09-01 15:00:46 -06:00
spjspj
0f043d480d
spjspj - Implement new method for image generation of tokens.
2016-09-01 17:11:12 +10: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
LevelX2
873ecddb1d
Fixed that token images were not loaded.
2016-08-15 11:13:06 +02:00
fwannmacher
10778cdd6b
- Converted CardImpl.cardNumber from int to String
...
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
fwannmacher
78f327e822
- Fixed more image url properties
2016-07-21 01:19:28 -03:00
fwannmacher
9861f762b7
- Added option to select number of threads for image download
2016-07-20 16:08:36 -03:00
fireshoes
9630320ba9
Changed set codes in image sources and Mage Sets to match recent changes. Changed Portal Second Age set code back to PO2. Updated tokens with recent sets to product correct images. Fixed that there was no basic land slot in EMN packs.
2016-07-18 15:49:43 -05:00
Quercitron
91f74ced1f
Add downloading of double-faced cards from the mythicspoiler.com
2016-07-12 03:31:08 +03:00
LevelX2
1c2aa4c10a
Fixed cleint exception problem with transformable cards.
2016-07-02 18:38:29 +02:00
LevelX2
7cfdd80c57
Chnaged permanent row handling so creatures are always shown towards the opponent side.
2016-07-02 13:45:34 +02:00
LevelX2
3b0f7b074f
* Some changes to distance calculation of enchantments on the battlefield. Added minimal permanet size preference setting (not working correctly yet).
2016-07-01 15:08:40 +02:00
drmDev
9deb1bd0da
Ignition Team implementation (requested card)
2016-06-29 03:21:40 -04:00
LevelX2
facd5ffa2c
Merge pull request #2028 from draxdyn/cardpanel_threading
...
Fix broken threading in CardPanel
2016-06-28 13:28:37 +02:00
LevelX2
d220c739a8
Merge pull request #2030 from draxdyn/performance
...
Improve GUI performance
2016-06-28 13:26:44 +02:00
LevelX2
c505c2f44f
Merge pull request #2027 from draxdyn/resize_editor
...
Update image when cards in editor are resized
2016-06-28 09:08:37 +02:00
draxdyn
053580c412
Add support for disabling animations
2016-06-23 16:21:34 +02:00
draxdyn
b8e5f5f942
Draw CardPanel to a buffered image and cache it across instances
...
Speeds up GUI performance.
2016-06-23 16:21:34 +02:00
draxdyn
ffb65d48fe
Draw GlowText to a buffered image and cache it across instances
...
Speeds up GUI performance.
2016-06-23 16:21:34 +02:00
draxdyn
4b190eeaf4
Drastically simplify ScaledImagePanel by having it just use the resized image cache
...
All the current behavior of ScaledImagePanel seems to be useless, since the source
images are static, so we can just use the highest quality scaling possible and
cache the result using TransformedImageCache.
2016-06-23 16:21:34 +02: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
draxdyn
0b13660348
Use mouse point in event instead of calling getMousePosition()
...
Improves performance and is also the correct way to do this.
2016-06-23 16:21:34 +02:00
draxdyn
1dddda6599
Fix broken threading in CardPanel
...
The current code is broken, can't touch the UI in a thread pool thread,
UI.invokeLater must be used to get back on the UI thread.
Also, it must check whether the card has been changed again before setting
the image and do nothing in that case.
2016-06-23 16:12:15 +02:00
draxdyn
5c177dcdc8
Update image when cards in editor are resized
...
Currently images are blurred when changing GUI size in the editor,
and this fixes the issue.
2016-06-23 16:01:47 +02:00
Quercitron
207961ee5f
Fix that isType2 flag was not set for second sides of transform cards and flipped cards in the pictures download.
2016-06-22 13:10:42 +03:00
draxdyn
54a7be59d0
fix NPE in getWizardsCard
2016-06-15 13:11:40 +02:00
fireshoes
a2c56d821c
Added a bunch of promo cards and the new sets that were announced today.
2016-05-16 23:05:31 -05:00
LevelX2
1fcd26fc60
xmage 1.4.11v0
2016-04-26 00:59:03 +02:00
drmDev
e136e409fd
[W16] cards added. Still does not show as Standard legal. HELP
2016-04-15 09:15:26 -04:00
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
spjspj
3dfe9de05f
spjspj - Add the 'Skip to End Step of Previous Player' button to the GamePanel and associated changes
2016-03-27 00:07:23 +11:00
fireshoes
b58a0374c6
Added missing Blessed vs Cursed image information. [SOI] Added basic lands, some additional token types and emblems.
2016-03-22 00:05:55 -05:00
fireshoes
0a38430d49
[SOI] Added 3/14-15 spoilers to mtg-cards-data.txt Added Angel of Deliverance, Anguished Unmaking, Descend upon the Sinful, Drogskol Cavalry, Nephalia Moondrakes, and Sinister Concoction.
2016-03-15 17:47:21 -05:00
rkfg
909a99ceec
Fix transformable cards state desync.
2016-03-09 16:27:00 +03:00
Quercitron
6e4a4285b8
Fix images download from magiccards.info
2016-03-08 01:21:34 +03:00
rkfg
5fe67bda4c
Remove unneded import.
2016-03-06 02:55:30 +03:00
rkfg
63ca80fc86
Recreate card thumbnails wrongly encoded as CMYK JPEG from PNG. Fixes
...
#1589 .
2016-03-05 00:06:57 +03:00
rkfg
a612eb4585
Fix CRLF mess again.
2016-03-04 10:29:40 +03:00
rkfg
47b2a64cee
Store symbols as .gif instead of .jpg, rename already downloaded ones on
...
start, fixes #98 .
2016-03-04 00:59:12 +03:00
rkfg
9cf972ced4
Faster symbols load.
2016-03-03 23:04:35 +03:00