DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
OPTION_MENU_STATE Struct Reference

Public Attributes

s32 mode
 
s32 buttons
 
u8 unk_08 [4]
 
s32 cursor
 
s32 step
 
s32 step_count
 
float cursor_x
 
float cursor_y
 
float page_x
 
s32 flag [12]
 
s32 prev_flag [12]
 
s16 texture_ready
 
s16 block_no
 

Detailed Description

Holds the state of the option screen.

Definition at line 39 of file memcard.cpp.

Member Data Documentation

◆ mode

s32 OPTION_MENU_STATE::mode

How the screen was opened.

See also
OptionOpenMode.

Definition at line 46 of file memcard.cpp.

◆ buttons

s32 OPTION_MENU_STATE::buttons

Part of the screen the cursor is on.

See also
OptionCursorArea.

Definition at line 47 of file memcard.cpp.

◆ unk_08

u8 OPTION_MENU_STATE::unk_08[4]

Definition at line 48 of file memcard.cpp.

◆ cursor

s32 OPTION_MENU_STATE::cursor

Cell that the cursor is on, as ten times the row plus the column.

Definition at line 49 of file memcard.cpp.

◆ step

s32 OPTION_MENU_STATE::step

Stage that the screen is at.

See also
OptionStep.

Definition at line 51 of file memcard.cpp.

◆ step_count

s32 OPTION_MENU_STATE::step_count

Frames the screen has spent at its stage.

Definition at line 52 of file memcard.cpp.

◆ cursor_x

float OPTION_MENU_STATE::cursor_x

Screen X of the cursor.

Definition at line 53 of file memcard.cpp.

◆ cursor_y

float OPTION_MENU_STATE::cursor_y

Screen Y of the cursor.

Definition at line 54 of file memcard.cpp.

◆ page_x

float OPTION_MENU_STATE::page_x

Screen X of the rows, eased toward the cursor's page.

Definition at line 55 of file memcard.cpp.

◆ flag

s32 OPTION_MENU_STATE::flag[12]

Setting of each option row.

Definition at line 63 of file memcard.cpp.

◆ prev_flag

s32 OPTION_MENU_STATE::prev_flag[12]

Setting of each option row when the screen opened.

Definition at line 64 of file memcard.cpp.

◆ texture_ready

s16 OPTION_MENU_STATE::texture_ready

Whether the screen's textures have been entered.

Definition at line 65 of file memcard.cpp.

◆ block_no

s16 OPTION_MENU_STATE::block_no

Texture block the screen's textures load into.

Definition at line 66 of file memcard.cpp.