SNES 16-bit tile metadata container. More...
#include <snes_tile.h>
Public Member Functions | |
TileInfo ()=default | |
TileInfo (uint16_t id, uint8_t palette, bool v, bool h, bool o) | |
bool | operator== (const TileInfo &other) const |
Public Attributes | |
uint16_t | id_ |
uint8_t | palette_ |
bool | over_ |
bool | vertical_mirror_ |
bool | horizontal_mirror_ |
SNES 16-bit tile metadata container.
Format: vhopppcc cccccccc [0, 1] [2, 3]
Definition at line 49 of file snes_tile.h.
|
default |
Referenced by operator==().
|
inline |
Definition at line 57 of file snes_tile.h.
References horizontal_mirror_, id_, over_, palette_, and vertical_mirror_.
|
inline |
Definition at line 64 of file snes_tile.h.
References horizontal_mirror_, id_, over_, palette_, TileInfo(), and vertical_mirror_.
uint16_t yaze::gfx::TileInfo::id_ |
Definition at line 51 of file snes_tile.h.
Referenced by yaze::zelda3::OverworldMap::BuildTiles16Gfx(), yaze::zelda3::RoomObject::DrawTile(), yaze::gui::InputTileInfo(), operator==(), TileInfo(), yaze::gfx::TileInfoToShort(), and yaze::gfx::TileInfoToWord().
uint8_t yaze::gfx::TileInfo::palette_ |
Definition at line 52 of file snes_tile.h.
Referenced by yaze::zelda3::OverworldMap::BuildTiles16Gfx(), yaze::zelda3::RoomObject::DrawTile(), yaze::gui::InputTileInfo(), operator==(), TileInfo(), yaze::gfx::TileInfoToShort(), and yaze::gfx::TileInfoToWord().
bool yaze::gfx::TileInfo::over_ |
Definition at line 53 of file snes_tile.h.
Referenced by yaze::gui::InputTileInfo(), operator==(), TileInfo(), yaze::gfx::TileInfoToShort(), and yaze::gfx::TileInfoToWord().
bool yaze::gfx::TileInfo::vertical_mirror_ |
Definition at line 54 of file snes_tile.h.
Referenced by yaze::zelda3::OverworldMap::BuildTiles16Gfx(), yaze::zelda3::RoomObject::DrawTile(), yaze::gui::InputTileInfo(), operator==(), TileInfo(), yaze::gfx::TileInfoToShort(), and yaze::gfx::TileInfoToWord().
bool yaze::gfx::TileInfo::horizontal_mirror_ |
Definition at line 55 of file snes_tile.h.
Referenced by yaze::zelda3::OverworldMap::BuildTiles16Gfx(), yaze::zelda3::RoomObject::DrawTile(), yaze::gui::InputTileInfo(), operator==(), TileInfo(), yaze::gfx::TileInfoToShort(), and yaze::gfx::TileInfoToWord().