mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
* [CardDB] Drop rebalanced-card filtering from the v4 parser Rebalanced cards no longer exist, so the includeRebalancedCards preference has no data to filter. Always keep printings marked isRebalanced and remove the now-unused ICardPreferenceProvider plumbing from CockatriceXml4Parser and CardDatabaseLoader. The setting itself (CardsDisplaySettings, Manage Sets checkbox, Oracle attribute mapping) is removed in a follow-up. * [CardDB] Drop the rebalanced-cards setting entirely Rebalanced Alchemy cards no longer exist, so remove the includeRebalancedCards preference surface: the CardsDisplaySettings getter/setter/signal, the ICardPreferenceProvider and ICardsDisplaySettingsProvider methods, the Manage Sets checkbox, the legacy settings migration mapping, the isRebalanced attribute mapping in the Oracle importer, and the isRebalanced attribute in the v4 schema. Builds on #7448, which already stopped the v4 parser from filtering on the preference. * [CardDB] Drop the unused isOnlineOnly printing property The Arena-card detection switched from isOnlineOnly to isRebalanced in #5778, so nothing has read this printing property since; it only round-trips from the Oracle importer into cards.xml. Remove the importer mapping, the benchmark fixture field and the v4 schema attribute so regenerated databases stop carrying it. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
35 lines
1.8 KiB
C++
35 lines
1.8 KiB
C++
#ifndef COCKATRICE_INTERFACE_CARDS_DISPLAY_SETTINGS_PROVIDER_H
|
|
#define COCKATRICE_INTERFACE_CARDS_DISPLAY_SETTINGS_PROVIDER_H
|
|
|
|
#include <QString>
|
|
|
|
class ICardsDisplaySettingsProvider
|
|
{
|
|
public:
|
|
virtual ~ICardsDisplaySettingsProvider() = default;
|
|
|
|
[[nodiscard]] virtual bool getDisplayCardNames() const = 0;
|
|
[[nodiscard]] virtual bool getRoundCardCorners() const = 0;
|
|
[[nodiscard]] virtual bool getOverrideAllCardArtWithPersonalPreference() const = 0;
|
|
[[nodiscard]] virtual bool getBumpSetsWithCardsInDeckToTop() const = 0;
|
|
[[nodiscard]] virtual int getPrintingSelectorSortOrder() const = 0;
|
|
[[nodiscard]] virtual int getPrintingSelectorCardSize() const = 0;
|
|
[[nodiscard]] virtual bool getPrintingSelectorNavigationButtonsVisible() const = 0;
|
|
[[nodiscard]] virtual bool getTapAnimation() const = 0;
|
|
[[nodiscard]] virtual bool getArrowDrawAnimation() const = 0;
|
|
[[nodiscard]] virtual bool getAutoRotateSidewaysLayoutCards() const = 0;
|
|
[[nodiscard]] virtual bool getScaleCards() const = 0;
|
|
[[nodiscard]] virtual int getStackCardOverlapPercent() const = 0;
|
|
[[nodiscard]] virtual int getCardInfoViewMode() const = 0;
|
|
[[nodiscard]] virtual int getVisualDeckStorageCardSize() const = 0;
|
|
[[nodiscard]] virtual int getVisualDatabaseDisplayCardSize() const = 0;
|
|
[[nodiscard]] virtual int getVisualDeckEditorCardSize() const = 0;
|
|
[[nodiscard]] virtual bool getVisualDeckEditorShowCardCounts() const = 0;
|
|
[[nodiscard]] virtual int getEDHRecCardSize() const = 0;
|
|
[[nodiscard]] virtual int getArchidektPreviewSize() const = 0;
|
|
[[nodiscard]] virtual int getSampleHandSize() const = 0;
|
|
[[nodiscard]] virtual QString getCardLang() const = 0;
|
|
[[nodiscard]] virtual int getCardSearchLanguage() const = 0;
|
|
};
|
|
|
|
#endif // COCKATRICE_INTERFACE_CARDS_DISPLAY_SETTINGS_PROVIDER_H
|