Fabio Bas
90655ff631
Prefer enabled sets when loading images; fix #1235
2015-07-22 17:35:44 +02:00
Fabio Bas
872177a5ed
Card images blacklist; changed fallback urls
2015-06-23 15:44:43 +02:00
Fabio Bas
518bda8c09
Rotate 180 degrees the art of flipped cards
2015-06-13 16:10:06 +02:00
Fabio Bas
9ca1329cac
Fix for gcc compilation (-Werror=reorder)
2015-06-11 13:01:05 +02:00
Fabio Bas
da84bb33e1
Import related cards in the card database
2015-06-11 10:48:50 +02:00
Fabio Bas
b566bf4a19
Load additional xml sets from $userprofile/customsets/
2015-05-20 18:27:50 +02:00
Fabio Bas
66adeb6d75
Improve sets handling
...
Move the “check unknown sets” method inside the cards database, so that
it can be executed when the card database gets reloaded after a card
database update.
Additionally, show the user a welcome message the first time they run a
new cockatrice version, so that they know why they get shown the “edit
sets” window and how to hide/disable sets.
2015-05-01 18:55:14 +02:00
Fabio Bas
881cea27f4
Rework the way sets selection/importing works; fix #539 (rebased)
2015-04-18 18:47:09 +02:00
Fabio Bas
eb6d067a21
Speed up deck editor filtering
...
* card: cache simpleName for each card
* deck editor: remove double comparation of searched term with card
name when sorting
2015-04-15 23:21:44 +02:00
Fabio Bas
70b047adcb
Fix #745
2015-02-16 21:25:56 +01:00
Gavin Bises
e2fe25735b
Parse cmc from json and store in cards.xml
2015-01-28 20:28:38 -05:00
Fabio Bas
f88621fd97
Use QPixmapCache for card images
...
Drop CardInfo’s own pixmap caches; use QPixmapCache instead.
Use QPixmap references instead of pointers.
Being stored in QPixmapCache, all card images are now subjected to
QPixmapCache’s size limit
2014-12-24 16:18:55 +01:00
Fabio Bas
ac43fa23b9
Better handle the TK set used for tokens
...
Let oracle add a basic TK set in cards.xml
Unify all the code previously using the string literal “TK”
2014-11-19 19:44:54 +01:00
Fabio Bas
cb37073828
Oracle: fetch release date and set type
...
and save them in cards.xml
2014-11-10 16:22:46 +01:00
Fabio Bas
8ca0b96d10
Rework the picture download behavior
...
Should fix #412
2014-11-08 15:08:49 +01:00
Gavin Bisesi
a26d4078cc
Revert "Find cards by prefix"
2014-10-14 11:28:30 -04:00
Gavin Bisesi
6810ae46d6
Merge pull request #260 from Mawu3n4/master
...
Find cards by prefix
2014-10-09 11:29:02 -04:00
Gavin Bisesi
006451f402
Merge pull request #238 from arxanas/no-overwrite-tokens-xml
...
Fix #231 : tokens.xml no longer overwritten by cards.xml.
2014-10-06 11:34:58 -04:00
Peng Liu
a83e6cdf48
Removed unused variable, bool stripped, from classes and functions.
2014-08-11 13:47:47 -04:00
Fabio Bas
3bce98e3a9
Fix crashes trying to load the picture of a card with no <set>
2014-08-07 23:14:41 +02:00
Waleed Khan
c0d4669088
Merge remote-tracking branch 'upstream/master' into no-overwrite-tokens-xml
...
Conflicts:
cockatrice/src/carddatabase.cpp
2014-08-07 11:06:41 -04:00
Mawu3n4
621a47de9c
add: find token cards by prefix
2014-08-06 17:54:47 +02:00
Waleed Khan
9ba5d7968e
Stop clobbering tokens.xml tokens; don't let Oracle read tokens into cards.xml.
2014-07-29 23:46:04 -04:00
Fabio Bas
aa225f8df7
Add back support for custom picture urls in cards.xml
2014-07-26 23:36:51 +02:00
Waleed Khan
40e97140d6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
cockatrice/src/carddatabase.cpp
2014-07-23 00:49:13 -04:00
arxanas
810029ce15
Fix #117 : Card tags now match disregarding case and punctuation.
2014-07-06 20:04:09 -04:00
arxanas
7cbe410172
Fix #45 : don't send tokens to deckstats.
2014-06-30 03:08:55 -04:00
Daenyth
1d02e0d5ec
Clarify comment about typedef for OSX compiling
2014-06-27 20:00:29 -04:00
arxanas
080fd326ed
Fixed #131 : Compiles on OS X now.
2014-06-26 16:57:47 -04:00
Daenyth
df659e58fe
Mask set shortcodes for windows illegal filenames
...
Ref #122
2014-06-24 20:49:03 -04:00
Daenyth
0420f4f7af
Log download failures
2014-06-23 23:44:13 -04:00
Daenyth
27847e1551
Don't be a jerk when card database isn't usable.
...
Better error message and allow the user to still connect
Ref: #102
2014-06-21 15:53:13 -04:00
Daenyth
53d2b82e61
Use picUrl templates to download cards.
...
Add HQ card option
2014-06-21 01:12:47 -04:00
Fabio Bas
f3a57d5506
Import data from mtgjson's allsets.xml
...
* add multiverse id to cards.xml
* remove pictures urls from cards.xml
TBD:
* fix/clean oracle’s gui
* add support in cockatrice
2014-06-16 00:27:33 +02:00
Matt Kelly
1bc48a7849
Convert rest of source to 4-space indent
2014-02-11 11:14:19 -05:00
Max-Wilhelm Bruker
3ba3952604
fixed issue #37 : add option to manually add token cards to the database
2012-05-17 18:29:35 +02:00
Max-Wilhelm Bruker
f553fd7456
some token code
2012-04-05 11:48:13 +02:00
Max-Wilhelm Bruker
10d958c4ce
Merge branch 'master' into devel
2012-03-23 12:18:16 +01:00
Max-Wilhelm Bruker
c92f3e4239
fix for issue #17 : oracle: convert smart quotes to normal quotes in card names
2012-03-23 12:17:59 +01:00
Max-Wilhelm Bruker
2259204890
cleaned up PictureLoader thread
2012-03-17 17:07:48 +01:00
Max-Wilhelm Bruker
6344b987de
fixed pw loyalty in oracle, PB code working
2012-01-01 18:15:32 +01:00
Daenyth
a7f3ce4050
Add code support for planeswalker loyalty.
...
Added to CardInfo object and to the oracle importer. Next step is the
card info widget.
2011-12-03 17:15:33 -05:00
Max-Wilhelm Bruker
7a7b686e67
fixed crash that occurs when reloading the card database while deck editor or game is running
2011-02-28 18:20:27 +01:00
Max-Wilhelm Bruker
06fe9eec26
gcc < 4.4 compile fix by Trilkk
2011-02-21 22:25:22 +01:00
Max-Wilhelm Bruker
1151077c1e
carddb thread fix; added VG, AE, PCH to sets
2011-02-21 18:18:08 +01:00
Max-Wilhelm Bruker
8ccde61492
new picture downloader finished
2011-02-11 18:20:17 +01:00
Max-Wilhelm Bruker
3a5fce9613
new autodownloader partially done
2011-02-11 16:05:43 +01:00
Max-Wilhelm Bruker
b3f96f9490
changed picture download to multiverse id
2011-01-28 03:29:21 +01:00
brukie
dc0f21cce4
Threaded picture caching
2011-01-19 00:16:41 +01:00
Max-Wilhelm Bruker
11e1202dcc
Added option to customize the card back picture
2010-09-10 19:30:14 +02:00