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

Tile composition of four 16x16 tiles. More...

#include <snes_tile.h>

Public Member Functions

 Tile32 ()
 
 Tile32 (uint16_t t0, uint16_t t1, uint16_t t2, uint16_t t3)
 
 Tile32 (const Tile32 &other)
 
 Tile32 (uint64_t packedVal)
 
uint64_t GetPackedValue () const
 
bool operator== (const Tile32 &other) const
 
bool operator!= (const Tile32 &other) const
 

Public Attributes

uint16_t tile0_
 
uint16_t tile1_
 
uint16_t tile2_
 
uint16_t tile3_
 

Detailed Description

Tile composition of four 16x16 tiles.

Definition at line 81 of file snes_tile.h.

Constructor & Destructor Documentation

◆ Tile32() [1/4]

yaze::app::gfx::Tile32::Tile32 ( )
inline

Definition at line 89 of file snes_tile.h.

◆ Tile32() [2/4]

yaze::app::gfx::Tile32::Tile32 ( uint16_t t0,
uint16_t t1,
uint16_t t2,
uint16_t t3 )
inline

Definition at line 92 of file snes_tile.h.

◆ Tile32() [3/4]

yaze::app::gfx::Tile32::Tile32 ( const Tile32 & other)
inline

Definition at line 96 of file snes_tile.h.

◆ Tile32() [4/4]

yaze::app::gfx::Tile32::Tile32 ( uint64_t packedVal)
inline

Definition at line 103 of file snes_tile.h.

References tile0_, tile1_, tile2_, and tile3_.

Member Function Documentation

◆ GetPackedValue()

uint64_t yaze::app::gfx::Tile32::GetPackedValue ( ) const
inline

◆ operator==()

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

Definition at line 118 of file snes_tile.h.

References tile0_, tile1_, tile2_, and tile3_.

◆ operator!=()

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

Definition at line 124 of file snes_tile.h.

Member Data Documentation

◆ tile0_

uint16_t yaze::app::gfx::Tile32::tile0_

Definition at line 83 of file snes_tile.h.

Referenced by GetPackedValue(), operator==(), and Tile32().

◆ tile1_

uint16_t yaze::app::gfx::Tile32::tile1_

Definition at line 84 of file snes_tile.h.

Referenced by GetPackedValue(), operator==(), and Tile32().

◆ tile2_

uint16_t yaze::app::gfx::Tile32::tile2_

Definition at line 85 of file snes_tile.h.

Referenced by GetPackedValue(), operator==(), and Tile32().

◆ tile3_

uint16_t yaze::app::gfx::Tile32::tile3_

Definition at line 86 of file snes_tile.h.

Referenced by GetPackedValue(), operator==(), and Tile32().


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