From 6c76606839584cd58e5c580336a74d9114bb74ba Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 2 Oct 2026 10:28:27 -0400 Subject: [PATCH] Remove unused `RawTiles` class This has been left over ever since its introduction in 8c62e80c1 (#981). --- src/gfx/process.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/gfx/process.cpp b/src/gfx/process.cpp index 54154ac2..28e702a2 100644 --- a/src/gfx/process.cpp +++ b/src/gfx/process.cpp @@ -287,24 +287,6 @@ public: } }; -class RawTiles { - // A tile which only contains indices into the image's global palette - class RawTile { - std::array, 8> _pixelIndices{}; - - public: - // Not super clean, but it's closer to matrix notation - size_t &operator()(size_t x, size_t y) { return _pixelIndices[y][x]; } - }; - -private: - std::vector _tiles; - -public: - // Creates a new raw tile, and returns a reference to it so it can be filled in - RawTile &newTile() { return _tiles.emplace_back(); } -}; - struct AttrmapEntry { // This field can either be a color set ID, or `transparent` to indicate that the // corresponding tile is fully transparent. If you are looking to get the palette ID for this