Commit graph

5220 commits

Author SHA1 Message Date
Lukas Brübach
66065045f0 Change deck analytics bars to be more meaningful by using the highest value instead of the total sum as the ceiling. 2025-03-16 13:11:36 +01:00
Lukas Brübach
96738c3354 Change some overlap logic (It's still stupid) 2025-03-16 13:11:36 +01:00
Lukas Brübach
c34844c9eb Lint. 2025-03-16 13:11:36 +01:00
Lukas Brübach
469eccb48b Implement separate comboBoxes for sorting and grouping. 2025-03-16 13:11:36 +01:00
Lukas Brübach
4319211b29 Hide groups which have no cards in them. 2025-03-16 13:11:36 +01:00
Lukas Brübach
b51d5a6fd6 Set banner buddies correctly. 2025-03-16 13:11:36 +01:00
Lukas Brübach
063072270d More performant display updating. 2025-03-16 13:11:36 +01:00
Lukas Brübach
12f8f1a533 Move new method to DeckListModel so we don't have to include CardDatabaseManager in common. 2025-03-16 13:11:36 +01:00
Lukas Brübach
a282fe2042 Parameter names. 2025-03-16 13:11:36 +01:00
Lukas Brübach
28519fd754 New DeckList method to return cards as CardInfoPtrs
Saner update to prevent crashes.
2025-03-16 13:11:33 +01:00
Lukas Brübach
5d442df58b Fix some weak warnings. 2025-03-16 13:11:19 +01:00
Lukas Brübach
373786709b Use some of the new generic conveniences in the visual deck editor 2025-03-16 13:11:19 +01:00
Lukas Brübach
1b7564d93b Remove some overriden methods that are now generic enough to not necessitate being overriden anymore. 2025-03-16 13:11:19 +01:00
Lukas Brübach
35f201e2db Qt > std 2025-03-16 13:11:19 +01:00
Lukas Brübach
ce40312473 Lint. 2025-03-16 13:11:19 +01:00
Lukas Brübach
7b014726f9 Address some comments. 2025-03-16 13:11:19 +01:00
Lukas Brübach
7c46f3b4a3 Slightly more sensible layout handling. 2025-03-16 13:11:19 +01:00
Lukas Brübach
9d3f98783f Sensible deckListModel handling. 2025-03-16 13:11:19 +01:00
Lukas Brübach
3bfc571a32 Fixup to support new generic format. 2025-03-16 13:11:18 +01:00
Lukas Brübach
1dbecac6ce Open in VDE from VDS by default, refresh on setDeck. 2025-03-16 13:11:18 +01:00
Lukas Brübach
ddd551f33f Allow filters to be saved and restored. 2025-03-16 13:11:16 +01:00
Lukas Brübach
b8310804bb Add a name filter. 2025-03-16 13:11:12 +01:00
Lukas Brübach
4a43f1941a Add a sub type filter. 2025-03-16 13:11:07 +01:00
Lukas Brübach
90fdcb9c52 Add a sample hand widget. 2025-03-16 13:11:03 +01:00
Lukas Brübach
cf624a3dd7 Better filtering and analytics. 2025-03-16 13:10:58 +01:00
Lukas Brübach
94e8b441d4 Generify visual deck editor so it can have a printing selector. 2025-03-16 13:10:51 +01:00
Lukas Brübach
ce682a8a87 Make VisualDeckEditor Tab play nicely with TabSupervisor, open in VDE by default from VDS. 2025-03-16 13:10:51 +01:00
Lukas Brübach
8a5fbb25c0 Finally fix the freaking OverlapLayout. 2025-03-16 13:10:51 +01:00
Lukas Brübach
6ee6d1b470 Page loading for visual database display. 2025-03-16 13:10:51 +01:00
Lukas Brübach
4e697f1ed1 Rebase changes. 2025-03-16 13:10:51 +01:00
Lukas Brübach
d211712189 Infinite scrolling. 2025-03-16 13:10:51 +01:00
Lukas Brübach
94d4e6581a Visual Deck Editor. 2025-03-16 13:10:49 +01:00
RickyRister
c99afe7956
Optimize cipt parsing by early returning (#5727) 2025-03-15 21:23:41 +00:00
RickyRister
b58b85dc0f
Re-add old names for mana value property to oracle (#5711) 2025-03-15 19:13:13 +00:00
BruebachL
a407c8b956
Reintroduce ability to display unused mana symbol widgets. (#5726)
Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2025-03-15 19:11:46 +00:00
Basile Clement
1851f71850
Remove revealedCard flag from CardItem (#5723)
It is no longer used since #5254.
2025-03-15 19:09:14 +00:00
Basile Clement
e4f40a82a2
Use native hover events (#5722)
* Use native hover events

* Update cockatrice/src/game/cards/abstract_card_item.cpp

* Reorder

---------

Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-03-15 19:07:51 +00:00
Basile Clement
b9900e67a6
nix: Add development utilities to shell.nix (#5725)
- Remove hardening flags to allow debug builds (otherwise GCC complains
   because nix adds the FORTIFY_SOURCE flag, which is not compatible
   with -O0)

 - Allow ninja as build system

 - Add clang-tools dependency for LSP support
2025-03-15 19:03:26 +00:00
RickyRister
7d558edb3e
Fix banner and tags not resetting on blank new deck (#5721)
* Fix bannerWidget not resetting when opening new blank deck

* also reset tags
2025-03-15 18:44:51 +00:00
RickyRister
eb4b1c2a07
Fix extra .cod in "save deck as" default name (#5720) 2025-03-15 18:44:03 +00:00
RickyRister
087f88146d
Make internal updater failure message more user-friendly (#5718) 2025-03-15 05:19:07 +00:00
RickyRister
3a11ccb854
Update cipt parsing (#5712)
* refactor

* move thing out

* write unit tests

* get thing to work

* optimization?

* fix build failure
2025-03-14 21:44:13 -04:00
tooomm
068465143b
Update CONTRIBUTING file (#5701)
* Update CONTRIBUTING.md

* cleanup

* Update CONTRIBUTING.md
2025-03-14 21:43:43 -04:00
tooomm
1f0846297f
websocket is our default port/connection (#5679) 2025-03-14 21:43:11 -04:00
RickyRister
4a0e0ed954
Automatically find all files for cockatrice_SOURCES (#5716)
* Use GLOB_RECURSIVE to find all source files

* fix code style

---------

Co-authored-by: Zach H <zahalpern+github@gmail.com>
2025-03-14 21:42:56 -04:00
RickyRister
4b7d1ebb59
Refactor: split card_database into two files (#5715)
* make the duplicate

* restore original

* Refactor: split card_database into two files
2025-03-14 00:02:10 +00:00
RickyRister
ec536126b9
Compute deck hashes lazily (#5707)
* Calculate deck hashes lazily

* rename
2025-03-11 21:43:21 -04:00
Zach H
9b00bdcaea
Merge pull request #5710 from lilyhuang-github/i18n
Change prebuild.js to allow i18n-default.json indentation to exist
2025-03-11 21:00:53 -04:00
Lily
da17c68830
Change prebuild.js to allow i18n-default.json indentation to exist 2025-03-11 19:59:20 -04:00
Zach H
badfb483b2
Merge pull request #5703 from RickyRister/5699-fix-printing
Show correct printing for top card of library
2025-03-10 20:45:05 -04:00