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

Texture and temporal data cache for animating species previews. More...

#include <gui_state.h>

Data Fields

GrTexture texture
 
unsigned char * frames
 
int loaded
 
int width
 
int height
 
int content_x
 
int content_y
 
int content_width
 
int content_height
 
int frame_count
 
int current_frame
 
float frame_timer
 
float seconds_per_frame
 

Detailed Description

Texture and temporal data cache for animating species previews.

Field Documentation

◆ content_height

int GuiPreview::content_height

Bounded content height.

◆ content_width

int GuiPreview::content_width

Bounded content width.

◆ content_x

int GuiPreview::content_x

Crop box offset coordinate (horizontal).

◆ content_y

int GuiPreview::content_y

Crop box offset coordinate (vertical).

◆ current_frame

int GuiPreview::current_frame

Currently active frame index.

◆ frame_count

int GuiPreview::frame_count

Total frames cache capacity.

◆ frame_timer

float GuiPreview::frame_timer

Elapsed timer tracking time before next frame swap.

◆ frames

unsigned char* GuiPreview::frames

Raw unpacked CPU RGBA8888 color pixel data.

◆ height

int GuiPreview::height

Height of single animation cell.

◆ loaded

int GuiPreview::loaded

1 if preview cache is valid and active; 0 otherwise.

◆ seconds_per_frame

float GuiPreview::seconds_per_frame

Target temporal rate between frame advances.

◆ texture

GrTexture GuiPreview::texture

Hardware-backed display texture containing active frame sheet.

◆ width

int GuiPreview::width

Width of single animation cell.


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