Remove unused RawTiles class

This has been left over ever since its introduction in 8c62e80c1 (#981).
This commit is contained in:
Rangi committed 2026-10-02 10:28:27 -04:00
1 parent 3b105d053b
commit 6c76606839
1 file changed
-18
-18
View File
@@ -287,24 +287,6 @@ public:
}
};
class RawTiles {
// A tile which only contains indices into the image's global palette
class RawTile {
std::array<std::array<size_t, 8>, 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<RawTile> _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