yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
snes_tile8 Struct Reference

8x8 SNES tile data More...

#include <yaze.h>

Public Attributes

uint32_t id
 
uint32_t palette_id
 
uint8_t data [64]
 

Detailed Description

8x8 SNES tile data

Represents an 8x8 pixel tile with indexed color data. Each pixel value is an index into a palette.

Definition at line 277 of file yaze.h.

Member Data Documentation

◆ id

uint32_t snes_tile8::id

Tile ID for reference

Definition at line 278 of file yaze.h.

◆ palette_id

uint32_t snes_tile8::palette_id

Associated palette ID

Definition at line 279 of file yaze.h.

◆ data

uint8_t snes_tile8::data[64]

64 pixels in row-major order (y*8+x)

Definition at line 280 of file yaze.h.

Referenced by yaze::gfx::PackBppTile(), yaze::test::TEST(), and yaze::gfx::UnpackBppTile().


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