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

#include <menuiconautoget.hpp>

Public Member Functions

int IsMoveIcon ()
 
int IsSameItem (int item)
 
int GetMoveIconGole (int slot, int item)
 
int GetSpace ()
 
int IconAutoMove ()
 
void IconMoveTarSet (int index, int slot, int item, int count, float x, float y)
 
void IconAutoMoveDraw ()
 

Public Attributes

MENU_AUTO_GET_ICON icon [3]
 

Detailed Description

Flies the icons of newly collected items into the inventory.

Definition at line 23 of file menuiconautoget.hpp.

Member Function Documentation

◆ IsMoveIcon()

int CMenuIconAutoGet::IsMoveIcon ( )

Reports whether an icon is still flying to its slot.

Mangled name:
IsMoveIcon__16CMenuIconAutoGetFv
Address:
0x2380B0
Size:
0x40

Definition at line 10 of file menuiconautoget.cpp.

◆ IsSameItem()

int CMenuIconAutoGet::IsSameItem ( int  item)

Counts the icons already flying with one item.

Mangled name:
IsSameItem__16CMenuIconAutoGetFi
Address:
0x2380F0
Size:
0x40

Definition at line 22 of file menuiconautoget.cpp.

◆ GetMoveIconGole()

int CMenuIconAutoGet::GetMoveIconGole ( int  slot,
int  item 
)

Counts the icons flying to one slot with one item.

Mangled name:
GetMoveIconGole__16CMenuIconAutoGetFii
Address:
0x238130
Size:
0x4C

Definition at line 34 of file menuiconautoget.cpp.

◆ GetSpace()

int CMenuIconAutoGet::GetSpace ( )

Gives a free slot among the three flying icons, or -1.

Mangled name:
GetSpace__16CMenuIconAutoGetFv
Address:
0x238180
Size:
0x48

Definition at line 46 of file menuiconautoget.cpp.

◆ IconAutoMove()

int CMenuIconAutoGet::IconAutoMove ( )

Advances the flying icons, puts what lands into the inventory, and reports activity.

Mangled name:
IconAutoMove__16CMenuIconAutoGetFv
Address:
0x2381D0
Size:
0x18C

Definition at line 56 of file menuiconautoget.cpp.

◆ IconMoveTarSet()

void CMenuIconAutoGet::IconMoveTarSet ( int  index,
int  slot,
int  item,
int  count,
float  x,
float  y 
)

Starts one icon flying from a position to a slot.

Mangled name:
IconMoveTarSet__16CMenuIconAutoGetFiiiiff
Address:
0x238360
Size:
0x24

Definition at line 88 of file menuiconautoget.cpp.

◆ IconAutoMoveDraw()

void CMenuIconAutoGet::IconAutoMoveDraw ( )

Draws the icons part-way through their flight.

Mangled name:
IconAutoMoveDraw__16CMenuIconAutoGetFv
Address:
0x238390
Size:
0xBC

Definition at line 96 of file menuiconautoget.cpp.

Member Data Documentation

◆ icon

MENU_AUTO_GET_ICON CMenuIconAutoGet::icon[3]

Icons that can be in flight at once.

Definition at line 25 of file menuiconautoget.hpp.