GamesSettings+LibCards: Make 'Red' the default card back

The red back is a more suitable default as it's a traditional vanilla
design and red is one of Serenity's brand colors.
This commit is contained in:
Cubic Love 2023-10-11 13:07:29 +01:00 committed by Andreas Kling
parent bd5296d6bb
commit f2b7224d93
Notes: sideshowbarker 2024-07-16 19:17:47 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
namespace GamesSettings {
static constexpr StringView default_card_back_image_path = "/res/graphics/cards/backs/buggie-deck.png"sv;
static constexpr StringView default_card_back_image_path = "/res/graphics/cards/backs/Red.png"sv;
static constexpr StringView default_card_front_image_set = "Classic"sv;
class CardGamePreview final : public Cards::CardGame {

View file

@ -23,7 +23,7 @@ CardPainter& CardPainter::the()
CardPainter::CardPainter()
{
m_back_image_path = MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardBackImage"sv, "/res/graphics/cards/backs/buggie-deck.png"sv)));
m_back_image_path = MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardBackImage"sv, "/res/graphics/cards/backs/Red.png"sv)));
set_front_images_set_name(MUST(String::from_deprecated_string(Config::read_string("Games"sv, "Cards"sv, "CardFrontImages"sv, "Classic"sv))));
}