AnimaEngine  1.0.0
Nintendo DS Pokemon Black, White, Black 2, and White 2 sprite extraction and preview toolchain
Data Fields
NcgrImage Struct Reference

Container representing parsed NCGR image tile graphics. More...

#include <ncgr.h>

Data Fields

const u8tile_data
 
size_t tile_data_size
 
int bpp
 
int tile_count
 
int width_tiles
 
int height_tiles
 
u8allocated_data
 

Detailed Description

Container representing parsed NCGR image tile graphics.

Field Documentation

◆ allocated_data

u8* NcgrImage::allocated_data

Pointer to locally allocated duplicate buffer (or NULL).

◆ bpp

int NcgrImage::bpp

Bits per pixel (e.g. 4 for 16-color, 8 for 256-color).

◆ height_tiles

int NcgrImage::height_tiles

Image layout height in 8-pixel tiles (often -1 for character lists).

◆ tile_count

int NcgrImage::tile_count

Total number of 8x8 character tiles.

◆ tile_data

const u8* NcgrImage::tile_data

Pointer to raw indexed pixel character data.

◆ tile_data_size

size_t NcgrImage::tile_data_size

Size of pixel data in bytes.

◆ width_tiles

int NcgrImage::width_tiles

Image layout width in 8-pixel tiles (often -1 for character lists).


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