Jazz2::Formats::TileRecord struct

A tile of a layer, or a frame of an animated tile.

Public static variables

static std::uint8_t FlipX constexpr
The tile is flipped horizontally.
static std::uint8_t FlipY constexpr
The tile is flipped vertically.
static std::uint8_t ModifierMask constexpr
Mask of the modifier stored in the high nibble of Flags.
static std::uint8_t ModifierTranslucent constexpr
Modifier of a translucent tile.
static std::uint8_t ModifierInvisible constexpr
Modifier of an invisible tile.
static std::uint8_t ModifierHeat constexpr
Modifier of a tile whose rows of pixels are drawn wavily, as if seen through heat (the heat effect tile type of JJ2+).
static std::uint8_t KnownFlipFlags constexpr
The flip flags defined, the record has a fixed size, so the other bits are only ignored.

Public variables

std::uint8_t Flags
Flip flags in the low nibble, a modifier in the high nibble.
std::uint16_t TileId
Tile ID, an animated tile if at least the first animated tile ID.

Variable documentation

static std::uint8_t Jazz2::Formats::TileRecord::ModifierHeat constexpr

Modifier of a tile whose rows of pixels are drawn wavily, as if seen through heat (the heat effect tile type of JJ2+).

See Tiles::LayerTileFlags::Heat. Readers before 4.0.0 draw such a tile as an ordinary one.