Jazz2::Formats::ExtraTileSetRecord struct

Extra tile set used by a level.

The tiles of the extra tile sets continue the tile IDs of the default tile set, in the order the tile sets are listed. An Embedded one is followed by a varuint size and the bytes of its tile set file.

Public static variables

static std::uint8_t Remapped constexpr
The 8-bit tiles are remapped to the level palette, by Remapping or AlternatePalette.
static std::uint8_t TrueColor constexpr
The tile set has true color tiles.
static std::uint8_t Embedded constexpr
The tile set is stored in the level itself, in Data, its tiles aren't in any tile set file.
static std::uint8_t KnownFlags constexpr
All the flags defined, any other one makes the level unreadable (see LevelFile).

Public variables

std::uint8_t Flags
Combination of Remapped, TrueColor and Embedded.
String Name
Tile set path relative to Tilesets/ without the extension, only a name of it if it's Embedded.
std::uint16_t Offset
First tile taken from the tile set.
std::uint16_t Count
Number of tiles taken from the tile set.
std::uint8_t Remapping
Palette index remapping, only stored if the tile set is Remapped and not TrueColor.
std::uint8_t AlternatePalette
Index of an additional palette, only stored if the tile set is both Remapped and TrueColor.
SmallVector<std::uint8_t, 0> Data
The whole tile set as its file stores it (see TileSetFile), only if it's Embedded.