1. 15 Mar, 2016 1 commit
    • Fabio Bas's avatar
      Rework "paths" settings loading and card database loading · 1e3fb6c6
      Fabio Bas authored
       * main.cpp: removed path checking and db loading
       * card database: merge card loading methods into a single one
       * settings cache: take care of returning safe paths for decks,
      replays, etc..
       * main window: if db loading fails (eg. first run), propose to run
      oracle
      
      NSIS: propose to run cockatrice instead of oracle
      
      Rework card database loading
      
       * Move carddatabase-related method out of deckeditor tab
       * Load cards in another thread and render them progressively
       * Optimize database reload after enabled sets change
      
      Fix deck editor column width
      
       * removed the noCard hack.
       * getCard() no more creates cards instead of just returning existing
      ones
       * Fix the “edit tokens” dialog.
       * PictureLoader: avoid trying to download twice the same card
       * PictureLoader: correct return of card background
       * AbstractCardItem: avoid recalculating card color at every paint
      
      Use a different file to save custom tokens
      
      Misc required improvements
      
       * Use nullptr;
       * Refactor CardInfoWidget to use CardInfoPicture and CardInfoText
      instead of duplicating code;
       * Added CardInfo::getColorChar()
       * Fixed some potential crashes
       * removed dead code related to CardInfoWidget
       * Don't require a restart after adding a new custom sets file
       * Bump CMake requirements to 3.1
      1e3fb6c6
  2. 29 Dec, 2015 1 commit
  3. 28 Dec, 2015 1 commit
  4. 26 Dec, 2015 2 commits
  5. 23 Sep, 2015 1 commit
  6. 22 Sep, 2015 1 commit
  7. 12 Sep, 2015 1 commit
  8. 06 Sep, 2015 1 commit
  9. 21 Aug, 2015 1 commit
  10. 28 Jul, 2015 1 commit
  11. 26 Jul, 2015 1 commit
  12. 22 Jul, 2015 1 commit
  13. 23 Jun, 2015 1 commit
  14. 15 Jun, 2015 2 commits
    • Fabio Bas's avatar
      Theme manager · 6b8ebe54
      Fabio Bas authored
      This is the first implementation of a theme manager. It’s a rebased and
      revisited version of #792.
      6b8ebe54
    • Zach H's avatar
      Allow Custom HQ URL · 45c2e6f6
      Zach H authored
      45c2e6f6
  15. 13 Jun, 2015 2 commits
  16. 11 Jun, 2015 1 commit
  17. 31 May, 2015 1 commit
  18. 21 May, 2015 1 commit
  19. 20 May, 2015 1 commit
  20. 17 May, 2015 1 commit
    • Fabio Bas's avatar
      Theme manager · bdd55db5
      Fabio Bas authored
      This is the first implementation of a theme manager. It’s a rebased and
      revisited version of #792.
      bdd55db5
  21. 01 May, 2015 1 commit
    • Fabio Bas's avatar
      Improve sets handling · 66adeb6d
      Fabio Bas authored
      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.
      66adeb6d
  22. 18 Apr, 2015 1 commit
  23. 15 Apr, 2015 1 commit
    • Fabio Bas's avatar
      Speed up deck editor filtering · eb6d067a
      Fabio Bas authored
       * card: cache simpleName for each card
       * deck editor: remove double comparation of searched term with card
      name when sorting
      eb6d067a
  24. 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
  25. 30 Mar, 2015 1 commit
  26. 16 Feb, 2015 1 commit
  27. 29 Jan, 2015 2 commits
  28. 30 Dec, 2014 1 commit
  29. 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
  30. 22 Nov, 2014 1 commit
  31. 19 Nov, 2014 1 commit
  32. 10 Nov, 2014 1 commit
  33. 09 Nov, 2014 1 commit
  34. 08 Nov, 2014 2 commits
  35. 14 Oct, 2014 1 commit