|
DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
|
#include <menuitemstep.hpp>
Public Member Functions | |
| void | Initialize () |
| void | LoopStep (int interval) |
| void | CheckItemVolume () |
Public Attributes | |
| s32 | frame |
| s32 | last_slot |
| s16 | last_item |
| s16 | dungeon_item_held |
| s16 | enabled |
| s16 | chara_no |
| s16 | held_item [4] |
| s16 | chara_slot [4] |
| s16 | chara_item [4] |
| s32 | pending_volume |
Accumulates elapsed play time and applies it to time-sensitive inventory items.
Definition at line 8 of file menuitemstep.hpp.
| void CMenuItemStep::Initialize | ( | ) |
Resets item-volume timing and per-character state.
Definition at line 11 of file menuitemstep.cpp.
Accumulates one frame toward the next inventory-volume step.
Definition at line 28 of file menuitemstep.cpp.
| void CMenuItemStep::CheckItemVolume | ( | ) |
Applies pending volume loss to time-sensitive inventory items.
Definition at line 44 of file menuitemstep.cpp.
| s32 CMenuItemStep::frame |
Frames accumulated toward the next inventory-volume step.
Definition at line 10 of file menuitemstep.hpp.
| s32 CMenuItemStep::last_slot |
Inventory slot last stepped; reset to -1.
Definition at line 11 of file menuitemstep.hpp.
| s16 CMenuItemStep::last_item |
Item last stepped; reset to -1.
Definition at line 12 of file menuitemstep.hpp.
| s16 CMenuItemStep::dungeon_item_held |
Set once the checked character holds a dungeon item.
Definition at line 13 of file menuitemstep.hpp.
| s16 CMenuItemStep::enabled |
Enables periodic inventory-volume accumulation.
Definition at line 14 of file menuitemstep.hpp.
| s16 CMenuItemStep::chara_no |
Character whose held item CheckItemVolume inspects.
Definition at line 15 of file menuitemstep.hpp.
| s16 CMenuItemStep::held_item[4] |
Item each character holds, checked for dungeon items.
Definition at line 16 of file menuitemstep.hpp.
| s16 CMenuItemStep::chara_slot[4] |
Slot recorded for each character; reset to -1.
Definition at line 17 of file menuitemstep.hpp.
| s16 CMenuItemStep::chara_item[4] |
Item recorded for each character; reset to -1.
Definition at line 18 of file menuitemstep.hpp.
| s32 CMenuItemStep::pending_volume |
Inventory-volume steps waiting to be applied.
Definition at line 19 of file menuitemstep.hpp.