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 50 of file snes_tile.h.
|
default |
|
inline |
Definition at line 58 of file snes_tile.h.
|
inline |
Definition at line 65 of file snes_tile.h.
References horizontal_mirror_, id_, over_, palette_, and vertical_mirror_.
uint16_t yaze::app::gfx::TileInfo::id_ |
Definition at line 52 of file snes_tile.h.
Referenced by yaze::app::zelda3::overworld::OverworldMap::BuildTiles16Gfx(), yaze::app::zelda3::dungeon::RoomObject::DrawTile(), yaze::app::gui::InputTileInfo(), operator==(), yaze::app::gfx::TileInfoToShort(), and yaze::app::gfx::TileInfoToWord().
uint8_t yaze::app::gfx::TileInfo::palette_ |
Definition at line 53 of file snes_tile.h.
Referenced by yaze::app::zelda3::overworld::OverworldMap::BuildTiles16Gfx(), yaze::app::zelda3::dungeon::RoomObject::DrawTile(), yaze::app::gui::InputTileInfo(), operator==(), yaze::app::gfx::TileInfoToShort(), and yaze::app::gfx::TileInfoToWord().
bool yaze::app::gfx::TileInfo::over_ |
Definition at line 54 of file snes_tile.h.
Referenced by yaze::app::gui::InputTileInfo(), operator==(), yaze::app::gfx::TileInfoToShort(), and yaze::app::gfx::TileInfoToWord().
bool yaze::app::gfx::TileInfo::vertical_mirror_ |
Definition at line 55 of file snes_tile.h.
Referenced by yaze::app::zelda3::overworld::OverworldMap::BuildTiles16Gfx(), yaze::app::zelda3::dungeon::RoomObject::DrawTile(), yaze::app::gui::InputTileInfo(), operator==(), yaze::app::gfx::TileInfoToShort(), and yaze::app::gfx::TileInfoToWord().
bool yaze::app::gfx::TileInfo::horizontal_mirror_ |
Definition at line 56 of file snes_tile.h.
Referenced by yaze::app::zelda3::overworld::OverworldMap::BuildTiles16Gfx(), yaze::app::zelda3::dungeon::RoomObject::DrawTile(), yaze::app::gui::InputTileInfo(), operator==(), yaze::app::gfx::TileInfoToShort(), and yaze::app::gfx::TileInfoToWord().