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. 26 Dec, 2015 1 commit
  3. 23 Sep, 2015 1 commit
  4. 22 Sep, 2015 1 commit
  5. 07 Aug, 2015 1 commit
  6. 18 Jun, 2015 1 commit
  7. 13 Jun, 2015 1 commit
  8. 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
  9. 25 Mar, 2014 1 commit
  10. 29 Jan, 2014 1 commit
    • sylvanbasilisk's avatar
      refactor cardframe as a parent of a text card frame and a picture card frame · f77054f2
      sylvanbasilisk authored
      cardframe is now a stacked widget that prefers to show the card picture
      only so that the screen can be more space efficient and the card pixel
      map can be displayed as a larger size. however if the card pixel map
      can not be loaded for some reason, the cardframe class will automatically
      switch to the text version of the card.
      
      a menu item was added under the database menu to allow for users to
      prefer card text only.
      f77054f2