2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Finish CInventoryScreen

This commit is contained in:
Jack Andersen
2017-05-09 09:44:05 -10:00
parent aee73fc11a
commit e3dc0762ec
5 changed files with 249 additions and 24 deletions

View File

@@ -20,6 +20,12 @@ class CInventoryScreen : public CPauseScreenBase
u32 x1a8_ = 0;
bool x1ac_ = false;
bool x1ad_textBodyVisible;
void UpdateSamusDollPulses();
bool HasLeftInventoryItem(int idx) const;
bool HasRightInventoryItem(int idx) const;
bool IsRightInventoryItemEquipped(int idx) const;
void UpdateTextBody();
public:
CInventoryScreen(const CStateManager& mgr, CGuiFrame& frame, const CStringTable& pauseStrg,
const CDependencyGroup& suitDgrp, const CDependencyGroup& ballDgrp);
@@ -33,17 +39,15 @@ public:
float GetCameraYBias() const;
bool VReady() const;
void VActivate() const;
void RightTableSelectionChanged(int selBegin, int selEnd);
void ChangedMode();
void UpdateRightTable();
bool ShouldLeftTableAdvance() const;
bool ShouldRightTableAdvance() const;
u32 GetRightTableCount() const;
bool IsRightLogDynamic() const;
void UpdateRightLogColors(bool active, const zeus::CColor& activeColor, const zeus::CColor& inactiveColor);
void UpdateRightLogHighlight(bool active, int idx, const zeus::CColor& activeColor, const zeus::CColor& inactiveColor);
void UpdateSamusDollPulses();
bool HasLeftInventoryItem(int idx) const;
bool HasRightInventoryItem(int idx) const;
void UpdateTextBody();
void SetRightTableScroll(int, int);
};
}