[nostalgia/core] Add id to TileSheetV3::SubSheet model

This commit is contained in:
Gary Talent 2023-12-26 16:31:54 -06:00
parent 2bdc3def74
commit 79bdbf2eaa

View File

@ -101,13 +101,13 @@ struct TileSheet {
* Reads all pixels of this sheet or its children into the given pixel list
* @param pixels
*/
void readPixelsTo(ox::Vector<uint8_t> *pPixels, int8_t pBpp) const noexcept;
void readPixelsTo(ox::Vector<uint8_t> &pPixels, int8_t pBpp) const noexcept;
/**
* Reads all pixels of this sheet or its children into the given pixel list
* @param pixels
*/
void readPixelsTo(ox::Vector<uint8_t> *pPixels) const noexcept;
void readPixelsTo(ox::Vector<uint8_t> &pPixels) const noexcept;
[[nodiscard]]
constexpr std::size_t size() const noexcept {
@ -308,6 +308,7 @@ oxModelBegin(TileSheetV2)
oxModelEnd()
oxModelBegin(TileSheetV3::SubSheet)
oxModelField(id);
oxModelField(name);
oxModelField(rows);
oxModelField(columns);