1. 04 Apr, 2015 1 commit
    • Fabio Bas's avatar
      Fix #67 · 0a366d75
      Fabio Bas authored
      Workaround the two remaining issues, mostly fixing the “load deck”
      screen in tab_game:
       * Only preload up to the first 300 cards of a deck;
       * don’t even bother trying to load card images if they’ll be shown
      with width <= 10
      
      Trying a 17k cards deck like the one proposed in #67 is still a no go,
      mostly due to the cpu time used to create all the objects. Anyway, i
      tested decks up to 8k cards and they works fine now (if you like to
      wait while trice is loading them)..
      0a366d75
  2. 30 Mar, 2015 1 commit
  3. 16 Feb, 2015 1 commit
  4. 29 Jan, 2015 2 commits
  5. 30 Dec, 2014 1 commit
  6. 24 Dec, 2014 1 commit
    • Fabio Bas's avatar
      Use QPixmapCache for card images · f88621fd
      Fabio Bas authored
      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
      f88621fd
  7. 22 Nov, 2014 1 commit
  8. 19 Nov, 2014 1 commit
  9. 10 Nov, 2014 1 commit
  10. 09 Nov, 2014 1 commit
  11. 08 Nov, 2014 2 commits
  12. 14 Oct, 2014 1 commit
  13. 11 Aug, 2014 2 commits
  14. 08 Aug, 2014 3 commits
  15. 07 Aug, 2014 5 commits
  16. 06 Aug, 2014 5 commits
  17. 05 Aug, 2014 2 commits
    • Peng Liu's avatar
      Removed the QLists for determining image format. Instead, using QImageReader,... · 4bb1d28a
      Peng Liu authored
      Removed the QLists for determining image format. Instead, using QImageReader, both when downloading/saving and when loading, to determine the correct format (Cockatrice now supports all QImageReader-supported formats).
      Image loading still uses one for loop to iterate through the QList of paths to folders in which to search for images.
      4bb1d28a
    • Peng Liu's avatar
      Refactored the magic bytes into two QLists: one containing a list of QStrings... · 8587b8c3
      Peng Liu authored
      Refactored the magic bytes into two QLists: one containing a list of QStrings representing the supported extensions, the other containing a list of QByteArrays representing the magic bytes in hex.
      Refactored the image loading loop to be two nested for loops: the outer loop iterating through the QList of paths to folders in which to search for images and the inner loop iterating through the QList of supported extensions.
      8587b8c3
  18. 04 Aug, 2014 2 commits
  19. 30 Jul, 2014 1 commit
  20. 28 Jul, 2014 1 commit
  21. 27 Jul, 2014 2 commits
  22. 26 Jul, 2014 1 commit
  23. 23 Jul, 2014 1 commit
  24. 21 Jul, 2014 1 commit
    • Waleed Khan's avatar
      Ignore diacritics as well. · aff32e0f
      Waleed Khan authored
      So [card]jotun grunt[/card] works as well as [card]Jötun Grunt[/card].
      Also I removed some debugging information I accidentally left in.
      aff32e0f