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

Public Attributes

s8 selected
 
s8 cursor_row
 
s8 party_size
 
s8 step
 
float turn_frame
 
float ring_pos [6][2]
 
s16 ring_slot [6]
 
float turn_direction
 
s16 reset_on_open
 
u8 unk_4a [2]
 
s32 unk_4c
 
u8 unk_50 [2]
 
s8 change_blocked
 
u8 unk_53
 
float cursor_x
 
float cursor_y
 
s16 mode
 
u8 unk_5e [2]
 

Detailed Description

State of the character change menu and its character positions.

Definition at line 63 of file menu_dungeon.cpp.

Member Data Documentation

◆ selected

s8 CHARA_CHANGE_MENU::selected

Party member the ring has turned to.

Definition at line 64 of file menu_dungeon.cpp.

◆ cursor_row

s8 CHARA_CHANGE_MENU::cursor_row

Row the cursor is on in the message window.

Definition at line 65 of file menu_dungeon.cpp.

◆ party_size

s8 CHARA_CHANGE_MENU::party_size

Number of party members on the ring.

Definition at line 66 of file menu_dungeon.cpp.

◆ step

s8 CHARA_CHANGE_MENU::step

Step of the menu's state machine.

See also
CharaChangeStep.

Definition at line 67 of file menu_dungeon.cpp.

◆ turn_frame

float CHARA_CHANGE_MENU::turn_frame

Frames the ring has spent turning toward the newly selected member.

Definition at line 68 of file menu_dungeon.cpp.

◆ ring_pos

float CHARA_CHANGE_MENU::ring_pos[6][2]

Each member's offset from the ring's centre.

Definition at line 69 of file menu_dungeon.cpp.

◆ ring_slot

s16 CHARA_CHANGE_MENU::ring_slot[6]

Each member's place on the ring, counted from the front.

Definition at line 70 of file menu_dungeon.cpp.

◆ turn_direction

float CHARA_CHANGE_MENU::turn_direction

Direction the ring turns: 1 after selecting the previous member, -1 after the next.

Definition at line 71 of file menu_dungeon.cpp.

◆ reset_on_open

s16 CHARA_CHANGE_MENU::reset_on_open

Cleared when the menu opens; nothing reads it.

Definition at line 72 of file menu_dungeon.cpp.

◆ unk_4a

u8 CHARA_CHANGE_MENU::unk_4a[2]

Definition at line 73 of file menu_dungeon.cpp.

◆ unk_4c

s32 CHARA_CHANGE_MENU::unk_4c

Frames spent in the closing and fade steps.

Definition at line 74 of file menu_dungeon.cpp.

◆ unk_50

u8 CHARA_CHANGE_MENU::unk_50[2]

Definition at line 75 of file menu_dungeon.cpp.

◆ change_blocked

s8 CHARA_CHANGE_MENU::change_blocked

Why the leader cannot change: 0 free, 1 in a restricted zone, 2 Osmond in a state that forbids it.

Definition at line 76 of file menu_dungeon.cpp.

◆ unk_53

u8 CHARA_CHANGE_MENU::unk_53

Definition at line 77 of file menu_dungeon.cpp.

◆ cursor_x

float CHARA_CHANGE_MENU::cursor_x

Screen x of the cursor.

Definition at line 78 of file menu_dungeon.cpp.

◆ cursor_y

float CHARA_CHANGE_MENU::cursor_y

Screen y of the cursor.

Definition at line 79 of file menu_dungeon.cpp.

◆ mode

s16 CHARA_CHANGE_MENU::mode

Mode the menu was opened with; 1 uses up an item when the leader changes.

Definition at line 80 of file menu_dungeon.cpp.

◆ unk_5e

u8 CHARA_CHANGE_MENU::unk_5e[2]

Definition at line 81 of file menu_dungeon.cpp.