[nostalgia/core] Add id to TileSheetV3::SubSheet model
This commit is contained in:
parent
2bdc3def74
commit
79bdbf2eaa
@ -101,13 +101,13 @@ struct TileSheet {
|
|||||||
* Reads all pixels of this sheet or its children into the given pixel list
|
* Reads all pixels of this sheet or its children into the given pixel list
|
||||||
* @param pixels
|
* @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
|
* Reads all pixels of this sheet or its children into the given pixel list
|
||||||
* @param pixels
|
* @param pixels
|
||||||
*/
|
*/
|
||||||
void readPixelsTo(ox::Vector<uint8_t> *pPixels) const noexcept;
|
void readPixelsTo(ox::Vector<uint8_t> &pPixels) const noexcept;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
constexpr std::size_t size() const noexcept {
|
constexpr std::size_t size() const noexcept {
|
||||||
@ -308,6 +308,7 @@ oxModelBegin(TileSheetV2)
|
|||||||
oxModelEnd()
|
oxModelEnd()
|
||||||
|
|
||||||
oxModelBegin(TileSheetV3::SubSheet)
|
oxModelBegin(TileSheetV3::SubSheet)
|
||||||
|
oxModelField(id);
|
||||||
oxModelField(name);
|
oxModelField(name);
|
||||||
oxModelField(rows);
|
oxModelField(rows);
|
||||||
oxModelField(columns);
|
oxModelField(columns);
|
||||||
|
Loading…
Reference in New Issue
Block a user