From 911faf3d411e9e454c7edc449fad309f2efe2b5a Mon Sep 17 00:00:00 2001 From: Sebanisu Date: Wed, 17 Dec 2025 21:44:18 -0500 Subject: [PATCH 1/3] add log for batch op start stop completed. --- src/opengl/main/gui/batch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/opengl/main/gui/batch.cpp b/src/opengl/main/gui/batch.cpp index e0cce388..e32cafcb 100644 --- a/src/opengl/main/gui/batch.cpp +++ b/src/opengl/main/gui/batch.cpp @@ -103,6 +103,7 @@ void fme::batch::draw_window() auto config = Configuration(config_path); config.save(); } + spdlog::info("Batch operation completed."); } prev_disabled = disabled; @@ -1425,6 +1426,7 @@ void fme::batch::button_start() { return; } + spdlog::info("Starting batch operation."); if ( selections->get() == output_types::deswizzle_generate_toml) @@ -2431,6 +2433,7 @@ void fme::batch::stop() m_field.reset(); m_coo.reset(); m_status.clear(); + spdlog::info("Stopping batch operation."); } fme::batch::batch( From 942c39c1d7b6dd80cf7e7f798034257e7181bcec Mon Sep 17 00:00:00 2001 From: Sebanisu Date: Wed, 17 Dec 2025 22:05:49 -0500 Subject: [PATCH 2/3] bgbtl_1 only has one bpp and one palette. --- src/opengl/main/map_sprite.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/opengl/main/map_sprite.cpp b/src/opengl/main/map_sprite.cpp index 0a023646..5e8bcf1a 100644 --- a/src/opengl/main/map_sprite.cpp +++ b/src/opengl/main/map_sprite.cpp @@ -2437,15 +2437,6 @@ const ff_8::MapHistory::nsat_map &map_sprite::working_animation_counts() const // Adjust scale based on texture height or deswizzle state. std::int32_t height = static_cast(get_max_texture_height()); - // If there’s only one bpp and at most one palette, nothing needs - // saving. - if ( - unique_bpp.size() == 1U - && unique_values.palette().at(unique_bpp.front()).values().size() <= 1U) - { - return {}; - } - // Prepare for gathering palette conflicts. using map_type = std::remove_cvref_t; using mapped_type = typename map_type::mapped_type; @@ -2631,15 +2622,6 @@ const ff_8::MapHistory::nsat_map &map_sprite::working_animation_counts() const = ((256 * static_cast(max_texture_page_id)) + max_source_x) * m_render_framebuffer->scale(); - // If there’s only one bpp and at most one palette, nothing needs - // saving. - if ( - unique_bpp.size() == 1U - && unique_values.palette().at(unique_bpp.front()).values().size() <= 1U) - { - return {}; - } - // Prepare for gathering palette conflicts. const auto conflicting_palettes_map = get_conflicting_palettes(); auto conflicting_palettes_flatten From 893c10e690c510fdc801ed05a7a96d6a650d3e0e Mon Sep 17 00:00:00 2001 From: Sebanisu Date: Wed, 17 Dec 2025 22:12:28 -0500 Subject: [PATCH 3/3] version bump --- .github/workflows/main-1.0.0.yaml | 4 ++-- .github/workflows/ubuntu.yaml | 2 +- CMakeLists.txt | 2 +- changelog.md | 2 +- vcpkg.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main-1.0.0.yaml b/.github/workflows/main-1.0.0.yaml index 38b65ffc..1d535175 100644 --- a/.github/workflows/main-1.0.0.yaml +++ b/.github/workflows/main-1.0.0.yaml @@ -1,6 +1,6 @@ name: Field-Map-Editor -run-name: 1.0.4.${{ github.run_number }} +run-name: 1.0.5.${{ github.run_number }} on: workflow_dispatch: @@ -52,7 +52,7 @@ jobs: run: ".github/workflows/build.ps1" shell: pwsh env: - _BUILD_VERSION: "1.0.4.${{ github.run_number }}" + _BUILD_VERSION: "1.0.5.${{ github.run_number }}" GITHUB_PACKAGES_PAT: ${{ secrets.GITHUB_TOKEN }} - name: Upload vcpkg build logs if: failure() diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 25beae02..a660fc0f 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -2,7 +2,7 @@ # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml name: Field-Map-Editor-linux -run-name: 1.0.4.${{ github.run_number }} +run-name: 1.0.5.${{ github.run_number }} on: workflow_dispatch: diff --git a/CMakeLists.txt b/CMakeLists.txt index 5baa6d0b..56db4e8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ endif() project( Field-Map-Editor - VERSION 1.0.4 + VERSION 1.0.5 LANGUAGES C CXX) set(CMAKE_CXX_STANDARD "23") diff --git a/changelog.md b/changelog.md index 54227ffb..98621da9 100644 --- a/changelog.md +++ b/changelog.md @@ -2,7 +2,7 @@ All notable changes to the Field-Map-Editor project will be documented in this file, based on the available tags from the GitHub repository. Versions are sorted from the largest to the smallest number, with Canary representing the unreleased changes. -## [canary] - To be 1.0.4 +## [canary] - To be 1.0.5 [Release](https://github.com/Sebanisu/Field-Map-Editor/releases/tag/canary) diff --git a/vcpkg.json b/vcpkg.json index 6e5cac31..8a6e1d3f 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "field-map-editor", - "version": "1.0.4", + "version": "1.0.5", "builtin-baseline": "4334d8b4c8916018600212ab4dd4bbdc343065d1", "dependencies": [ "lz4",