Commit graph

216 commits

Author SHA1 Message Date
North
38a52daaec Fixed possible NPE.
list.size() == 0 replaced with isEmpty()
2011-06-13 18:52:24 +03:00
magenoxx
cf45872867 Fixed searching for token images (not always worked - e.g. for Plants from Avenger of Zendikar). 2011-06-13 16:56:57 +04:00
North
fdff12fc7a Refactored Image Download Sources.
Added AverageSize for download sources.
If cards can't be downloaded from a source you can select another and continue.
2011-06-12 15:38:03 +03:00
magenoxx
76181c4185 Fixed Germ token not displaying. Added MBS and NPH tokens to download. 2011-06-02 01:57:46 +04:00
North
e649e8ec62 Added mtgathering.ru download source. 2011-06-01 23:35:26 +03:00
Loki
7efc3b953b Sickleslicer and Living Weapon mechanic support 2011-06-01 23:29:29 +03:00
BetaSteward
7a8d5b65d3 fixed dependency 2011-05-29 21:50:54 -04:00
magenoxx
84b79000ff Phyrexian mana support. NPH: Mutagenic Growth, Dismember. 2011-05-29 23:12:21 +04:00
North
f6d7080e0c Added wizards.com download source. 2011-05-29 14:44:51 +03:00
Loki
f8d9f36ced Propaganda and Ghostly Prison 2011-05-25 13:50:03 +03:00
Loki
e22f4e5de8 New Phyrexia 2011-05-24 09:53:02 +03:00
Loki
db5868649a Apocalypse set and 3 cards 2011-05-24 00:45:29 +03:00
magenoxx
74c7feb470 Moved version to 0.7.3 in pom files. 2011-05-19 23:49:43 +04:00
Loki
f37f2d8b63 Unmake (Eventide) 2011-05-17 15:32:20 +03:00
magenoxx
d32a8e041f Multi thread image downloading. Fixed Issue 18. 2011-05-17 02:38:48 +04:00
North
da587fc717 Fixed type for Harrow
updated Mage-Sets version in Mage.Rating.Plugin/pom.xml
2011-05-14 10:11:52 +03:00
magenoxx
57193b3723 Added missing set symbols displayed in tooltips. 2011-05-11 21:49:05 +04:00
magenoxx
c0da5e1fa0 Updated mage-card-plugin. 2011-05-11 21:24:34 +04:00
magenoxx
f66fd8fc97 [deck.editor] Switching between card selectors. Displaying cards from the list. --All sets-- option to show all cards at once (appears only in CardTableSelector). 2011-05-11 17:52:16 +04: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
Loki
28147a31e0 Darksteel Citadel, Darksteel set and mirrodin artifacts lands 2011-05-09 23:07:33 +03:00
BetaSteward
86f708b17a detect client version + client changes for AI skill level 2011-04-28 22:52:52 -04:00
Loki
596adf9b20 fix dependence version 2011-04-10 10:37:07 +03:00
Loki
2f210e6bd4 fix dualmana cost display and generating 2011-04-09 11:18:20 +03:00
Loki
9cbba501f1 fix downloading for guru lands 2011-04-03 18:13:49 +03:00
BetaSteward
84c6ab76e0 update to version 0.7 2011-04-01 21:05:43 -04:00
magenoxx
fb8cd79b59 More efficient use of background image. Now Mage takes much less memory. Also updated plugins in Mage.Tests. 2011-04-01 17:35:38 +04:00
BetaSteward
42509dd4f8 optimizations + leave game fix 2011-03-10 22:05:15 -05:00
Loki
424663112f merge 2011-03-06 11:00:28 +02:00
Loki
47d3da8742 uncommited 2011-03-06 11:00:14 +02:00
magenoxx
93496b38c5 Fixed arrows for multi games. 2011-03-06 02:09:04 +03:00
magenoxx
2a2f3a0ceb Added MBS (sets, Collection Viewer, Downloader). 2011-02-06 11:02:11 +03:00
magenoxx
93f35535af Fixed wrong versions in poms. 2011-01-31 18:37:30 +03:00
magenoxx
a99be05446 Fixed tooltip bug appeared after adding displaying counters. Updated card plugin. Hid New Draft button for release as drafting is not ready yet. 2011-01-30 19:01:26 +03:00
magenoxx
4a38c2748a [card ratings] Another 1000 compares. 2011-01-30 17:41:09 +03:00
magenoxx
06de10ecf9 [card ratings] Added 1000 compares. 2011-01-30 12:18:56 +03:00
magenoxx
f6b812bce1 Updated to version 0.6. Fixed and updated rate plugin. 2011-01-30 10:42:35 +03: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
93878d4868 Displaying player's poison counters. Displaying alls counters info in tooltips. 2011-01-29 10:45:05 +03:00
magenoxx
77e3b6812a fixes 2011-01-25 23:46:49 +03:00
magenoxx
8a21263e16 Fixed rate plugin. 2011-01-25 23:33:32 +03:00
magenoxx
8be91fbeff Fixed card class loading: Issue 32. 2011-01-25 20:40:15 +03:00
magenoxx
4c8122ebbb Another fix for "NoSuchMethodError: mage.components.ImagePanel.<init>(Ljava/awt/image/BufferedImage;I)V" 2011-01-25 20:38:56 +03:00
magenoxx
6e82f194b9 Fixed "java.lang.NoSuchMethodError: mage.components.ImagePanel.<init>(Ljava/awt/image/BufferedImage;I)V" 2011-01-25 12:39:05 +03:00
magenoxx
6e7576abe7 fixed rate plugin. add builded executable jar to mage.client, but can't load card classes - seems because of class loading changed. 2011-01-24 10:22:32 +03:00
magenoxx
e286f6ff72 Reduced jpg image for background (no visible effect but saves 115 Mb of memory used). 2011-01-23 22:15:26 +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
Loki
3710f275db Elspeth vs Tezzeret started, SOM cards, static text support for abilities 2011-01-23 11:07:16 +02:00
magenoxx
66c04db9f4 Displaying set images in tool tips. 2011-01-17 03:05:22 +03:00
Loki
594aca8183 now we downloading all rarities icon's variants for sets 2011-01-14 11:13:13 +02:00
Loki
acfe8d1804 SOM and misc fixes 2011-01-11 00:02:23 +02:00
magenoxx
5252255891 [cl.viewer] Displaying not implemented cards (SOM only). There is issue with bigCard not always updated because constant UUID for not implemented cards ;(. 2011-01-09 22:41:52 +03:00
magenoxx
56eff16857 Collection Viewer. 2011-01-09 03:03:19 +03:00
Loki
fc3d8cb708 sets pictures downloader 2011-01-09 00:38:22 +02: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
5683a8c719 [mage.client] Fixed noise in foil cards effect. 2011-01-05 15:18:46 +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
5bdfd1b467 [mage.card.plugin] enhanced sorting caching (no blinking on every phase) 2010-12-27 00:36:27 +03:00
magenoxx
3123207b0d New tooltips. 2010-12-26 18:40:28 +03:00
magenoxx
e527c954d1 Merge 2010-12-22 09:21:52 +03:00
magenoxx
c15a59b5f8 method name mistype fix (cound -> count) 2010-12-22 09:21:08 +03:00
BetaSteward
66d3ad1b15 updated poms with new version 2010-12-21 23:25:54 -05:00
magenoxx
05db920ec5 [card.plugin] removed debug logging of tooltip content. 2010-12-21 20:35:01 +03:00
magenoxx
c85bd72248 [card.plugin] replaced using double <br> in tooltips by using paragraph with margin - looks much better and fits the text of most cards now 2010-12-21 20:28:50 +03:00
magenoxx
94d883b5ba New tooltips (support delayed displaying, mana and tap symbols, styled text). 2010-12-15 07:14:35 +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
850f931bc7 Fade in\fade out effects for adding and removing permanents. 2010-12-09 22:14:19 +00:00
magenoxx
50702a026d [rate.plugin] take into account that some cards were printed several times and need to be displayed with the same probability. 2010-12-08 18:01:12 +00:00
magenoxx
62294cd0f3 Removed ImagePanel class in Theme plugin. 2010-12-04 09:24:55 +00:00
magenoxx
8193502a6e Moved ImagePanel class to common (as used in three modules). Replaced startup background by the image used in tablespane and deckeditor. Changed table background color from black to white. Reuploaded plugins. 2010-12-04 09:23:19 +00:00
magenoxx
fe3903d825 Replaced mouseClicked by mousePressed everywhere (works betters). Rebuild everything. 2010-12-04 09:02:57 +00:00
magenoxx
9242b72910 Issue 34 fix. But "Conqueror's Pledge" name is wrong (another bug). You may check console log for that card (Added logging to CardsStorage). 2010-12-03 05:24:54 +00:00
magenoxx
c602f63e8c [card.plugin] Now supports downloading and displaying token images. 2010-12-02 21:41:24 +00:00
Loki
bdaf26f1a4 fix mage.counter.plugin version for mage.client 2010-12-02 20:30:37 +00:00
magenoxx
ef1d272bdb fixed mage-counter-plugin version in pom.xml (0.3 -> 0.1) 2010-12-02 20:24:16 +00:00
magenoxx
7022bc20c5 rating cards package 2010-12-02 17:02:41 +00:00
magenoxx
a913be4bc1 [mage.rating.plugin] Bug in Elo rating system (losers gained points instead of loosing them). 2010-12-02 16:37:10 +00:00
Loki
592ba955f0 cleaning pom.xml, version bump to 0.5 2010-12-02 09:14:18 +00:00
magenoxx
4c3035fa06 [mage.rating.plugin] Added executable folder with built jar. Added maven assembly. Added manifest. Added saving option before exiting from app. 2010-12-01 17:01:31 +00:00
magenoxx
6f653d3ce7 [mage.rating.plugin] GUI plugin for rating cards using Elo Rating System. Copy images from client to Mage.Rating.Plugin/plugins/images. Run RateFrame to test. 2010-12-01 16:29:35 +00:00
magenoxx
0721c843d2 added transfer data object to mouseExited. added desktoppane to ui components references. 2010-12-01 06:17:54 +00:00
magenoxx
30b341f7d9 Mana symbols in ColorsChooser for deck generator. 2010-11-30 18:14:15 +00:00
magenoxx
c90193a4eb [card.plugin] Using PermanentView.hasSummoningSickness 2010-11-27 20:19:51 +00:00
magenoxx
e36d4e57e1 [card.plugin] Added sickness image. At the moment there is no way to determine whether permanent has sickness on client - so for a while all creatures will ALWAYS have sickness image displayed. 2010-11-27 16:17:01 +00:00
magenoxx
9fbb6d2738 forgot to commit a class 2010-11-24 08:48:46 +00:00
magenoxx
c650c43f94 [card.plugin] Symbols support: download and display. Please try it, if you don't like it, will remove or make configurable. Thanks to SillyFreak (Laterna Magica) for GathererSymbols downloader code. 2010-11-24 08:20:46 +00:00
magenoxx
c0629c160e [card.plugin] Fixed tooltip *crazy* blinking when card is tapped. 2010-11-23 14:20:27 +00:00
magenoxx
6cfabc7490 [card.plugin] arrows now work either 2010-11-22 14:00:33 +00:00
magenoxx
b501b10f9a [card.plugin] unified mouse adapter. now tooltips should work. 2010-11-22 12:36:37 +00:00
magenoxx
fa99548105 fixed game table bg texture (had dark line on bottom). 2010-11-22 04:08:08 +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
120de78d97 return tables background 2010-11-20 05:49:06 +00:00
magenoxx
8767f65005 [card.plugin] Removed tooltips as it breaks selecting cards. 2010-11-19 17:23:00 +00:00
magenoxx
20df4b0ba7 updated theme plugin: displaying the same image for tables. 2010-11-19 16:57:03 +00:00
magenoxx
1d24e402cf Update background in theme plugin (changed saturation). Looks better. 2010-11-19 16:23:13 +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
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
9c4fb8ed90 Now there plugin updates table dialog. Updated mage-theme-plugin.jar in Mage.Client. 2010-11-16 23:32:51 +00:00
magenoxx
2cb1136a52 Updated Theme plugin interface and implementation (still in progress). 2010-11-16 18:32:49 +00:00
magenoxx
e8c972c27f Card plugin now uses plugin.images folder to store images. 2010-11-14 17:02:01 +00:00
magenoxx
b143a5a44d Done Issue 16: Games played counter plugin. 2010-11-14 17:01:12 +00:00
magenoxx
e4c01b0693 Small fixes: returned text component in card plugin for rules. Removed debug logging. Fixed NullPointerException for attached cards. 2010-11-13 06:47:50 +00:00
magenoxx
beb37db93a should be more smooth now. 2010-11-06 22:42:44 +00:00
magenoxx
c9296c49a5 fixed jar scope. 2010-11-06 22:12:47 +00:00
magenoxx
5771691972 [card.plugin] first version (at the moment replaces only cards on battlefield) (should be installed manually) 2010-11-06 21:23:21 +00:00
magenoxx
ad50277430 ... 2010-11-05 15:53:24 +00:00
magenoxx
c346276b0d now plugins are not shaded with log4j, so take 10 times less place (about 40k each) 2010-11-05 14:20:29 +00:00
magenoxx
d9686a0a9b Fixed interfaces. Some changes to mouse handling (commented out for a while). 2010-11-05 12:47:37 +00:00
magenoxx
48e3a65d3a Card Plugin implementation. Added displaying card and card layout. 2010-11-03 17:33:51 +00:00
Loki
d9e61a1e59 using internal repository for jspf, now works good 2010-11-02 09:19:45 +00:00
magenoxx
a779289ec2 Preparations for new card drawing in Mage.Card.Plugin. 2010-11-02 09:10:39 +00:00
magenoxx
296faad0fa reverted system scope as it causes problems in net beans. 2010-11-02 06:42:25 +00:00
magenoxx
3333edcd37 fixed versions in poms. 2010-11-01 13:58:07 +00:00
magenoxx
1d1ce3b55d No need to install jar to local repository anymore. jar has system scope in dependencies now. 2010-11-01 10:44:47 +00:00
magenoxx
b356d2c7c1 [plugins] Added plugins support to Mage.Client (jspf). Created Mage.Theme.Plugin. Please run Mage.Client/install_3d_party_libs.sh (.bat) once to put library to local maven repository. 2010-10-31 12:44:34 +00:00