diff --git a/Base/res/graphics/chess/sets/stelar7/black-bishop.png b/Base/res/graphics/chess/sets/Classic/black-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-bishop.png rename to Base/res/graphics/chess/sets/Classic/black-bishop.png diff --git a/Base/res/graphics/chess/sets/stelar7/black-king.png b/Base/res/graphics/chess/sets/Classic/black-king.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-king.png rename to Base/res/graphics/chess/sets/Classic/black-king.png diff --git a/Base/res/graphics/chess/sets/stelar7/black-knight.png b/Base/res/graphics/chess/sets/Classic/black-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-knight.png rename to Base/res/graphics/chess/sets/Classic/black-knight.png diff --git a/Base/res/graphics/chess/sets/stelar7/black-pawn.png b/Base/res/graphics/chess/sets/Classic/black-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-pawn.png rename to Base/res/graphics/chess/sets/Classic/black-pawn.png diff --git a/Base/res/graphics/chess/sets/stelar7/black-queen.png b/Base/res/graphics/chess/sets/Classic/black-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-queen.png rename to Base/res/graphics/chess/sets/Classic/black-queen.png diff --git a/Base/res/graphics/chess/sets/stelar7/black-rook.png b/Base/res/graphics/chess/sets/Classic/black-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/black-rook.png rename to Base/res/graphics/chess/sets/Classic/black-rook.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-bishop.png b/Base/res/graphics/chess/sets/Classic/white-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-bishop.png rename to Base/res/graphics/chess/sets/Classic/white-bishop.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-king.png b/Base/res/graphics/chess/sets/Classic/white-king.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-king.png rename to Base/res/graphics/chess/sets/Classic/white-king.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-knight.png b/Base/res/graphics/chess/sets/Classic/white-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-knight.png rename to Base/res/graphics/chess/sets/Classic/white-knight.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-pawn.png b/Base/res/graphics/chess/sets/Classic/white-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-pawn.png rename to Base/res/graphics/chess/sets/Classic/white-pawn.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-queen.png b/Base/res/graphics/chess/sets/Classic/white-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-queen.png rename to Base/res/graphics/chess/sets/Classic/white-queen.png diff --git a/Base/res/graphics/chess/sets/stelar7/white-rook.png b/Base/res/graphics/chess/sets/Classic/white-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/stelar7/white-rook.png rename to Base/res/graphics/chess/sets/Classic/white-rook.png diff --git a/Base/res/graphics/chess/sets/moderna/black-bishop.png b/Base/res/graphics/chess/sets/Moderna/black-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-bishop.png rename to Base/res/graphics/chess/sets/Moderna/black-bishop.png diff --git a/Base/res/graphics/chess/sets/moderna/black-king.png b/Base/res/graphics/chess/sets/Moderna/black-king.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-king.png rename to Base/res/graphics/chess/sets/Moderna/black-king.png diff --git a/Base/res/graphics/chess/sets/moderna/black-knight.png b/Base/res/graphics/chess/sets/Moderna/black-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-knight.png rename to Base/res/graphics/chess/sets/Moderna/black-knight.png diff --git a/Base/res/graphics/chess/sets/moderna/black-pawn.png b/Base/res/graphics/chess/sets/Moderna/black-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-pawn.png rename to Base/res/graphics/chess/sets/Moderna/black-pawn.png diff --git a/Base/res/graphics/chess/sets/moderna/black-queen.png b/Base/res/graphics/chess/sets/Moderna/black-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-queen.png rename to Base/res/graphics/chess/sets/Moderna/black-queen.png diff --git a/Base/res/graphics/chess/sets/moderna/black-rook.png b/Base/res/graphics/chess/sets/Moderna/black-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/black-rook.png rename to Base/res/graphics/chess/sets/Moderna/black-rook.png diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_bishop.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_bishop.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_bishop.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_bishop.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_king.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_king.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_king.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_king.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_knight.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_knight.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_knight.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_knight.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_pawn.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_pawn.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_pawn.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_pawn.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_queen.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_queen.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_queen.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_queen.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_black_rook.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_black_rook.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_black_rook.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_black_rook.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_bishop.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_bishop.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_bishop.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_bishop.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_king.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_king.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_king.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_king.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_knight.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_knight.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_knight.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_knight.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_pawn.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_pawn.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_pawn.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_pawn.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_queen.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_queen.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_queen.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_queen.svg diff --git a/Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_rook.svg b/Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_rook.svg similarity index 100% rename from Base/res/graphics/chess/sets/moderna/moderna_final_white_outline_rook.svg rename to Base/res/graphics/chess/sets/Moderna/moderna_final_white_outline_rook.svg diff --git a/Base/res/graphics/chess/sets/moderna/white-bishop.png b/Base/res/graphics/chess/sets/Moderna/white-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-bishop.png rename to Base/res/graphics/chess/sets/Moderna/white-bishop.png diff --git a/Base/res/graphics/chess/sets/moderna/white-king.png b/Base/res/graphics/chess/sets/Moderna/white-king.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-king.png rename to Base/res/graphics/chess/sets/Moderna/white-king.png diff --git a/Base/res/graphics/chess/sets/moderna/white-knight.png b/Base/res/graphics/chess/sets/Moderna/white-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-knight.png rename to Base/res/graphics/chess/sets/Moderna/white-knight.png diff --git a/Base/res/graphics/chess/sets/moderna/white-pawn.png b/Base/res/graphics/chess/sets/Moderna/white-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-pawn.png rename to Base/res/graphics/chess/sets/Moderna/white-pawn.png diff --git a/Base/res/graphics/chess/sets/moderna/white-queen.png b/Base/res/graphics/chess/sets/Moderna/white-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-queen.png rename to Base/res/graphics/chess/sets/Moderna/white-queen.png diff --git a/Base/res/graphics/chess/sets/moderna/white-rook.png b/Base/res/graphics/chess/sets/Moderna/white-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/moderna/white-rook.png rename to Base/res/graphics/chess/sets/Moderna/white-rook.png diff --git a/Base/res/graphics/chess/sets/retro/black-bishop.png b/Base/res/graphics/chess/sets/Retro/black-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-bishop.png rename to Base/res/graphics/chess/sets/Retro/black-bishop.png diff --git a/Base/res/graphics/chess/sets/retro/black-king.png b/Base/res/graphics/chess/sets/Retro/black-king.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-king.png rename to Base/res/graphics/chess/sets/Retro/black-king.png diff --git a/Base/res/graphics/chess/sets/retro/black-knight.png b/Base/res/graphics/chess/sets/Retro/black-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-knight.png rename to Base/res/graphics/chess/sets/Retro/black-knight.png diff --git a/Base/res/graphics/chess/sets/retro/black-pawn.png b/Base/res/graphics/chess/sets/Retro/black-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-pawn.png rename to Base/res/graphics/chess/sets/Retro/black-pawn.png diff --git a/Base/res/graphics/chess/sets/retro/black-queen.png b/Base/res/graphics/chess/sets/Retro/black-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-queen.png rename to Base/res/graphics/chess/sets/Retro/black-queen.png diff --git a/Base/res/graphics/chess/sets/retro/black-rook.png b/Base/res/graphics/chess/sets/Retro/black-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/black-rook.png rename to Base/res/graphics/chess/sets/Retro/black-rook.png diff --git a/Base/res/graphics/chess/sets/retro/white-bishop.png b/Base/res/graphics/chess/sets/Retro/white-bishop.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-bishop.png rename to Base/res/graphics/chess/sets/Retro/white-bishop.png diff --git a/Base/res/graphics/chess/sets/retro/white-king.png b/Base/res/graphics/chess/sets/Retro/white-king.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-king.png rename to Base/res/graphics/chess/sets/Retro/white-king.png diff --git a/Base/res/graphics/chess/sets/retro/white-knight.png b/Base/res/graphics/chess/sets/Retro/white-knight.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-knight.png rename to Base/res/graphics/chess/sets/Retro/white-knight.png diff --git a/Base/res/graphics/chess/sets/retro/white-pawn.png b/Base/res/graphics/chess/sets/Retro/white-pawn.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-pawn.png rename to Base/res/graphics/chess/sets/Retro/white-pawn.png diff --git a/Base/res/graphics/chess/sets/retro/white-queen.png b/Base/res/graphics/chess/sets/Retro/white-queen.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-queen.png rename to Base/res/graphics/chess/sets/Retro/white-queen.png diff --git a/Base/res/graphics/chess/sets/retro/white-rook.png b/Base/res/graphics/chess/sets/Retro/white-rook.png similarity index 100% rename from Base/res/graphics/chess/sets/retro/white-rook.png rename to Base/res/graphics/chess/sets/Retro/white-rook.png diff --git a/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp b/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp index fc84d714809..07d54eab386 100644 --- a/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp +++ b/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp @@ -239,7 +239,7 @@ ErrorOr ChessSettingsWidget::initialize() { TRY(load_from_gml(chess_settings_widget_gml)); - auto piece_set_name = Config::read_string("Games"sv, "Chess"sv, "PieceSet"sv, "stelar7"sv); + auto piece_set_name = Config::read_string("Games"sv, "Chess"sv, "PieceSet"sv, "Classic"sv); auto board_theme = get_board_theme(Config::read_string("Games"sv, "Chess"sv, "BoardTheme"sv, "Beige"sv)); auto show_coordinates = Config::read_bool("Games"sv, "Chess"sv, "ShowCoordinates"sv, true); @@ -302,8 +302,8 @@ void ChessSettingsWidget::reset_default_values() { // FIXME: `set_text()` on a combobox doesn't trigger the `on_change` callback, but it probably should! // Until then, we have to manually tell the preview to update. - m_piece_set_combobox->set_text("stelar7"); - (void)m_preview->set_piece_set_name("stelar7"); + m_piece_set_combobox->set_text("Classic"); + (void)m_preview->set_piece_set_name("Classic"); auto& board_theme = get_board_theme("Beige"sv); m_board_theme_combobox->set_text(board_theme.name); m_preview->set_dark_square_color(board_theme.dark_square_color); diff --git a/Userland/Games/Chess/ChessWidget.cpp b/Userland/Games/Chess/ChessWidget.cpp index e704a48471e..4e712c236af 100644 --- a/Userland/Games/Chess/ChessWidget.cpp +++ b/Userland/Games/Chess/ChessWidget.cpp @@ -23,7 +23,7 @@ ErrorOr> ChessWidget::try_create() { auto widget = TRY(AK::adopt_nonnull_ref_or_enomem(new (nothrow) ChessWidget)); - widget->set_piece_set("stelar7"sv); + widget->set_piece_set("Classic"sv); return widget; } diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index 537819fe268..29c9b665e85 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -83,7 +83,7 @@ ErrorOr serenity_main(Main::Arguments arguments) window->set_icon(app_icon.bitmap_for_size(16)); - widget->set_piece_set(Config::read_string("Games"sv, "Chess"sv, "PieceSet"sv, "stelar7"sv)); + widget->set_piece_set(Config::read_string("Games"sv, "Chess"sv, "PieceSet"sv, "Classic"sv)); widget->set_board_theme(Config::read_string("Games"sv, "Chess"sv, "BoardTheme"sv, "Beige"sv)); widget->set_coordinates(Config::read_bool("Games"sv, "Chess"sv, "ShowCoordinates"sv, true)); widget->set_show_available_moves(Config::read_bool("Games"sv, "Chess"sv, "ShowAvailableMoves"sv, true));