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

Represents a single Object Attribute Memory (OAM) hardware sub-sprite element. More...

#include <ncer.h>

Data Fields

int x
 
int y
 
int width
 
int height
 
int shape
 
int size
 
int tile_index
 
int palette
 
int priority
 
int flip_h
 
int flip_v
 
int affine
 
int double_size
 
int obj_mode
 
int affine_index
 
u16 attr0
 
u16 attr1
 
u16 attr2
 

Detailed Description

Represents a single Object Attribute Memory (OAM) hardware sub-sprite element.

Field Documentation

◆ affine

int NcerOam::affine

1 if affine rotation/scaling is enabled, 0 otherwise.

◆ affine_index

int NcerOam::affine_index

Offset index to the affine matrix table (0 to 31).

◆ attr0

u16 NcerOam::attr0

Raw OAM Attribute 0 word read from file.

◆ attr1

u16 NcerOam::attr1

Raw OAM Attribute 1 word read from file.

◆ attr2

u16 NcerOam::attr2

Raw OAM Attribute 2 word read from file.

◆ double_size

int NcerOam::double_size

1 if double rendering bounding box bounds are active, 0 otherwise.

◆ flip_h

int NcerOam::flip_h

1 if flipped horizontally, 0 otherwise.

◆ flip_v

int NcerOam::flip_v

1 if flipped vertically, 0 otherwise.

◆ height

int NcerOam::height

Resolved sub-sprite height in pixels.

◆ obj_mode

int NcerOam::obj_mode

Rendering object style (normal, transparent, window).

◆ palette

int NcerOam::palette

Palette page index selection (0 to 15).

◆ priority

int NcerOam::priority

Rendering layers priorities indicator (0 = Top).

◆ shape

int NcerOam::shape

Hardware shape format (0 = Square, 1 = Wide, 2 = Tall).

◆ size

int NcerOam::size

Shape dimensions indicator (0 to 3).

◆ tile_index

int NcerOam::tile_index

Index address offset within NCGR tile character graphics.

◆ width

int NcerOam::width

Resolved sub-sprite width in pixels.

◆ x

int NcerOam::x

Horizontal offset relative to cell origin.

◆ y

int NcerOam::y

Vertical offset relative to cell origin.


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