yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gfx::TileInfo Class Reference

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_
 

Detailed Description

SNES 16-bit tile metadata container.

Format: vhopppcc cccccccc [0, 1] [2, 3]

Definition at line 52 of file snes_tile.h.

Constructor & Destructor Documentation

◆ TileInfo() [1/2]

yaze::app::gfx::TileInfo::TileInfo ( )
default

◆ TileInfo() [2/2]

yaze::app::gfx::TileInfo::TileInfo ( uint16_t id,
uint8_t palette,
bool v,
bool h,
bool o )
inline

Definition at line 60 of file snes_tile.h.

Member Function Documentation

◆ operator==()

bool yaze::app::gfx::TileInfo::operator== ( const TileInfo & other) const
inline

Definition at line 67 of file snes_tile.h.

References horizontal_mirror_, id_, over_, palette_, and vertical_mirror_.

Member Data Documentation

◆ id_

◆ palette_

◆ over_

bool yaze::app::gfx::TileInfo::over_

◆ vertical_mirror_

◆ horizontal_mirror_


The documentation for this class was generated from the following file: