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

State variables and option flags for the main immediate-mode GUI editor. More...

#include <gui_state.h>

Data Fields

char rom_path [GUI_TEXT_CAPACITY]
 
char search [GUI_SEARCH_CAPACITY]
 
char status [GUI_STATUS_CAPACITY]
 
int rom_ready
 
int rom_text_active
 
int search_active
 
int selected_dex_id
 
int list_scroll
 
GuiPreviewMode preview_mode
 
GuiPreview preview
 
int is_shiny
 
int gender
 
int form_index
 
int is_back
 
int form_dropdown_open
 
int form_dropdown_scroll
 
int asset_dropdown_open
 
int asset_dropdown_scroll
 
int selected_asset
 
int asset_count
 
AnimaPreviewAssetInfo assets [ANIMA_MAX_PREVIEW_ASSETS]
 
int has_female
 
int gif_delay_cs
 
int is_sequel
 

Detailed Description

State variables and option flags for the main immediate-mode GUI editor.

Field Documentation

◆ asset_count

int GuiState::asset_count

Amount of valid assets found for species.

◆ asset_dropdown_open

int GuiState::asset_dropdown_open

1 if asset selection modal is drawn.

◆ asset_dropdown_scroll

int GuiState::asset_dropdown_scroll

Vertical scroll inside asset dropdown list.

◆ assets

Discovered asset metadata array.

◆ form_dropdown_open

int GuiState::form_dropdown_open

1 if forms selection modal is drawn.

◆ form_dropdown_scroll

int GuiState::form_dropdown_scroll

Vertical scroll inside forms dropdown list.

◆ form_index

int GuiState::form_index

Active form offset.

◆ gender

int GuiState::gender

Gender state: 0 = Male, 1 = Female.

◆ gif_delay_cs

int GuiState::gif_delay_cs

Timing rate.

◆ has_female

int GuiState::has_female

1 if current species has female specific assets.

◆ is_back

int GuiState::is_back

Camera state: 0 = Front, 1 = Back.

◆ is_sequel

int GuiState::is_sequel

1 if ROM detected as Black 2 or White 2.

◆ is_shiny

int GuiState::is_shiny

Palette state: 0 = Normal, 1 = Shiny.

◆ list_scroll

int GuiState::list_scroll

Scroll offset inside species index sidebar.

◆ preview

GuiPreview GuiState::preview

Cached preview buffer.

◆ preview_mode

GuiPreviewMode GuiState::preview_mode

Active display method.

◆ rom_path

char GuiState::rom_path[GUI_TEXT_CAPACITY]

Target NDS ROM file path string.

◆ rom_ready

int GuiState::rom_ready

1 if ROM was verified and filesystem parsed.

◆ rom_text_active

int GuiState::rom_text_active

1 if text entry cursor is inside the ROM path box.

◆ search

char GuiState::search[GUI_SEARCH_CAPACITY]

Filtering query string for Pokemon list.

◆ search_active

int GuiState::search_active

1 if search text box holds keyboard focus.

◆ selected_asset

int GuiState::selected_asset

User selected index in discovered assets list.

◆ selected_dex_id

int GuiState::selected_dex_id

Active species index selection (1 to 649).

◆ status

char GuiState::status[GUI_STATUS_CAPACITY]

Console status text displayed in GUI statusbar.


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